Go to the documentation of this file.
39 #ifndef facePointPatch_H
40 #define facePointPatch_H
51 class processorPointPatch;
52 class cyclicPointPatch;
161 virtual label
size()
const
167 virtual label
index()
const
virtual void initUpdateMesh(PstreamBuffers &)
Initialise the update of the patch topology.
virtual bool coupled() const
Return true if this patch field is coupled.
A class for handling words, derived from Foam::string.
A pointPatch based on a polyPatch.
virtual void initGeometry(PstreamBuffers &)
Initialise the calculation of the patch geometry.
const Field< point_type > & pointNormals() const
Return point normals for patch.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
virtual bool coupled() const
Return true if this patch is geometrically coupled (i.e. faces and.
virtual const vectorField & pointNormals() const
Return point unit normals.
virtual const polyPatch & patch() const
Return the polyPatch.
Processor patch boundary needs to be such that the ordering of points in the patch is the same on bot...
virtual void calcGeometry(PstreamBuffers &)
Calculate the patch geometry.
Basic pointPatch represents a set of points from the mesh.
Cyclic patch for post-processing.
virtual ~facePointPatch()=default
Destructor.
virtual label index() const
Return the index of this patch in the pointBoundaryMesh.
const polyPatch & polyPatch_
Reference to the underlying polyPatch.
virtual label size() const
Return size.
virtual void movePoints(PstreamBuffers &, const pointField &)
Correct patches after moving points.
A patch is a list of labels that address the faces in the global face list.
virtual const pointField & localPoints() const
Return pointField of points in patch.
virtual const labelList & meshPoints() const
Return mesh points.
static autoPtr< facePointPatch > New(const polyPatch &, const pointBoundaryMesh &)
Return a pointer to a new patch created on freestore from polyPatch.
facePointPatch(const facePointPatch &)=delete
No copy construct.
TypeName(polyPatch::typeName_())
Runtime type information.
declareRunTimeSelectionTable(autoPtr, facePointPatch, polyPatch,(const polyPatch &patch, const pointBoundaryMesh &bm),(patch, bm))
label index() const noexcept
The index of this patch in the boundaryMesh.
virtual void updateMesh(PstreamBuffers &)
Update of the patch topology.
const Field< point_type > & localPoints() const
Return pointField of points in patch.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
void operator=(const facePointPatch &)=delete
No copy assignment.
virtual const word & name() const
Return name.
virtual void initMovePoints(PstreamBuffers &, const pointField &)
Initialise the patches for moving points.
const word & name() const noexcept
The patch name.
const labelList & meshPoints() const
Return labelList of mesh points in patch.