Page MenuHomec4science

adimensional_system_solver_structs.hpp
No OneTemporary

File Metadata

Created
Sat, Jun 22, 01: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 "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