34 const word& specieName
43 const word& specieName
46 return Y()[species()[specieName]];
52 const word& specieName
55 return Y()[species()[specieName]];
66 inline Foam::scalarFieldListSlice
73 return Yslicer.
slice(celli);
77 inline Foam::scalarFieldListSlice
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...
Class to provide list slices to different parts of a geometric field.
FieldListSlice< Type > patchSlice(const label patchi, const label patchElementi) const
Return a slice for a patch element.
FieldListSlice< Type > slice(const label elementi) const
Return a slice for an internal element.
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 patchFaceComposition(const GeometricFieldListSlicer< scalar > &Yslicer, const label patchi, const label facei) const
Get the composition of a boundary face.
scalarFieldListSlice sourceCellComposition(const DimensionedFieldListAndSlicer< scalar, fvMesh > &Yslicer, const label i) const
Get the composition of a source cell.
GeometricFieldListSlicer< scalar > Yslicer() const
Get the slicer.
scalarFieldListSlice cellComposition(const GeometricFieldListSlicer< scalar > &Yslicer, const label celli) const
Get the composition of an internal 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