Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F67374302
adimensional_system_solver_structs.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jun 22, 01:56
Size
1 KB
Mime Type
text/x-c
Expires
Mon, Jun 24, 01:56 (2 d)
Engine
blob
Format
Raw Data
Handle
18386551
Attached To
rSPECMICP SpecMiCP / ReactMiCP
adimensional_system_solver_structs.hpp
View Options
#ifndef SPECMICP_SPECMICP_ADIMENSIONALSYSTEMSOLVERSTRUCTS_HPP
#define SPECMICP_SPECMICP_ADIMENSIONALSYSTEMSOLVERSTRUCTS_HPP
#include "common.hpp"
#include "micpsolver/micpsolver_structs.hpp"
#include "adimensional_system_structs.hpp"
#include "physics/units.hpp"
//! \file adimensional_system_solver_structs.hpp Options and conditions for AdimensionalSystemSolver
namespace specmicp {
//! \struct AdimensionalSystemSolverOptions
//! \brief Options for the Equilibrium solver
//!
//! Most of the options are contained in the MiCP solver options or the AdimensionalSystem options
struct AdimensionalSystemSolverOptions
{
micpsolver::MiCPSolverOptions solver_options; //!< Options of the MiCP solver
AdimensionalSystemOptions system_options; //!< Options of the system
bool allow_restart; //!< Allow the restarting if the problem failed the first part
units::UnitsSet units_set; //!< Set of units
bool use_pcfm; //!< If true use the pcfm method to initialize the problem
bool force_pcfm; //!< Use pcfm before every trial
AdimensionalSystemSolverOptions():
solver_options(), // default options of the solver
system_options(), // default options of the system
allow_restart(true),
use_pcfm(false),
force_pcfm(false)
{
// disable the descent condition check
solver_options.disable_descent_direction();
}
};
} // end namespace specmicp
#endif //SPECMICP_SPECMICP_ADIMENSIONALSYSTEMSOLVERSTRUCTS_HPP
Event Timeline
Log In to Comment