34 const word& specieName
43 const word& specieName
46 return Y()[species()[specieName]];
52 const word& specieName
55 return Y()[species()[specieName]];
59 inline Foam::volScalarFieldListSlicer
62 return volScalarFieldListSlicer(
mesh(), Y_);
66 inline Foam::scalarFieldListSlice
69 const volScalarFieldListSlicer& Yslicer,
73 return Yslicer.slice(celli);
77 inline Foam::scalarFieldListSlice
80 const volScalarFieldListSlicer& Yslicer,
85 return Yslicer.patchSlice(
patchi, facei);
104 .sources()[model.
name()]
105 .sourceValue(model, source)
114 inline Foam::scalarFieldListSlice
121 return Yslicer.slice(i);
141 .sources()[model.
name()]
142 .sourceValue(model, source,
cells)
151 inline Foam::scalarFieldListSlice
158 return scalarFieldListSlice(Yslicer, i);
#define forAll(list, i)
Loop across all elements in list.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
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 DimensionedFieldListAndSlicer< scalar, volMesh > &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.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
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