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