Reaktoro  v2.11.0
A unified framework for modeling chemically reactive systems
MineralPhases Class Reference

The class used to configure automatic selection of pure mineral phases. More...

#include <Phases.hpp>

Collaboration diagram for MineralPhases:
[legend]

Public Member Functions

 MineralPhases ()
 Construct a default MineralPhases object.
 
 MineralPhases (StringList const &species)
 Construct a MineralPhases object with given species names.
 
 MineralPhases (Speciate const &elements)
 Construct a MineralPhases object with given element symbols.
 
 MineralPhases (Speciate const &elements, Exclude const &withtags)
 Construct a MineralPhases object with given element symbols excluding the species with provided tags.
 
 MineralPhases (Exclude const &withtags)
 Construct a MineralPhases object excluding the species with provided tags.
 
auto initialize () -> void
 Initialize the default attributes of this MineralPhases object.
 
- Public Member Functions inherited from GeneralPhasesGenerator
 GeneralPhasesGenerator ()
 Construct a default GeneralPhasesGenerator object.
 
 GeneralPhasesGenerator (StringList const &species)
 Construct a GeneralPhasesGenerator object with given species names.
 
 GeneralPhasesGenerator (Speciate const &elements)
 Construct a GeneralPhasesGenerator object with given element symbols.
 
 GeneralPhasesGenerator (Speciate const &elements, Exclude const &withtags)
 Construct a GeneralPhasesGenerator object with given element symbols excluding the species with provided tags.
 
 GeneralPhasesGenerator (Exclude const &withtags)
 Construct a GeneralPhasesGenerator object excluding the species with provided tags.
 
virtual ~GeneralPhasesGenerator ()
 Destroy this GeneralPhasesGenerator object.
 
auto setStateOfMatter (StateOfMatter option) -> GeneralPhasesGenerator &
 Set the common state of matter of the generated phases.
 
auto setAggregateState (AggregateState option) -> GeneralPhasesGenerator &
 Set the common aggregate state of the species in the generated phases.
 
auto setAdditionalAggregateStates (Vec< AggregateState > const &options) -> GeneralPhasesGenerator &
 Set additional aggregate states to be considered when searching for species in a database.
 
auto setActivityModel (ActivityModelGenerator const &model) -> GeneralPhasesGenerator &
 Set the common activity model of the generated phases.
 
auto setIdealActivityModel (ActivityModelGenerator const &model) -> GeneralPhasesGenerator &
 Set the common ideal activity model of the generated phases.
 
auto set (StateOfMatter option) -> GeneralPhasesGenerator &
 Set the common state of matter of the generated phases (equivalent to GeneralPhasesGenerator::setStateOfMatter).
 
auto set (AggregateState option) -> GeneralPhasesGenerator &
 Set the common aggregate state of the species in the generated phases (equivalent to GeneralPhasesGenerator::setAggregateState).
 
auto set (ActivityModelGenerator const &model) -> GeneralPhasesGenerator &
 Set the common activity model of the generated phases (equivalent to GeneralPhasesGenerator::setActivityModel).
 
auto stateOfMatter () const -> StateOfMatter
 Return the common state of matter of the generated phases.
 
auto aggregateState () const -> AggregateState
 Return the common aggregate state of the species composing the generated phases.
 
auto additionalAggregateStates () const -> Vec< AggregateState > const &
 Return the additional aggregate states to be considered when searching for species in a database.
 
auto species () const -> Strings const &
 Return the names of the selected species to compose the generated phase (empty if not given).
 
auto elements () const -> Strings const &
 Return the element symbols for automatic species selection that will compose the generated phases (empty if not given).
 
auto activityModel () const -> ActivityModelGenerator const &
 Return the specified common activity model of the generated phases.
 
auto idealActivityModel () const -> ActivityModelGenerator const &
 Return the specified common ideal activity model of the generated phases.
 
auto convert (Database const &db, Strings const &elements) const -> Vec< GeneralPhase >
 Convert this GeneralPhasesGenerator object into a vector of GeneralPhase objects.
 

Detailed Description

The class used to configure automatic selection of pure mineral phases.


The documentation for this class was generated from the following file: