43#ifndef basicMultiComponentMixture_H
44#define basicMultiComponentMixture_H
83 TypeName(
"basicMultiComponentMixture");
115 inline bool active(label speciei)
const;
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const List< bool > & active() const
Return the bool list of active species.
basicMultiComponentMixture basicMixtureType
The base class of the mixture.
List< bool > active_
List of specie active flags.
void setActive(label speciei)
Set speciei active.
const speciesTable & species() const
Return the table of species.
TypeName("basicMultiComponentMixture")
Run time type information.
void setInactive(label speciei)
Set speciei inactive.
speciesTable species_
Table of specie names.
virtual ~basicMultiComponentMixture()=default
Destructor.
PtrList< volScalarField > & Y()
Return the mass-fraction fields.
PtrList< volScalarField > Y_
Species mass fractions.
bool contains(const word &specieName) const
Does the mixture include this specie?
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
A class for handling words, derived from Foam::string.
const dictionary & thermoDict
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.