39#ifndef Foam_facePointPatch_H
40#define Foam_facePointPatch_H
191 virtual label
size()
const
197 virtual label
index()
const
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
const labelList & meshPoints() const
Return labelList of mesh points in patch.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
void size(const label n)
Older name for setAddressableSize.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static autoPtr< T > NewFrom(Args &&... args)
Construct autoPtr from derived type with forwarding arguments.
Cyclic patch for post-processing.
virtual ~facePointPatch()=default
Destructor.
virtual label size() const
Return size.
virtual const word & name() const
Return name.
virtual void updateMesh(PstreamBuffers &)
Update of the patch topology.
friend class processorPointPatch
virtual void initMovePoints(PstreamBuffers &, const pointField &)
Initialise the patches for moving points.
virtual bool coupled() const
Return true if this patch field is coupled.
virtual label index() const
Return the index of this patch in the pointBoundaryMesh.
virtual const pointField & localPoints() const
Return pointField of points in patch.
const polyPatch & polyPatch_
Reference to the underlying polyPatch.
virtual const polyPatch & patch() const
Return the polyPatch.
virtual void calcGeometry(PstreamBuffers &)
Calculate the patch geometry.
virtual void initGeometry(PstreamBuffers &)
Initialise the calculation of the patch geometry.
facePointPatch(const facePointPatch &)=delete
No copy construct.
void operator=(const facePointPatch &)=delete
No copy assignment.
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.
friend class cyclicPointPatch
virtual const labelList & meshPoints() const
Return mesh points.
virtual void movePoints(PstreamBuffers &, const pointField &)
Correct patches after moving points.
virtual void initUpdateMesh(PstreamBuffers &)
Initialise the update of the patch topology.
virtual const vectorField & pointNormals() const
Return point unit normals.
static autoPtr< facePointPatch > New(const polyPatch &, const pointBoundaryMesh &)
Return a pointer to a new patch created on freestore from polyPatch.
declareRunTimeSelectionTable(autoPtr, facePointPatch, polyPatch,(const polyPatch &patch, const pointBoundaryMesh &bm),(patch, bm))
TypeName(polyPatch::typeName_())
Runtime type information.
const word & name() const noexcept
The patch name.
A pointBoundaryMesh is a pointPatch list with registered IO, a reference to the associated pointMesh,...
friend class pointBoundaryMesh
pointPatch(const pointPatch &)=delete
No copy construct.
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.
Processor patch boundary needs to be such that the ordering of points in the patch is the same on bot...
A class for handling words, derived from Foam::string.
List< label > labelList
A List of labels.
Field< vector > vectorField
Specialisation of Field<T> for vector.
vectorField pointField
pointField is a vectorField.
UList< label > labelUList
A UList of labels.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes).
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.