32 const word& specieName
56 return Y()[species()[specieName]];
63 return Y()[species()[specieName]];
72 return species()[Yi.
member()];
83 inline Foam::scalarFieldListSlice
90 return Yslicer.
slice(i);
110 .sources()[injection.
name()]
111 .value(injection, subMesh)
120 inline Foam::scalarFieldListSlice
128 return Yslicer.slice(subi);
#define forAll(list, i)
Loop across all elements in list.
Class to provide list slices to different parts of a dimensioned field.
FieldListSlice< Type > slice(const label elementi) const
Return a slice for an internal element.
Generic GeometricField class.
static word member(const word &name)
Return member (name without the extension)
Base class for Lagrangian injections. Minimal wrapper over LagrangianSource. Implements some utility ...
const word & name() const
The source name.
Mesh that relates to a sub-section of a Lagrangian mesh. This is used to construct fields that relate...
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.
bool found(const word &) const
Does the list contain the specified name.
DimensionedFieldListSlicer< scalar > Yslicer() const
Get the slicer.
scalarFieldListSlice elementComposition(const DimensionedFieldListSlicer< scalar > &Yslicer, const label i) const
Get the composition of an element.
scalarFieldListSlice injectionElementComposition(const DimensionedFieldListAndSlicer< scalar, LagrangianSubMesh > &, const label subi) const
Get the composition of an element in an injection.
virtual const speciesTable & species() const =0
Return the table of species.
virtual PtrList< LagrangianScalarDynamicField > & Y()=0
Access the mass-fraction fields.
bool containsSpecie(const word &specieName) const
Does the mixture include this specie?
label specieIndex(const LagrangianScalarDynamicField &) const
Access the specie index of the given mass-fraction field.
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