Phreeqc.hpp
auto stoichiometricMatrix() const -> Matrix
Return the stoichiometric matrix of the system of reactions.
Definition: Phreeqc.cpp:1246
virtual auto elementStoichiometry(Index ispecies, Index ielement) const -> double
Return the stoichiometry of an element in a species.
Definition: Phreeqc.cpp:1195
virtual auto numPhases() const -> unsigned
Return the number of phases.
Definition: Phreeqc.cpp:1160
virtual auto elementName(Index ielement) const -> std::string
Return the name of an element.
Definition: Phreeqc.cpp:1185
auto phaseMolarVolumes() const -> Vector
Return the molar volumes of the phases.
Definition: Phreeqc.cpp:1296
The result of a chemical model function that calculates the chemical properties of species.
Definition: ChemicalModel.hpp:30
virtual auto phaseName(Index iphase) const -> std::string
Return the name of a phase.
Definition: Phreeqc.cpp:1205
virtual auto elementMolarMass(Index ielement) const -> double
Return the molar mass of an element (in units of kg/mol)
Definition: Phreeqc.cpp:1190
auto database(std::string name) -> std::string
Return the contents of a built-in database as a string.
Definition: DatabaseUtils.cpp:65
auto execute(std::string input, std::string output) -> void
Execute a PHREEQC input script either provided as a file or input string.
Definition: Phreeqc.cpp:1226
virtual auto numElements() const -> unsigned
Return the number of elements.
Definition: Phreeqc.cpp:1150
virtual auto temperature() const -> double
Return the temperature (in units of K)
Definition: Phreeqc.cpp:1135
Phreeqc()
Construct a default Phreeqc instance.
Definition: Phreeqc.cpp:1124
The result of a thermodynamic model function that calculates standard thermodynamic properties of spe...
Definition: ThermoModel.hpp:30
auto standardMolarHeatCapacitiesConstV() const -> Vector
Return the standard molar isochoric heat capacities of the species (in units of J/(mol*K))
Definition: Phreeqc.cpp:1271
virtual auto numSpecies() const -> unsigned
Return the number of species.
Definition: Phreeqc.cpp:1155
auto lnEquilibriumConstants() const -> Vector
Return the ln equilibrium constants of the reactions.
Definition: Phreeqc.cpp:1291
The namespace containing all components of the Reaktoro library.
Definition: ChemicalScalar.hpp:24
auto reactions() const -> const std::vector< ReactionEquation > &
Return the system of reactions.
Definition: Phreeqc.cpp:1241
virtual auto properties(ThermoModelResult &res, double T, double P) -> void
Return the thermodynamic properties of the phases and its species.
Definition: Phreeqc.cpp:1301
auto load(std::string database) -> void
Load a PHREEQC database.
Definition: Phreeqc.cpp:1220
virtual auto pressure() const -> double
Return the pressure (in units of Pa)
Definition: Phreeqc.cpp:1140
auto standardMolarVolumes() const -> Vector
Return the standard molar volumes of the species (in units of m3/mol)
Definition: Phreeqc.cpp:1261
auto lnActivityConstants() const -> Vector
Return the ln activity contants of the species.
Definition: Phreeqc.cpp:1281
Definition: Phreeqc.hpp:32
virtual ~Phreeqc()
Destroy this Phreeqc instance.
Definition: Phreeqc.cpp:1132
virtual auto speciesName(Index ispecies) const -> std::string
Return the name of a species.
Definition: Phreeqc.cpp:1200
auto standardMolarGibbsEnergies() const -> Vector
Return the standard molar Gibbs free energies of the species (in units of J/mol)
Definition: Phreeqc.cpp:1251
auto standardMolarHeatCapacitiesConstP() const -> Vector
Return the standard molar isobaric heat capacities of the species (in units of J/(mol*K))
Definition: Phreeqc.cpp:1266
auto set(double T, double P) -> void
Set the temperature and pressure of the interfaced code.
Definition: Phreeqc.cpp:1210
auto lnActivityCoefficients() const -> Vector
Return the ln activity coefficients of the species.
Definition: Phreeqc.cpp:1276
auto reset() -> void
Reset this Phreeqc instance to a clean state.
Definition: Phreeqc.cpp:1236
auto standardMolarEnthalpies() const -> Vector
Return the standard molar enthalpies of the species (in units of J/mol)
Definition: Phreeqc.cpp:1256
auto phreeqc() -> PHREEQC &
Return a reference to the low-level Phreeqc instance.
Definition: Phreeqc.cpp:1348
virtual auto clone() const -> std::shared_ptr< Interface >
Return a clone of this Phreeqc instance.
Definition: Phreeqc.cpp:1343
auto lnActivities() const -> Vector
Return the ln activities of the species.
Definition: Phreeqc.cpp:1286
Eigen::Ref< const Eigen::VectorXd > VectorConstRef
< Alias to Eigen type Ref<VectorXd>.
Definition: Matrix.hpp:31
virtual auto numSpeciesInPhase(Index iphase) const -> unsigned
Return the number of species in a phase.
Definition: Phreeqc.cpp:1165
virtual auto speciesAmounts() const -> Vector
Return the amounts of the species (in units of mol)
Definition: Phreeqc.cpp:1145