Phreeqc.hpp
92 // virtual auto properties(ChemicalModelResult& res, double T, double P, ArrayXdConstRef n) -> void;
Definition: Phreeqc.hpp:34
auto execute(String input, String output) -> void
Execute a PHREEQC input script either provided as a file or input string.
auto stoichiometricMatrix() const -> MatrixXd
Return the stoichiometric matrix of the system of reactions.
Phreeqc(String database)
Construct a Phreeqc instance with given PHREEQC database.
auto standardMolarGibbsEnergies() const -> ArrayXd
Return the standard molar Gibbs free energies of the species (in units of J/mol)
auto standardMolarVolumes() const -> ArrayXd
Return the standard molar volumes of the species (in units of m3/mol)
auto lnActivityCoefficients() const -> ArrayXd
Return the ln activity coefficients of the species.
virtual auto numElements() const -> unsigned
Return the number of elements.
auto phreeqc() -> PHREEQC &
Return a reference to the low-level Phreeqc instance.
auto standardMolarHeatCapacitiesConstV() const -> ArrayXd
Return the standard molar isochoric heat capacities of the species (in units of J/(mol*K))
auto phaseMolarVolumes() const -> ArrayXd
Return the molar volumes of the phases.
virtual auto speciesName(Index ispecies) const -> String
Return the name of a species.
virtual auto numSpeciesInPhase(Index iphase) const -> unsigned
Return the number of species in a phase.
auto lnEquilibriumConstants() const -> ArrayXd
Return the ln equilibrium constants of the reactions.
auto set(double T, double P) -> void
Set the temperature and pressure of the interfaced code.
virtual auto elementMolarMass(Index ielement) const -> double
Return the molar mass of an element (in units of kg/mol)
virtual auto pressure() const -> double
Return the pressure (in units of Pa)
auto standardMolarEnthalpies() const -> ArrayXd
Return the standard molar enthalpies of the species (in units of J/mol)
virtual auto numSpecies() const -> unsigned
Return the number of species.
auto reactions() const -> const Vec< Pairs< String, double >> &
Return the system of reactions.
auto lnActivityConstants() const -> ArrayXd
Return the ln activity contants of the species.
virtual auto elementName(Index ielement) const -> String
Return the name of an element.
virtual auto phaseName(Index iphase) const -> String
Return the name of a phase.
auto standardMolarHeatCapacitiesConstP() const -> ArrayXd
Return the standard molar isobaric heat capacities of the species (in units of J/(mol*K))
virtual auto elementStoichiometry(Index ispecies, Index ielement) const -> double
Return the stoichiometry of an element in a species.
auto lnActivities() const -> ArrayXd
Return the ln activities of the species.
virtual auto speciesAmounts() const -> ArrayXd
Return the amounts of the species (in units of mol)
virtual auto temperature() const -> double
Return the temperature (in units of K)
The namespace containing all components of the Reaktoro library.
Definition: Algorithms.hpp:29
Vec< Pair< T, U > > Pairs
Convenient alias for std::vector<std::pair<T, U>>.
Definition: Types.hpp:90
Eigen::Ref< const ArrayXd > ArrayXdConstRef
Convenient alias to Eigen type.
Definition: Matrix.hpp:105