Phases Class Reference
The class used to define the phases that will constitute the chemical system of interest. More...
#include <Phases.hpp>
Public Member Functions | |
| Phases (Database const &db) | |
| Construct a Phases object. More... | |
| template<typename... GeneralPhases, Requires< areGeneralPhases< GeneralPhases... >> = true> | |
| Phases (Database const &db, GeneralPhases const &... gphases) | |
| Construct a Phases object with given database and general phases. More... | |
| auto | add (GeneralPhase const &phase) -> void |
| Add a GeneralPhase object into the Phases container. | |
| auto | add (GeneralPhasesGenerator const &generator) -> void |
| Add a GeneralPhasesGenerator object into the Phases container. | |
| auto | database () const -> Database const & |
| Return the database object used to construct the species and elements in the phases. | |
| auto | generalPhases () const -> Vec< GeneralPhase > const & |
| Return the GeneralPhase objects collected so far with each call to Phases::add method. | |
| auto | generalPhasesGenerators () const -> Vec< GeneralPhasesGenerator > const & |
| Return the GeneralPhaseGenerator objects collected so far with each call to Phases::add method. | |
| auto | convert () const -> Vec< Phase > |
| Convert this Phases object into a vector of Phase objects. | |
| operator Vec< Phase > () const | |
| Convert this Phases object into a vector of Phase objects. | |
Detailed Description
The class used to define the phases that will constitute the chemical system of interest.
Constructor & Destructor Documentation
◆ Phases() [1/2]
Construct a Phases object.
- Parameters
-
db The database used to construct the species and elements in the phases.
◆ Phases() [2/2]
The documentation for this class was generated from the following file:
- Reaktoro/Core/Phases.hpp