38 #ifndef basicMultiComponentMixture_H 39 #define basicMultiComponentMixture_H 78 TypeName(
"basicMultiComponentMixture");
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
PtrList< volScalarField > Y_
Species mass fractions.
A list of keyword definitions, which are a keyword followed by any number of values (e...
basicMultiComponentMixture basicMixtureType
The base class of the mixture.
basicMultiComponentMixture(const dictionary &, const wordList &specieNames, const fvMesh &, const word &)
Construct from dictionary, species names, mesh and phase name.
const speciesTable & species() const
Return the table of species.
TypeName("basicMultiComponentMixture")
Run time type information.
PtrList< volScalarField > & Y()
Return the mass-fraction fields.
List< bool > active_
List of specie active flags.
void setInactive(label speciei)
Set speciei inactive.
speciesTable species_
Table of specie names.
A class for handling words, derived from string.
virtual ~basicMultiComponentMixture()
Destructor.
void setActive(label speciei)
Set speciei active.
const List< bool > & active() const
Return the bool list of active species.
A wordList with hashed indices for faster lookup by name.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
Mesh data needed to do the Finite Volume discretisation.
bool contains(const word &specieName) const
Does the mixture include this specie?