33 template<
class CellMesh,
class Type,
template<
class>
class PrimitiveField>
37 const DimensionedField<Type, LagrangianMesh, PrimitiveField>& lPsi
40 return accumulate<CellMesh>(lPsi, lPsi.name());
44 template<
class CellMesh,
class Type,
template<
class>
class PrimitiveField>
48 const DimensionedField<Type, LagrangianMesh, PrimitiveField>& lPsi,
52 const LagrangianMesh&
mesh = lPsi.mesh();
59 ).ref().template accumulate<CellMesh>(lPsi);
63 template<
class CellMesh,
class Type,
template<
class>
class PrimitiveField>
70 accumulate<CellMesh>(lPsi, vPsi, lPsi.
name());
74 template<
class CellMesh,
class Type,
template<
class>
class PrimitiveField>
88 ).ref().template accumulate<CellMesh>(lPsi, vPsi);
Functions for accumulating Lagrangian values into cell fields.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const GeoMesh & mesh() const
Return mesh.
const word & name() const
Return name.
Class containing Lagrangian geometry and topology.
const fvSchemes & schemes() const
Return the fvSchemes.
A class for managing temporary objects.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
tmp< DimensionedField< Type, CellMesh > > accumulate(const DimensionedField< Type, LagrangianMesh, PrimitiveField > &lPsi, const word &name)
Accumulate a Lagrangian field into a finite volume field.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)