15class SpeciesThermoInterpType;
77 shared_ptr<TransportData> transport;
80 shared_ptr<SpeciesThermoInterpType>
thermo;
A map of string keys to values whose type can vary at runtime.
A wrapper for a variable whose type is determined at runtime.
Contains data about a single chemical species.
double m_molecularWeight
The molecular weight of the species, in atomic mass units.
Composition composition
The elemental composition of the species.
string name
The name of the species.
void setMolecularWeight(double weight)
Set the molecular weight of the species.
double molecularWeight()
The molecular weight [amu] of the species.
double charge
The electrical charge on the species, in units of the elementary charge.
double size
The effective size of the species.
shared_ptr< SpeciesThermoInterpType > thermo
Thermodynamic data for the species.
Species(const Species &)=delete
Species objects are not copyable or assignable.
AnyMap input
Input parameters used to define a species, for example from a YAML input file.
Base class for a phase with thermodynamic properties.
This file contains definitions of constants, types and terms that are used in internal routines and a...
Namespace for the Cantera kernel.
const double Undef
Fairly random number to be used to initialize variables against to see if they are subsequently defin...
vector< shared_ptr< Species > > getSpecies(const AnyValue &items)
Generate Species objects for each item (an AnyMap) in items.
unique_ptr< Species > newSpecies(const AnyMap &node)
Create a new Species object from an AnyMap specification.
map< string, double > Composition
Map from string names to doubles.