https://mooseframework.inl.gov
Public Member Functions | Private Attributes | List of all members
GeochemistryActivityCoefficientsDebyeHuckel Class Reference

Computes activity coefficients for non-minerals and non-gases (since these species do not have activity coefficients). More...

#include <GeochemistryActivityCoefficientsDebyeHuckel.h>

Inheritance diagram for GeochemistryActivityCoefficientsDebyeHuckel:
[legend]

Public Member Functions

 GeochemistryActivityCoefficientsDebyeHuckel (const GeochemistryIonicStrength &is_calculator, const GeochemicalDatabaseReader &db)
 
void setInternalParameters (Real temperature, const ModelGeochemicalDatabase &mgd, const std::vector< Real > &basis_species_molality, const std::vector< Real > &eqm_species_molality, const std::vector< Real > &kin_species_molality) override
 Sets internal parameters, such as the ionic strength and Debye-Huckel parameters, prior to computing activity coefficients and activity of water. More...
 
Real waterActivity () const override
 Computes and returns the activity of water. More...
 
void buildActivityCoefficients (const ModelGeochemicalDatabase &mgd, std::vector< Real > &basis_activity_coef, std::vector< Real > &eqm_activity_coef) const override
 Compute the activity coefficients and store them in basis_activity_coef and eqm_activity_coef Note: More...
 
const DebyeHuckelParametersgetDebyeHuckel () const
 
Real getIonicStrength () const
 Return the current value of ionic strength. More...
 
Real getStoichiometricIonicStrength () const
 Return the current value of stoichiometric ionic strength. More...
 
bool operator== (const GeochemistryActivityCoefficients &) const
 

Private Attributes

const unsigned _numT
 number of temperature points in the database file More...
 
const GeochemistryDebyeHuckel _database_dh_params
 Debye-Huckel parameters found in the database. More...
 
const GeochemistryNeutralSpeciesActivity _database_dh_water
 Debye-Huckel parameters found in the database for computing the water activities. More...
 
const GeochemistryNeutralSpeciesActivity _database_dh_neutral
 Debye-Huckel parameters found in the database for computing the neutral (CO2) activities. More...
 
const GeochemistryIonicStrength_is_calculator
 ionic-strength calculator More...
 
Real _ionic_strength
 current value of ionic strength More...
 
Real _sqrt_ionic_strength
 current value of sqrt(ionic strength) More...
 
Real _stoichiometric_ionic_strength
 current value of stoichiometric ionic strength More...
 
unsigned _num_basis
 number of basis species More...
 
unsigned _num_eqm
 number of equilibrium species More...
 
DebyeHuckelParameters _dh
 Debye-Huckel parameters. More...
 
EquilibriumConstantInterpolator _interp_A
 Interpolator object for the Debye-Huckel parameter A. More...
 
EquilibriumConstantInterpolator _interp_B
 Interpolator object for the Debye-Huckel parameter B. More...
 
EquilibriumConstantInterpolator _interp_Bdot
 Interpolator object for the Debye-Huckel parameter Bdot. More...
 
EquilibriumConstantInterpolator _interp_a_water
 Interpolator object for the Debye-Huckel parameter a_water. More...
 
EquilibriumConstantInterpolator _interp_b_water
 Interpolator object for the Debye-Huckel parameter b_water. More...
 
EquilibriumConstantInterpolator _interp_c_water
 Interpolator object for the Debye-Huckel parameter c_water. More...
 
EquilibriumConstantInterpolator _interp_d_water
 Interpolator object for the Debye-Huckel parameter d_water. More...
 
EquilibriumConstantInterpolator _interp_a_neutral
 Interpolator object for the Debye-Huckel parameter a_neutral. More...
 
EquilibriumConstantInterpolator _interp_b_neutral
 Interpolator object for the Debye-Huckel parameter b_neutral. More...
 
EquilibriumConstantInterpolator _interp_c_neutral
 Interpolator object for the Debye-Huckel parameter c_neutral. More...
 
EquilibriumConstantInterpolator _interp_d_neutral
 Interpolator object for the Debye-Huckel parameter d_neutral. More...
 

Detailed Description

Computes activity coefficients for non-minerals and non-gases (since these species do not have activity coefficients).

Also computes the activity of water. Uses a Debye-Huckel model

Definition at line 58 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

Constructor & Destructor Documentation

◆ GeochemistryActivityCoefficientsDebyeHuckel()

GeochemistryActivityCoefficientsDebyeHuckel::GeochemistryActivityCoefficientsDebyeHuckel ( const GeochemistryIonicStrength is_calculator,
const GeochemicalDatabaseReader db 
)
Parameters
methodMethod used by this class to compute activity coefficients and activity of water
is_calculatorCalculates ionic strengths
dbOriginal geochemistry database: used to find the temperature interpolation type, Debye-Huckel params, etc

Definition at line 13 of file GeochemistryActivityCoefficientsDebyeHuckel.C.

16  _numT(db.getTemperatures().size()),
18  _database_dh_water((db.getNeutralSpeciesActivity().count("h2o") == 1)
19  ? db.getNeutralSpeciesActivity().at("h2o")
22  ? db.getNeutralSpeciesActivity().at("co2")
24  _is_calculator(is_calculator),
25  _ionic_strength(1.0),
28  _num_basis(0),
29  _num_eqm(0),
30  _dh(),
33  : std::vector<Real>(_numT, 0.0),
34  db.getLogKModel()),
37  : std::vector<Real>(_numT, 0.0),
38  db.getLogKModel()),
41  : std::vector<Real>(_numT, 0.0),
42  db.getLogKModel()),
45  : std::vector<Real>(_numT, 0.0),
46  db.getLogKModel()),
49  : std::vector<Real>(_numT, 0.0),
50  db.getLogKModel()),
53  : std::vector<Real>(_numT, 0.0),
54  db.getLogKModel()),
57  : std::vector<Real>(_numT, 0.0),
58  db.getLogKModel()),
61  : std::vector<Real>(_numT, 0.0),
62  db.getLogKModel()),
65  : std::vector<Real>(_numT, 0.0),
66  db.getLogKModel()),
69  : std::vector<Real>(_numT, 0.0),
70  db.getLogKModel()),
73  : std::vector<Real>(_numT, 0.0),
74  db.getLogKModel())
75 {
87 }
const GeochemistryNeutralSpeciesActivity _database_dh_neutral
Debye-Huckel parameters found in the database for computing the neutral (CO2) activities.
const GeochemistryNeutralSpeciesActivity _database_dh_water
Debye-Huckel parameters found in the database for computing the water activities. ...
const unsigned _numT
number of temperature points in the database file
const GeochemistryDebyeHuckel & getDebyeHuckel() const
Get the Debye-Huckel activity coefficients.
Real _stoichiometric_ionic_strength
current value of stoichiometric ionic strength
EquilibriumConstantInterpolator _interp_c_water
Interpolator object for the Debye-Huckel parameter c_water.
EquilibriumConstantInterpolator _interp_d_neutral
Interpolator object for the Debye-Huckel parameter d_neutral.
const GeochemistryIonicStrength & _is_calculator
ionic-strength calculator
std::string getLogKModel() const
Get the equilibrium constant model type.
EquilibriumConstantInterpolator _interp_a_water
Interpolator object for the Debye-Huckel parameter a_water.
const std::vector< Real > & getTemperatures() const
Get the temperature points that the equilibrium constant is defined at.
const GeochemicalDatabaseReader db("database/moose_testdb.json", true, true, false)
EquilibriumConstantInterpolator _interp_B
Interpolator object for the Debye-Huckel parameter B.
EquilibriumConstantInterpolator _interp_Bdot
Interpolator object for the Debye-Huckel parameter Bdot.
EquilibriumConstantInterpolator _interp_b_water
Interpolator object for the Debye-Huckel parameter b_water.
Data structure for neutral species activity coefficients.
EquilibriumConstantInterpolator _interp_b_neutral
Interpolator object for the Debye-Huckel parameter b_neutral.
virtual void generate()
const GeochemistryDebyeHuckel _database_dh_params
Debye-Huckel parameters found in the database.
EquilibriumConstantInterpolator _interp_c_neutral
Interpolator object for the Debye-Huckel parameter c_neutral.
EquilibriumConstantInterpolator _interp_d_water
Interpolator object for the Debye-Huckel parameter d_water.
const std::map< std::string, GeochemistryNeutralSpeciesActivity > & getNeutralSpeciesActivity() const
Get the neutral species activity coefficients.
EquilibriumConstantInterpolator _interp_A
Interpolator object for the Debye-Huckel parameter A.
EquilibriumConstantInterpolator _interp_a_neutral
Interpolator object for the Debye-Huckel parameter a_neutral.

Member Function Documentation

◆ buildActivityCoefficients()

void GeochemistryActivityCoefficientsDebyeHuckel::buildActivityCoefficients ( const ModelGeochemicalDatabase mgd,
std::vector< Real > &  basis_activity_coef,
std::vector< Real > &  eqm_activity_coef 
) const
overridevirtual

Compute the activity coefficients and store them in basis_activity_coef and eqm_activity_coef Note:

  • you will probably want to call setInternalParameters prior to calling this method
  • the activity coefficient for water (basis species = 0) is not computed since it is meaningless: use getWaterActivity() instead
  • the activity coefficient for any mineral is not computed since minerals do not have activity coefficients
  • the activity coefficient for any gas is not computed since gases do not have activity coefficients Hence, the elements in basis_activity_coef and eqm_activity_coef corresponding to these species will be undefined after this method returns

Implements GeochemistryActivityCoefficients.

Definition at line 134 of file GeochemistryActivityCoefficientsDebyeHuckel.C.

Referenced by TEST().

138 {
139  basis_activity_coef.resize(_num_basis);
140  eqm_activity_coef.resize(_num_eqm);
141 
142  for (unsigned basis_i = 1; basis_i < _num_basis; ++basis_i) // don't loop over water
143  if (mgd.basis_species_mineral[basis_i] || mgd.basis_species_gas[basis_i])
144  continue; // these should never be used
145  else if (mgd.basis_species_radius[basis_i] == -0.5)
146  {
147  basis_activity_coef[basis_i] = std::pow(
148  10.0,
151  }
152  else if (mgd.basis_species_radius[basis_i] == -1.0)
153  {
154  basis_activity_coef[basis_i] =
155  std::pow(10.0,
157  _dh.Bdot));
158  }
159  else if (mgd.basis_species_radius[basis_i] == -1.5)
160  {
161  basis_activity_coef[basis_i] = 1.0;
162  }
163  else if (mgd.basis_species_charge[basis_i] == 0.0)
164  {
165  basis_activity_coef[basis_i] = 1.0;
166  }
167  else
168  {
169  basis_activity_coef[basis_i] = std::pow(
170  10.0,
172  mgd.basis_species_radius[basis_i],
174  _dh.A,
175  _dh.B,
176  _dh.Bdot));
177  }
178 
179  for (unsigned eqm_j = 0; eqm_j < _num_eqm; ++eqm_j)
180  if (mgd.eqm_species_mineral[eqm_j] || mgd.eqm_species_gas[eqm_j])
181  continue;
182  else if (mgd.eqm_species_radius[eqm_j] == -0.5)
183  {
184  eqm_activity_coef[eqm_j] = std::pow(
185  10.0,
188  }
189  else if (mgd.eqm_species_radius[eqm_j] == -1.0)
190  {
191  eqm_activity_coef[eqm_j] =
192  std::pow(10.0,
194  _dh.Bdot));
195  }
196  else if (mgd.eqm_species_radius[eqm_j] == -1.5)
197  {
198  eqm_activity_coef[eqm_j] = 1.0;
199  }
200  else if (mgd.eqm_species_charge[eqm_j] == 0.0)
201  {
202  eqm_activity_coef[eqm_j] = 1.0;
203  }
204  else
205  {
206  eqm_activity_coef[eqm_j] = std::pow(
207  10.0,
209  mgd.eqm_species_radius[eqm_j],
211  _dh.A,
212  _dh.B,
213  _dh.Bdot));
214  }
215 }
Real log10ActCoeffDHBdotNeutral(Real ionic_strength, Real a, Real b, Real c, Real d)
log10(activity coefficient) for neutral species according to the Debye-Huckel B-dot model ...
std::vector< bool > eqm_species_gas
eqm_species_gas[i] = true iff the i^th equilibrium species is a gas
const ModelGeochemicalDatabase mgd
Real log10ActCoeffDHBdotAlternative(Real ionic_strength, Real Bdot)
log10(activity coefficient) alternative expression that is sometimes used in conjunction with the Deb...
std::vector< Real > basis_species_radius
all quantities have an ionic radius (Angstrom) for computing activity (mineral radius = 0...
std::vector< Real > eqm_species_radius
all quantities have an ionic radius (Angstrom) for computing activity (mineral radius = 0...
std::vector< Real > basis_species_charge
all quantities have a charge (mineral charge = 0, gas charge = 0, oxide charge = 0) ...
std::vector< bool > basis_species_gas
basis_species_gas[j] = true iff the j^th basis species is a gas
std::vector< bool > basis_species_mineral
basis_species_mineral[j] = true iff the j^th basis species is a mineral
std::vector< Real > eqm_species_charge
all quantities have a charge (mineral charge = 0, gas charge = 0, oxide charge = 0) ...
std::vector< bool > eqm_species_mineral
eqm_species_mineral[i] = true iff the i^th equilibrium species is a mineral
Real log10ActCoeffDHBdot(Real charge, Real ion_size, Real sqrt_ionic_strength, Real A, Real B, Real Bdot)
log10(activity coefficient) according to the Debye-Huckel B-dot model
MooseUnits pow(const MooseUnits &, int)

◆ getDebyeHuckel()

const DebyeHuckelParameters & GeochemistryActivityCoefficientsDebyeHuckel::getDebyeHuckel ( ) const
Returns
the Debye-Huckel parameters

Definition at line 121 of file GeochemistryActivityCoefficientsDebyeHuckel.C.

Referenced by TEST().

122 {
123  return _dh;
124 }

◆ getIonicStrength()

Real GeochemistryActivityCoefficientsDebyeHuckel::getIonicStrength ( ) const

Return the current value of ionic strength.

Definition at line 218 of file GeochemistryActivityCoefficientsDebyeHuckel.C.

Referenced by TEST().

219 {
220  return _ionic_strength;
221 }

◆ getStoichiometricIonicStrength()

Real GeochemistryActivityCoefficientsDebyeHuckel::getStoichiometricIonicStrength ( ) const

Return the current value of stoichiometric ionic strength.

Definition at line 224 of file GeochemistryActivityCoefficientsDebyeHuckel.C.

Referenced by TEST().

225 {
227 }
Real _stoichiometric_ionic_strength
current value of stoichiometric ionic strength

◆ operator==()

bool GeochemistryActivityCoefficients::operator== ( const GeochemistryActivityCoefficients ) const
inlineinherited

Definition at line 23 of file GeochemistryActivityCoefficients.h.

23 { return true; };

◆ setInternalParameters()

void GeochemistryActivityCoefficientsDebyeHuckel::setInternalParameters ( Real  temperature,
const ModelGeochemicalDatabase mgd,
const std::vector< Real > &  basis_species_molality,
const std::vector< Real > &  eqm_species_molality,
const std::vector< Real > &  kin_species_molality 
)
overridevirtual

Sets internal parameters, such as the ionic strength and Debye-Huckel parameters, prior to computing activity coefficients and activity of water.

If using a Debye-Huckel activity model, you must ensure the ionic strength calculator (eg, maxIonicStrength) is set appropriately before calling this function.

Parameters
temperaturethe temperature in degC
mgdthe Model Geochemical database
basis_species_molalityMolalities of the basis species in mgd
eqm_species_molalityMolalities of the equilibrium species in mgd
kin_species_molalityMolalities of the kinetic species

Implements GeochemistryActivityCoefficients.

Definition at line 90 of file GeochemistryActivityCoefficientsDebyeHuckel.C.

Referenced by TEST().

96 {
98  mgd, basis_species_molality, eqm_species_molality, kin_species_molality);
101  mgd, basis_species_molality, eqm_species_molality, kin_species_molality);
103  _num_eqm = mgd.eqm_species_index.size();
104  // Debye-Huckel base parameters
108  // water Debye-Huckel
113  // neutral species Debye-Huckel
118 }
Real _stoichiometric_ionic_strength
current value of stoichiometric ionic strength
std::unordered_map< std::string, unsigned > basis_species_index
basis_species_index[name] = index of the basis species, within all ModelGeochemicalDatabase internal ...
const ModelGeochemicalDatabase mgd
EquilibriumConstantInterpolator _interp_c_water
Interpolator object for the Debye-Huckel parameter c_water.
EquilibriumConstantInterpolator _interp_d_neutral
Interpolator object for the Debye-Huckel parameter d_neutral.
const GeochemistryIonicStrength & _is_calculator
ionic-strength calculator
std::unordered_map< std::string, unsigned > eqm_species_index
eqm_species_index[name] = index of the equilibrium species (secondary aqueous species, redox couples in equilibrium with the aqueous solution, minerals in equilibrium with the aqueous solution, gases in equilibrium with the aqueous solution) within all ModelGeochemicalDatabase internal datastrcutres, with given name
static const std::string temperature
Definition: NS.h:59
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.
EquilibriumConstantInterpolator _interp_a_water
Interpolator object for the Debye-Huckel parameter a_water.
EquilibriumConstantInterpolator _interp_B
Interpolator object for the Debye-Huckel parameter B.
EquilibriumConstantInterpolator _interp_Bdot
Interpolator object for the Debye-Huckel parameter Bdot.
EquilibriumConstantInterpolator _interp_b_water
Interpolator object for the Debye-Huckel parameter b_water.
EquilibriumConstantInterpolator _interp_b_neutral
Interpolator object for the Debye-Huckel parameter b_neutral.
EquilibriumConstantInterpolator _interp_c_neutral
Interpolator object for the Debye-Huckel parameter c_neutral.
EquilibriumConstantInterpolator _interp_d_water
Interpolator object for the Debye-Huckel parameter d_water.
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.
EquilibriumConstantInterpolator _interp_A
Interpolator object for the Debye-Huckel parameter A.
EquilibriumConstantInterpolator _interp_a_neutral
Interpolator object for the Debye-Huckel parameter a_neutral.

◆ waterActivity()

Real GeochemistryActivityCoefficientsDebyeHuckel::waterActivity ( ) const
overridevirtual

Computes and returns the activity of water.

Note that you will probably want to call setInternalParameters prior to calling this method

Returns
the activity of water

Implements GeochemistryActivityCoefficients.

Definition at line 127 of file GeochemistryActivityCoefficientsDebyeHuckel.C.

Referenced by TEST().

Member Data Documentation

◆ _database_dh_neutral

const GeochemistryNeutralSpeciesActivity GeochemistryActivityCoefficientsDebyeHuckel::_database_dh_neutral
private

Debye-Huckel parameters found in the database for computing the neutral (CO2) activities.

Definition at line 104 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

◆ _database_dh_params

const GeochemistryDebyeHuckel GeochemistryActivityCoefficientsDebyeHuckel::_database_dh_params
private

Debye-Huckel parameters found in the database.

Definition at line 98 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

◆ _database_dh_water

const GeochemistryNeutralSpeciesActivity GeochemistryActivityCoefficientsDebyeHuckel::_database_dh_water
private

Debye-Huckel parameters found in the database for computing the water activities.

Definition at line 101 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

◆ _dh

DebyeHuckelParameters GeochemistryActivityCoefficientsDebyeHuckel::_dh
private

◆ _interp_A

EquilibriumConstantInterpolator GeochemistryActivityCoefficientsDebyeHuckel::_interp_A
private

Interpolator object for the Debye-Huckel parameter A.

Definition at line 128 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

Referenced by GeochemistryActivityCoefficientsDebyeHuckel(), and setInternalParameters().

◆ _interp_a_neutral

EquilibriumConstantInterpolator GeochemistryActivityCoefficientsDebyeHuckel::_interp_a_neutral
private

Interpolator object for the Debye-Huckel parameter a_neutral.

Definition at line 149 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

Referenced by GeochemistryActivityCoefficientsDebyeHuckel(), and setInternalParameters().

◆ _interp_a_water

EquilibriumConstantInterpolator GeochemistryActivityCoefficientsDebyeHuckel::_interp_a_water
private

Interpolator object for the Debye-Huckel parameter a_water.

Definition at line 137 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

Referenced by GeochemistryActivityCoefficientsDebyeHuckel(), and setInternalParameters().

◆ _interp_B

EquilibriumConstantInterpolator GeochemistryActivityCoefficientsDebyeHuckel::_interp_B
private

Interpolator object for the Debye-Huckel parameter B.

Definition at line 131 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

Referenced by GeochemistryActivityCoefficientsDebyeHuckel(), and setInternalParameters().

◆ _interp_b_neutral

EquilibriumConstantInterpolator GeochemistryActivityCoefficientsDebyeHuckel::_interp_b_neutral
private

Interpolator object for the Debye-Huckel parameter b_neutral.

Definition at line 152 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

Referenced by GeochemistryActivityCoefficientsDebyeHuckel(), and setInternalParameters().

◆ _interp_b_water

EquilibriumConstantInterpolator GeochemistryActivityCoefficientsDebyeHuckel::_interp_b_water
private

Interpolator object for the Debye-Huckel parameter b_water.

Definition at line 140 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

Referenced by GeochemistryActivityCoefficientsDebyeHuckel(), and setInternalParameters().

◆ _interp_Bdot

EquilibriumConstantInterpolator GeochemistryActivityCoefficientsDebyeHuckel::_interp_Bdot
private

Interpolator object for the Debye-Huckel parameter Bdot.

Definition at line 134 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

Referenced by GeochemistryActivityCoefficientsDebyeHuckel(), and setInternalParameters().

◆ _interp_c_neutral

EquilibriumConstantInterpolator GeochemistryActivityCoefficientsDebyeHuckel::_interp_c_neutral
private

Interpolator object for the Debye-Huckel parameter c_neutral.

Definition at line 155 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

Referenced by GeochemistryActivityCoefficientsDebyeHuckel(), and setInternalParameters().

◆ _interp_c_water

EquilibriumConstantInterpolator GeochemistryActivityCoefficientsDebyeHuckel::_interp_c_water
private

Interpolator object for the Debye-Huckel parameter c_water.

Definition at line 143 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

Referenced by GeochemistryActivityCoefficientsDebyeHuckel(), and setInternalParameters().

◆ _interp_d_neutral

EquilibriumConstantInterpolator GeochemistryActivityCoefficientsDebyeHuckel::_interp_d_neutral
private

Interpolator object for the Debye-Huckel parameter d_neutral.

Definition at line 158 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

Referenced by GeochemistryActivityCoefficientsDebyeHuckel(), and setInternalParameters().

◆ _interp_d_water

EquilibriumConstantInterpolator GeochemistryActivityCoefficientsDebyeHuckel::_interp_d_water
private

Interpolator object for the Debye-Huckel parameter d_water.

Definition at line 146 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

Referenced by GeochemistryActivityCoefficientsDebyeHuckel(), and setInternalParameters().

◆ _ionic_strength

Real GeochemistryActivityCoefficientsDebyeHuckel::_ionic_strength
private

current value of ionic strength

Definition at line 110 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

Referenced by buildActivityCoefficients(), getIonicStrength(), and setInternalParameters().

◆ _is_calculator

const GeochemistryIonicStrength& GeochemistryActivityCoefficientsDebyeHuckel::_is_calculator
private

ionic-strength calculator

Definition at line 107 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

Referenced by setInternalParameters().

◆ _num_basis

unsigned GeochemistryActivityCoefficientsDebyeHuckel::_num_basis
private

number of basis species

Definition at line 119 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

Referenced by buildActivityCoefficients(), and setInternalParameters().

◆ _num_eqm

unsigned GeochemistryActivityCoefficientsDebyeHuckel::_num_eqm
private

number of equilibrium species

Definition at line 122 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

Referenced by buildActivityCoefficients(), and setInternalParameters().

◆ _numT

const unsigned GeochemistryActivityCoefficientsDebyeHuckel::_numT
private

number of temperature points in the database file

Definition at line 95 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

◆ _sqrt_ionic_strength

Real GeochemistryActivityCoefficientsDebyeHuckel::_sqrt_ionic_strength
private

current value of sqrt(ionic strength)

Definition at line 113 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

Referenced by buildActivityCoefficients(), and setInternalParameters().

◆ _stoichiometric_ionic_strength

Real GeochemistryActivityCoefficientsDebyeHuckel::_stoichiometric_ionic_strength
private

current value of stoichiometric ionic strength

Definition at line 116 of file GeochemistryActivityCoefficientsDebyeHuckel.h.

Referenced by getStoichiometricIonicStrength(), setInternalParameters(), and waterActivity().


The documentation for this class was generated from the following files: