MineralReaction.hpp
auto setSpecificSurfaceArea(double value, std::string unit) -> MineralReaction &
Set the specific surface area of the mineral.
Definition: MineralReaction.cpp:332
auto setSurfaceArea(double value, std::string unit) -> MineralReaction &
Set the surface area of the mineral.
Definition: MineralReaction.cpp:338
Definition: MineralReaction.hpp:38
MineralReaction()
Construct a default MineralReaction instance.
Definition: MineralReaction.cpp:300
auto equilibriumConstant() const -> const ThermoScalarFunction &
Return the equilibrium constant of the mineral reaction.
Definition: MineralReaction.cpp:372
A class to represent a system and its attributes and properties.
Definition: ChemicalSystem.hpp:38
Define a type that describes the equation of a reaction.
Definition: ReactionEquation.hpp:36
auto equation() const -> const ReactionEquation &
Return the equation of the mineral reaction as a string.
Definition: MineralReaction.cpp:367
auto setEquilibriumConstant(const ThermoScalarFunction &lnk) -> MineralReaction &
Set the equilibrium constant of the mineral reaction (in natural log scale).
Definition: MineralReaction.cpp:326
auto mechanisms() const -> const std::vector< MineralMechanism > &
Return the mineral mechanisms of the kinetic rate model of the mineral reaction.
Definition: MineralReaction.cpp:392
The namespace containing all components of the Reaktoro library.
Definition: ChemicalScalar.hpp:24
auto addMechanism(std::string mechanism) -> MineralReaction &
Adds a mineral mechanism to the kinetic rate model of the mineral reaction.
Definition: MineralReaction.cpp:344
auto specificSurfaceArea() const -> double
Return the specific surface area of the mineral (in units of m2/kg).
Definition: MineralReaction.cpp:377
Definition: MineralMechanism.hpp:30
auto surfaceArea() const -> double
Return the specified surface area of the mineral (in units of m2).
Definition: MineralReaction.cpp:387
auto setMineral(std::string mineral) -> MineralReaction &
Set the name of the mineral species in the reaction.
Definition: MineralReaction.cpp:308
auto mineral() const -> std::string
Return the name of the mineral species in the reaction.
Definition: MineralReaction.cpp:362
auto volumetricSurfaceArea() const -> double
Return the volumetric surface area of the mineral (in units of m2/m3).
Definition: MineralReaction.cpp:382
auto setMechanisms(const std::vector< MineralMechanism > &mechanisms) -> MineralReaction &
Set the mineral mechanisms of the kinetic rate model of the mineral reaction.
Definition: MineralReaction.cpp:356
Provide a computational representation of a chemical reaction.
Definition: Reaction.hpp:60
auto unit(Index rows, Index i) -> decltype(Vector::Unit(rows, i))
Return an expression of a unit vector.
Definition: Matrix.hxx:47
auto setEquation(const ReactionEquation &equation) -> MineralReaction &
Set the equation of the mineral reaction.
Definition: MineralReaction.cpp:314