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 Mesh & mesh() const
Return mesh.
const word & name() const
Return name.
Class containing Lagrangian geometry and topology.
const fvSchemes & schemes() const
Return the fvSchemes.
const polyMesh & mesh() const
Return reference to polyMesh.
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)
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.