Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F64774681
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
Wed, May 29, 08:56
Size
1 KB
Mime Type
text/x-c
Expires
Fri, May 31, 08:56 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17956374
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 "physics/units.hpp"
namespace
specmicp
{
//! \brief Options for the Equilibrium solver
//!
//! Most of the options are contained in the MiCP solver options
struct
AdimensionalSystemSolverOptions
{
micpsolver
::
MiCPSolverOptions
solver_options
;
//!< Options of the MiCP solver
bool
conservation_water
;
//!< Solve the conservation of liquid water
index_t
charge_keeper
;
//!< Species that explicitely conserve the charge
bool
allow_restart
;
//!< Allow the restarting if the problem failed the first part
units
::
UnitsSet
units_set
;
//!< Set of units
AdimensionalSystemSolverOptions
()
:
solver_options
(),
conservation_water
(
true
),
charge_keeper
(
no_species
),
allow_restart
(
true
)
{
}
};
}
// end namespace specmicp
#endif
//SPECMICP_SPECMICP_ADIMENSIONALSYSTEMSOLVERSTRUCTS_HPP
Event Timeline
Log In to Comment