35 Real max_stoichiometric_ionic_strength,
36 bool use_only_basis_molality,
37 bool use_only_Cl_molality);
56 const std::vector<Real> & basis_species_molality,
57 const std::vector<Real> & eqm_species_molality,
58 const std::vector<Real> & kin_species_molality)
const;
69 const std::vector<Real> & basis_species_molality,
70 const std::vector<Real> & eqm_species_molality,
71 const std::vector<Real> & kin_species_molality)
const;
Real getMaxStoichiometricIonicStrength() const
Return the value of maximum stoichiometric ionic strength.
GeochemistryIonicStrength(Real max_ionic_strength, Real max_stoichiometric_ionic_strength, bool use_only_basis_molality, bool use_only_Cl_molality)
Real getUseOnlyBasisMolality() const
Return the value of use_only_basis_molality.
Real getUseOnlyClMolality() const
Return the value of use_only_Cl_molality.
Real _max_ionic_strength
maximum ionic strength
const ModelGeochemicalDatabase mgd
void setMaxIonicStrength(Real max_ionic_strength)
Set the maximum ionic strength.
Real ionicStrength(const ModelGeochemicalDatabase &mgd, const std::vector< Real > &basis_species_molality, const std::vector< Real > &eqm_species_molality, const std::vector< Real > &kin_species_molality) const
Compute ionic strength.
void setUseOnlyBasisMolality(bool use_only_basis_molality)
Set the value of use_only_basis_molality.
Calculators to compute ionic strength and stoichiometric ionic strength.
void setUseOnlyClMolality(bool use_only_Cl_molality)
Set the value of use_only_Cl_molality.
Real getMaxIonicStrength() const
Return the value of maximum ionic strength.
Real _max_stoichiometric_ionic_strength
maximum stoichiometric ionic strength
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void setMaxStoichiometricIonicStrength(Real max_stoichiometric_ionic_strength)
Set the maximum stoichiometric ionic strength.
Real stoichiometricIonicStrength(const ModelGeochemicalDatabase &mgd, const std::vector< Real > &basis_species_molality, const std::vector< Real > &eqm_species_molality, const std::vector< Real > &kin_species_molality) const
Compute stoichiometric ionic strength.
bool _use_only_basis_molality
use only basis molality in the ionic strength calculations
Data structure to hold all relevant information from the database file.
bool operator==(const GeochemistryIonicStrength &rhs) const
bool _use_only_Cl_molality
set the stoichiometric ionic strength to the Cl- molality