35 #ifndef LagrangianPatch_H
36 #define LagrangianPatch_H
47 class LagrangianBoundaryMesh;
133 return patch_.
name();
145 return boundaryMesh_;
156 template<
class GeometricField,
class Type>
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
GeoMesh::template PatchField< Type > Patch
Type of the patch field of which the Boundary is composed.
Boundary part of a Lagrangian mesh. Just a list of Lagrangian patches with some added convenience fun...
Class containing Lagrangian geometry and topology.
Base class for Lagrangian patches.
virtual bool coupled() const
Return whether or not this patch is coupled.
virtual void initEvaluate(PstreamBuffers &, LagrangianMesh &mesh, const LagrangianScalarInternalDynamicField &fraction) const
Initialise evaluation of changes in elements that have tracked to.
const objectRegistry & db() const
Return the local object registry.
const polyPatch & patch() const
Return the patch.
virtual const word & name() const
Return name.
static autoPtr< LagrangianPatch > New(const word &type, const polyPatch &patch, const LagrangianBoundaryMesh &boundaryMesh)
Return a pointer to a new LagrangianPatch of specified type.
virtual ~LagrangianPatch()
Destructor.
declareRunTimeSelectionTable(autoPtr, LagrangianPatch, polyPatch,(const polyPatch &patch, const LagrangianBoundaryMesh &boundaryMesh),(patch, boundaryMesh))
Declare run-time constructor selection tables.
virtual void partition() const
Update for mesh changes.
void operator=(const LagrangianPatch &)=delete
Disallow default bitwise assignment.
const LagrangianBoundaryMesh & boundaryMesh() const
Return the boundary mesh.
virtual void evaluate(PstreamBuffers &, LagrangianMesh &, const LagrangianScalarInternalDynamicField &fraction) const
Evaluate changes in elements that have tracked to this patch.
LagrangianPatch(const polyPatch &, const LagrangianBoundaryMesh &)
Construct from a patch and a boundary mesh.
virtual const LagrangianSubMesh & mesh() const
Return the sub-mesh associated with this patch.
TypeName(polyPatch::typeName_())
Runtime type information.
const GeometricField::Patch & lookupPatchField(const word &name)
Lookup and return the patchField of the named field from the.
Mesh that relates to a sub-section of a Lagrangian mesh. This is used to construct fields that relate...
Buffers for inter-processor communications streams (UOPstream, UIPstream).
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Registry of regIOobjects.
const word & name() const
Return name.
A patch is a list of labels that address the faces in the global face list.
virtual bool coupled() const
Return true if this patch is geometrically coupled (i.e. faces and.
A class for handling words, derived from string.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.