36 #ifndef LagrangianAccumulationScheme_H
37 #define LagrangianAccumulationScheme_H
72 virtual void accumulate
145 template<
class CellMesh,
template<
class>
class PrimitiveField>
152 template<
class CellMesh,
template<
class>
class PrimitiveField>
174 #define defineLagrangianAccumulationScheme(Type, nullArg) \
178 namespace Lagrangian \
180 typedef accumulationScheme<Type> Type##AccumulationScheme; \
182 defineNamedTemplateTypeNameAndDebug \
184 Type##AccumulationScheme, \
188 defineTemplateRunTimeSelectionTable \
190 Type##AccumulationScheme, \
197 #define makeLagrangianAccumulationScheme(Type, AccumulationSchemeType) \
201 namespace Lagrangian \
203 typedef accumulationScheme<Type> Type##AccumulationScheme; \
205 namespace accumulationSchemes \
207 typedef AccumulationSchemeType<Type> \
208 Type##AccumulationSchemeType; \
210 defineNamedTemplateTypeNameAndDebug \
212 Type##AccumulationSchemeType, \
216 addToRunTimeSelectionTable \
218 Type##AccumulationScheme, \
219 Type##AccumulationSchemeType, \
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Pre-declare SubField and related Field type.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Class containing Lagrangian geometry and topology.
Basic cell Lagrangian accumulation scheme.
accumulationScheme(const LagrangianMesh &mesh)
Construct from a mesh.
TypeName("accumulationScheme")
Runtime type information.
declareRunTimeSelectionTable(tmp, accumulationScheme, Istream,(const LagrangianMesh &mesh, Istream &is),(mesh, is))
Declare run-time constructor selection tables.
static tmp< accumulationScheme< Type > > New(const LagrangianMesh &mesh, Istream &is)
Return a pointer to a new accumulationScheme.
void operator=(const accumulationScheme &)=delete
Disallow default bitwise assignment.
const LagrangianMesh & mesh_
Reference to the mesh.
virtual ~accumulationScheme()
Destructor.
const LagrangianMesh & mesh() const
Return mesh reference.
Reference counter for various OpenFOAM components.
A class for managing temporary objects.
Macros to ease declaration of run-time selection tables.