35 #ifndef LagrangianPatch_H
36 #define LagrangianPatch_H
47 class LagrangianBoundaryMesh;
145 return boundaryMesh_;
159 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.
const polyPatch & poly() const
Return the polyPatch.
virtual void evaluate(PstreamBuffers &, LagrangianMesh &, const LagrangianInternalScalarDynamicField &fraction) const
Evaluate changes in elements that have tracked to this patch.
const Time & time() const
Return time.
declareRunTimeSelectionTable(autoPtr, LagrangianPatch, polyPatch,(const polyPatch &poly, const LagrangianBoundaryMesh &boundaryMesh),(poly, boundaryMesh))
Declare run-time constructor selection tables.
virtual bool coupled() const
Return whether or not this patch is coupled.
const objectRegistry & db() const
Return the local object registry.
static autoPtr< LagrangianPatch > New(const word &type, const polyPatch &poly, const LagrangianBoundaryMesh &boundaryMesh)
Return a pointer to a new LagrangianPatch of specified type.
virtual const word & name() const
Return name.
virtual ~LagrangianPatch()
Destructor.
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 initEvaluate(PstreamBuffers &, LagrangianMesh &mesh, const LagrangianInternalScalarDynamicField &fraction) const
Initialise evaluation of changes in elements that have tracked to.
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).
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
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.