39 #ifndef LagrangianSubMesh_H
40 #define LagrangianSubMesh_H
75 const uint64_t index_;
160 inline bool empty()
const;
169 inline uint64_t
index()
const;
189 template<
class Type,
template<
class>
class PrimitiveField>
199 template<
class FieldType>
206 template<
class FieldType>
213 template<
class FieldType>
220 template<
class FieldType>
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.
Class containing Lagrangian geometry and topology.
Mesh that relates to a sub-section of a Lagrangian mesh. This is used to construct fields that relate...
LagrangianGroup group() const
Return the group.
const Time & time() const
Return time.
~LagrangianSubMesh()
Destructor.
static tmp< FieldType > nf(const LagrangianSubScalarSubField &fraction)
Return the face normals at the Lagrangian locations.
label size() const
Return size.
LagrangianSubMesh Mesh
Mesh type.
uint64_t index() const
Return the index.
label end() const
Return end.
bool empty() const
Return whether or not the mesh is empty.
const objectRegistry & db() const
Return the object registry.
void operator+=(const LagrangianSubMesh &)
Add a sub-mesh to this one. Must relate to adjacent elements.
ClassName("LagrangianSubMesh")
Runtime type information.
static tmp< FieldType > Uf(const LagrangianSubScalarSubField &fraction)
Return the face velocities at the Lagrangian locations.
word complete(const word &subFieldName) const
Return the name of a field corresponding to the complete mesh.
const LagrangianMesh & mesh() const
Return the mesh.
word sub(const word &fieldName) const
Return the name of a field corresponding to this sub-mesh.
label globalSize() const
Return size.
label start() const
Return start.
Pre-declare related SubField type.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Registry of regIOobjects.
A class for managing temporary objects.
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.
LagrangianGroup
Lagrangian group enumeration.