35 #ifndef singleComponentMixture_H
36 #define singleComponentMixture_H
50 template<
class ThermoType>
116 const scalarFieldListSlice&
125 const scalarFieldListSlice&
134 const scalarFieldListSlice&,
151 <<
"Specie index must be zero for a single component "
static const List< bool > & null()
Return a null List.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A wordList with hashed indices for faster lookup by name.
static const hashedWordList null
An empty hashedWordList.
Single component mixture.
const ThermoType & specieThermo(const label speciei) const
Return thermo based on index.
const transportMixtureType & transportMixture(const scalarFieldListSlice &) const
Return the mixture for transport properties.
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
static word typeName()
Return the instantiated type name.
ThermoType transportMixtureType
Mixing type for transport properties.
ThermoType thermoMixtureType
Mixing type for thermodynamic properties.
const boolList & speciesActive() const
Access the specie active flags.
void read(const dictionary &)
Read dictionary.
const speciesTable & species() const
Return the table of species.
singleComponentMixture(const dictionary &)
Construct from a dictionary.
const thermoMixtureType & thermoMixture(const scalarFieldListSlice &) const
Return the mixture for thermodynamic properties.
A class for handling words, derived from string.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
String typeName(const std::type_info &info)
Return the un-mangled name given the standard type info.