37#ifndef Foam_wedgePointPatch_H
38#define Foam_wedgePointPatch_H
65 TypeName(wedgePolyPatch::typeName_());
126 return wedgePolyPatch_.n();
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
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.
A pointBoundaryMesh is a pointPatch list with registered IO, a reference to the associated pointMesh,...
Accumulates point constraints through successive applications of the applyConstraint function.
A patch is a list of labels that address the faces in the global face list.
virtual void applyConstraint(const label pointi, pointConstraint &) const
Accumulate the effect of constraint direction of this patch.
virtual const word & constraintType() const
Return the constraint type this pointPatch implements.
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 vector & n() const noexcept
Return the normal to the patch.
TypeName(wedgePolyPatch::typeName_())
Runtime type information.
wedgePointPatch(const polyPatch &patch, const pointBoundaryMesh &bm)
Construct from polyPatch.
Wedge front and back plane patch.
A class for handling words, derived from Foam::string.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
UList< label > labelUList
A UList of labels.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.