38#ifndef genericPointPatch_H
39#define genericPointPatch_H
61 TypeName(genericPolyPatch::typeName_());
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.
virtual label index() const
Return the index of this patch in the pointBoundaryMesh.
virtual const polyPatch & patch() const
Return the polyPatch.
facePointPatch(const facePointPatch &)=delete
No copy construct.
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.
genericPointPatch(const genericPointPatch &patch, const pointBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const labelUList &reversePointMap)
Construct given the original patch and a map.
TypeName(genericPolyPatch::typeName_())
Runtime type information.
genericPointPatch(const polyPatch &patch, const pointBoundaryMesh &bm)
Construct from polyPatch.
A pointBoundaryMesh is a pointPatch list with registered IO, a reference to the associated pointMesh,...
A patch is a list of labels that address the faces in the global face list.
UList< label > labelUList
A UList of labels.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.