MineralSurface Class Reference
Used to define mineral surfaces that react with aqueous phases. More...
#include <MineralSurface.hpp>
Collaboration diagram for MineralSurface:
Public Member Functions | |
MineralSurface (String const &mineral) | |
Construct a MineralSurface object. More... | |
MineralSurface (String const &mineral, real A, Chars unitA) | |
Construct a MineralSurface object with a constant or linear surface area model. More... | |
MineralSurface (String const &mineral, real A0, Chars unitA0, real q0, Chars unitq0, real p) | |
Construct a MineralSurface object with a power surface area model. More... | |
Public Member Functions inherited from GeneralSurface | |
GeneralSurface () | |
Construct a default GeneralSurface object. | |
GeneralSurface (String const &name) | |
Construct a GeneralSurface object with given unique surface name. | |
GeneralSurface (String const &name, SurfaceAreaModel const &area_model) | |
Construct a GeneralSurface object with given unique surface name and area model. | |
auto | setName (String const &name) -> GeneralSurface & |
Set the unique name of the surface. | |
auto | setAreaModel (SurfaceAreaModel const &model) -> GeneralSurface & |
Set the area model of the surface. | |
auto | set (SurfaceAreaModel const &model) -> GeneralSurface & |
Set the area model of the surface (equivalent to GeneralSurface::setAreaModel). | |
auto | name () const -> String const & |
Return the name of the surface. | |
auto | areaModel () const -> SurfaceAreaModel const & |
Return the area model of the surface. | |
auto | operator() (PhaseList const &phases) const -> Surface |
Convert this GeneralSurface object into a Surface object. | |
Detailed Description
Used to define mineral surfaces that react with aqueous phases.
Constructor & Destructor Documentation
◆ MineralSurface() [1/3]
|
explicit |
Construct a MineralSurface object.
- Parameters
-
mineral The name of the mineral phase in the chemical system.
◆ MineralSurface() [2/3]
MineralSurface | ( | String const & | mineral, |
real | A, | ||
Chars | unitA | ||
) |
Construct a MineralSurface object with a constant or linear surface area model.
If unitA
is convertible to m2
, then a constant surface area model is assigned to the mineral surface (
- See also
- SurfaceAreaModelConstant). If
unitA
is convertible tom2/mol
,m2/kg
, orm2/m3
, then a linear surface area model is assigned instead ( -
SurfaceAreaModelLinear). Otherwise, an error occurs due to non-conforming unit value for
unitA
.
- Parameters
-
mineral The name of the mineral phase in the chemical system. A The actual or normalized surface area value of the mineral phase. unitA The unit of A
(must be convertible tom2
,m2/mol
,m2/kg
, orm2/m3
).
◆ MineralSurface() [3/3]
Construct a MineralSurface object with a power surface area model.
For more details about the power law used for the surface area model, see SurfaceAreaModelPower.
- Parameters
-
mineral The name of the mineral phase in the chemical system. A0 The initial surface area of the mineral phase. unitA0 The unit of A0
(must be convertible tom2
).q0 The initial quantity of the mineral phase. unitq0 The unit of q0
(must be convertible tomol
,kg
, orm3
).p The power parameter in the model.
The documentation for this class was generated from the following file:
- Reaktoro/Utils/MineralSurface.hpp