36 void addPhase(shared_ptr<Solution> soln,
bool includeAdjacent=
true);
40 void addPhase(shared_ptr<ThermoPhase> thermo, shared_ptr<Kinetics> kin={},
41 shared_ptr<Transport> tran={});
69 void setUnits(
const map<string, string>& units={});
81 vector<shared_ptr<Solution>> m_phases;
Header for unit conversion utilities, which are used to translate user input from input files (See In...
A map of string keys to values whose type can vary at runtime.
A class for generating full YAML input files from multiple data sources.
bool m_skip_user_defined
See skipUserDefined()
string toYamlString() const
Return a YAML string that contains the definitions for the added phases, species, and reactions.
void setPrecision(long int n)
For output floating point values, set the maximum number of digits to the right of the decimal point.
void setUnitSystem(const UnitSystem &units=UnitSystem())
Set the units to be used in the output file.
long int m_float_precision
See setPrecision()
void skipUserDefined(bool skip=true)
By default user-defined data present in the input is preserved on output.
AnyMap m_header
Top-level information used in YAML header block.
void setHeader(const AnyMap &header)
Include top-level information used in YAML header block.
void addPhase(shared_ptr< Solution > soln, bool includeAdjacent=true)
Include a phase definition for the specified Solution object.
UnitSystem m_output_units
Top-level units directive for the output file.
void toYamlFile(const string &filename) const
Write the definitions for the added phases, species and reactions to the specified file.
void setUnits(const map< string, string > &units={})
Set the units to be used in the output file.
This file contains definitions of constants, types and terms that are used in internal routines and a...
Namespace for the Cantera kernel.