37 const word& specieName
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)];
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.
void setActive(label speciei)
Set speciei active.
const speciesTable & species() const
Return the table of species.
void setInactive(label speciei)
Set speciei inactive.
speciesTable species_
Table of specie names.
PtrList< volScalarField > & Y()
Return the mass-fraction fields.
bool contains(const word &specieName) const
Does the mixture include this specie?
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.