Page MenuHomec4science

adimensional_system_solver_structs.hpp
No OneTemporary

File Metadata

Created
Wed, May 29, 08:56

adimensional_system_solver_structs.hpp

#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