PorousRockState.hpp
auto system() const -> ChemicalSystem const &
Return the underlying chemical system for this chemical state.
The class used to represent a chemical system and its attributes and properties.
Definition: ChemicalSystem.hpp:70
The chemical state of a porous rock system filled with fluids.
Definition: PorousRockState.hpp:36
PorousRockState(const PorousRockState &other)
Construct a copy of a PorousRockState instance.
auto operator=(PorousRockState other) -> PorousRockState &
Assign a PorousRockState instance to this instance.
auto setPorosity(real value) -> void
Set the porosity of the rock system.
virtual ~PorousRockState()
Destroy this PorousRockState instance.
auto equilibrate() -> void
Perform an equilibrium calculation of the porous rock system.
auto setVolumeFractionAmongSolids(Index iphase, real value) -> void
Set the volume fraction of the solid phase with given index among all other solid phases.
auto setVolumeFractionAmongFluids(String phasename, real value) -> void
Set the volume fraction of the fluid phase with given named among all other fluid phases.
auto setVolumeFractionAmongSolids(String phasename, real value) -> void
Set the volume fraction of the solid phase with given named among all other solid phases.
auto setVolumeFractionAmongFluids(Index iphase, real value) -> void
Set the volume fraction of the fluid phase with given index among all other fluid phases.
PorousRockState(const ChemicalSystem &system)
Construct a PorousRockState instance with standard conditions.
The namespace containing all components of the Reaktoro library.
Definition: Algorithms.hpp:29
autodiff::real real
The number type used throughout the library.
Definition: Real.hpp:26
auto operator<<(std::ostream &out, AggregateState option) -> std::ostream &
Output an AggregateState value.