Page MenuHomec4science

adimensional_system_structs.hpp
No OneTemporary

File Metadata

Created
Mon, Jul 8, 22:02

adimensional_system_structs.hpp

#ifndef SPECMICP_SPECMICP_ADIMENSIONALSYSTEMSTRUCTS_HPP
#define SPECMICP_SPECMICP_ADIMENSIONALSYSTEMSTRUCTS_HPP
#include "common.hpp"
namespace specmicp {
struct AdimensionalSystemOptions
{
bool conservation_water; //!< Solve the conservation of water
index_t charge_keeper; //!< Index of species used for charge balance
bool non_ideality; //!< Solve for non ideality
scalar_t non_ideality_tolerance; //!< Tolerance for non ideality
index_t non_ideality_max_iter; //!< Max iterations fornon ideality
scalar_t under_relaxation_factor; //!< Under relaxation factor for the conservation of water
AdimensionalSystemOptions():
conservation_water(true),
charge_keeper(no_species),
non_ideality(true),
non_ideality_tolerance(1e-8),
non_ideality_max_iter(10),
under_relaxation_factor(0.9)
{}
};
} // end namespace specmicp
#endif // SPECMICP_SPECMICP_ADIMENSIONALSYSTEMSTRUCTS_HPP

Event Timeline