40#ifndef symmetryPointPatch_H
41#define symmetryPointPatch_H
63 TypeName(symmetryPolyPatch::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.
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.
TypeName(symmetryPolyPatch::typeName_())
Runtime type information.
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.
symmetryPointPatch(const polyPatch &patch, const pointBoundaryMesh &bm)
Construct from polyPatch.
symmetryPointPatch(const symmetryPointPatch &patch, const pointBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const labelUList &reversePointMap)
Construct given the original patch and a map.
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.