Phase.hpp
Definition: Model.hpp:30
auto speciesMolarMasses() const -> ArrayXdConstRef
Return the molar masses of the species in the phase (in kg/mol).
auto withStateOfMatter(StateOfMatter state) -> Phase
Return a copy of this Phase object with a new state of matter.
auto activityModel() const -> const ActivityModel &
Return the function that computes activity properties of the phase.
auto elements() const -> const ElementList &
Return the elements of the phase.
auto element(Index idx) const -> const Element &
Return the element in the phase with given index.
auto withIdealActivityModel(const ActivityModel &model) -> Phase
Return a copy of this Phase object with a new ideal activity model function.
auto aggregateState() const -> AggregateState
Return the common aggregate state of the species in the phase.
auto withSpecies(SpeciesList species) -> Phase
Return a copy of this Phase object with new list of species.
auto stateOfMatter() const -> StateOfMatter
Return the state of matter of the phase.
auto idealActivityModel() const -> const ActivityModel &
Return the function that computes ideal activity properties of the phase.
auto withActivityModel(const ActivityModel &model) -> Phase
Return a copy of this Phase object with a new activity model function.
auto withName(String name) -> Phase
Return a copy of this Phase object with a new name.
A type used to represent a chemical species and its attributes.
Definition: Species.hpp:35
The namespace containing all components of the Reaktoro library.
Definition: Algorithms.hpp:29
AggregateState
The aggregate states of substances according to IUPAC.
Definition: AggregateState.hpp:32
Eigen::Ref< const ArrayXd > ArrayXdConstRef
Convenient alias to Eigen type.
Definition: Matrix.hpp:105
StateOfMatter
The list of states of matter for phases.
Definition: StateOfMatter.hpp:27
std::shared_ptr< T > SharedPtr
Convenient alias for std::shared_ptr<T>.
Definition: Types.hpp:106