39 #ifndef LagrangianSubMesh_H
40 #define LagrangianSubMesh_H
157 inline bool empty()
const;
180 template<
class Type,
template<
class>
class PrimitiveField>
190 template<
class FieldType>
197 template<
class FieldType>
204 template<
class FieldType>
211 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.
Generic mesh wrapper used by volMesh, surfaceMesh, pointMesh etc.
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...
SubList< Type > sub(const List< Type > &list) const
Return a sub-list corresponding to this sub-mesh.
LagrangianGroup group() const
Return the group.
~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.
label end() const
Return end.
bool empty() const
Return whether or not the mesh is empty.
void operator+=(const LagrangianSubMesh &)
Add a sub-mesh to this one. Must relate to adjacent elements.
ClassName("LagrangianSubMesh")
Runtime type information.
label index() const
Return the index.
static tmp< FieldType > Uf(const LagrangianSubScalarSubField &fraction)
Return the face velocities at the Lagrangian locations.
const LagrangianMesh & mesh() const
Return the mesh.
label globalSize() const
Return size.
label start() const
Return start.
Pre-declare related SubField type.
A class for managing temporary objects.
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.