40 return species_.found(specieName);
46 return active_[speciei];
58 active_[speciei] =
true;
64 active_[speciei] =
false;
99 const word& specieName
102 return Y_[species_.find(specieName)];
108 const word& specieName
111 return Y_[species_.find(specieName)];
const speciesTable & species() const
Return the table of species.
PtrList< volScalarField > & Y()
Return the mass-fraction fields.
void setInactive(label speciei)
Set speciei inactive.
speciesTable species_
Table of specie names.
A class for handling words, derived from Foam::string.
void setActive(label speciei)
Set speciei active.
const List< bool > & active() const
Return the bool list of active species.
A wordList with hashed named lookup, which can be faster in some situations than using the normal lis...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers...
bool contains(const word &specieName) const
Does the mixture include this specie?