33 const word& specieName
42 const word& specieName
45 return Y()[species()[specieName]];
51 const word& specieName
54 return Y()[species()[specieName]];
58 inline Foam::volScalarFieldListSlicer
61 return volScalarFieldListSlicer(mesh(), Y_);
65 inline Foam::scalarFieldListSlice
68 const volScalarFieldListSlicer& Yslicer,
72 return Yslicer.slice(celli);
76 inline Foam::scalarFieldListSlice
79 const volScalarFieldListSlicer& Yslicer,
84 return Yslicer.patchSlice(
patchi, facei);
101 Y_[i].sources()[source.
name()].sourceValue(source).ptr()
109 inline Foam::scalarFieldListSlice
116 return scalarFieldListSlice(Yslicer, i);
#define forAll(list, i)
Loop across all elements in list.
Generic GeometricField class.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
bool set(const label) const
Is element set.
const word & name() const
Return const access to the source name.
Base class for finite volume sources.
bool found(const word &) const
Does the list contain the specified name.
scalarFieldListSlice cellComposition(const volScalarFieldListSlicer &Yslicer, const label celli) const
Get the composition of an internal cell.
volScalarFieldListSlicer Yslicer() const
Get the slicer.
scalarFieldListSlice patchFaceComposition(const volScalarFieldListSlicer &Yslicer, const label patchi, const label facei) const
Get the composition of a boundary face.
scalarFieldListSlice sourceCellComposition(const PtrList< scalarField > &Yslicer, const label i) const
Get the composition of a source cell.
virtual const speciesTable & species() const =0
The table of species.
virtual PtrList< volScalarField > & Y()=0
Access the mass-fraction fields.
bool containsSpecie(const word &specieName) const
Does the mixture include this specie?
A class for handling words, derived from string.
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