38#ifndef Foam_pointPatch_H
39#define Foam_pointPatch_H
52class pointBoundaryMesh;
133 virtual const word&
name()
const = 0;
136 virtual label
size()
const = 0;
139 virtual label
index()
const = 0;
144 return boundaryMesh_;
Buffers for inter-processor communications streams (UOPstream, UIPstream).
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Accumulates point constraints through successive applications of the applyConstraint function.
Basic pointPatch represents a set of points from the mesh.
virtual void movePoints(PstreamBuffers &, const pointField &)
Correct patches after moving points.
virtual void applyConstraint(const label pointi, pointConstraint &) const
Accumulate the effect of constraint direction of this patch.
virtual const labelList & meshPoints() const =0
Return mesh points.
virtual bool coupled() const
Return true if this patch field is coupled.
virtual const word & name() const =0
Return name.
virtual void initGeometry(PstreamBuffers &)
Initialise the calculation of the patch geometry.
virtual const word & constraintType() const
Return the constraint type this pointPatch implements.
virtual const vectorField & localPoints() const =0
Return pointField of points in patch.
virtual label index() const =0
Return the index of this patch in the pointBoundaryMesh.
const pointBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
pointPatch(const pointBoundaryMesh &bm)
Construct from boundary mesh.
TypeName("basePatch")
Runtime type information.
virtual void initUpdateMesh(PstreamBuffers &)
Initialise the update of the patch topology.
virtual ~pointPatch()=default
Destructor.
virtual label size() const =0
Return size.
pointPatch(const pointPatch &)=delete
No copy construct.
void operator=(const pointPatch &)=delete
No copy assignment.
virtual void calcGeometry(PstreamBuffers &)
Calculate the patch geometry.
virtual void updateMesh(PstreamBuffers &)
Update of the patch topology.
virtual void initMovePoints(PstreamBuffers &, const pointField &)
Initialise the patches for moving points.
virtual const vectorField & pointNormals() const =0
Return point unit normals.
A class for handling words, derived from Foam::string.
static const word null
An empty word.
PtrList< pointPatch > pointPatchList
Store lists of pointPatch as a PtrList.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.