ActivityModelDebyeHuckel.hpp
100 //=====================================================================================================================
171 //=====================================================================================================================
174 //=====================================================================================================================
178 //=====================================================================================================================
181 //=====================================================================================================================
184 //=====================================================================================================================
187 //=====================================================================================================================
194 //=====================================================================================================================
197 //=====================================================================================================================
222 //=====================================================================================================================
225 //=====================================================================================================================
287 //=====================================================================================================================
290 //=====================================================================================================================
336 //=====================================================================================================================
A type used to represent the chemical formula of a chemical species.
Definition: ChemicalFormula.hpp:27
The namespace containing all components of the Reaktoro library.
Definition: Algorithms.hpp:29
Fn< ActivityModel(SpeciesList const &species)> ActivityModelGenerator
The type for functions that construct an ActivityModel for a phase.
Definition: ActivityModel.hpp:53
autodiff::real real
The number type used throughout the library.
Definition: Real.hpp:26
auto ActivityModelDebyeHuckelLimitingLaw() -> ActivityModelGenerator
Return the activity model for aqueous electrolyte phases based on the Debye–Hückel limiting law model...
auto ActivityModelDebyeHuckelKielland() -> ActivityModelGenerator
Return the activity model for aqueous electrolyte phases based on the Debye–Hückel model with Kiellan...
auto ActivityModelDebyeHuckelWATEQ4F() -> ActivityModelGenerator
Return the activity model for aqueous electrolyte phases based on the Debye–Hückel model using WATEQ4...
auto ActivityModelDebyeHuckel() -> ActivityModelGenerator
Return the activity model for aqueous electrolyte phases based on the Debye–Hückel model.
auto ActivityModelDebyeHuckelPHREEQC() -> ActivityModelGenerator
Return the activity model for aqueous electrolyte phases based on the Debye–Hückel model using PHREEQ...
std::unordered_map< Key, T > Map
Convenient alias for std::unordered_map<Key, T>.
Definition: Types.hpp:74
The parameters in the Debye–Hückel activity model for aqueous electrolyte solutions.
Definition: ActivityModelDebyeHuckel.hpp:29
auto setWATEQ4F() -> void
Set the parameters å and b of the ionic species according to WATEQ4F.
auto setLimitingLaw() -> void
Set the parameters å and b of the ionic species to zero.
auto bion(const ChemicalFormula &ion) const -> real
Return the b parameter of the ionic species with given formula.
auto bneutral(const ChemicalFormula &neutral) const -> real
Return the b parameter of the neutral species with given formula.
Map< String, real > bneutrals
The parameters b of specific neutral species.
Definition: ActivityModelDebyeHuckel.hpp:46
real aiondefault
The default value of the å parameter for ionic species.
Definition: ActivityModelDebyeHuckel.hpp:31
auto aion(const ChemicalFormula &ion) const -> real
Return the å parameter of the ionic species with given formula.
Map< String, real > aions
The parameters å of specific ionic species.
Definition: ActivityModelDebyeHuckel.hpp:40
Map< String, real > bions
The parameters b of specific ionic species.
Definition: ActivityModelDebyeHuckel.hpp:43
auto setKielland() -> void
Set the parameters å of the ionic species according to Kielland (1937).
auto setPHREEQC() -> void
Set the parameters å and b of the ionic species according to PHREEQC.
real biondefault
The default value of the b parameter for ionic species.
Definition: ActivityModelDebyeHuckel.hpp:34
real bneutraldefault
The default value of the b parameter for neutral species.
Definition: ActivityModelDebyeHuckel.hpp:37