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

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

#include <Phases.hpp>

Collaboration diagram for CondensedPhases:
[legend]

Public Member Functions

 CondensedPhases ()
 Construct a default CondensedPhases object.
 
 CondensedPhases (StringList const &species)
 Construct a CondensedPhases object with given species names.
 
 CondensedPhases (Speciate const &elements)
 Construct a CondensedPhases object with given element symbols.
 
 CondensedPhases (Speciate const &elements, Exclude const &withtags)
 Construct a CondensedPhases object with given element symbols excluding the species with provided tags.
 
 CondensedPhases (Exclude const &withtags)
 Construct a CondensedPhases object excluding the species with provided tags.
 
auto initialize () -> void
 Initialize the default attributes of this CondensedPhases 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 condensed phases.


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