38#ifndef cyclicSlipPointPatch_H
39#define cyclicSlipPointPatch_H
55 public cyclicPointPatch
61 TypeName(cyclicSlipPolyPatch::typeName_());
73 cyclicPointPatch(
patch, bm)
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 void applyConstraint(const label pointi, pointConstraint &) const
Accumulate the effect of constraint direction of this patch.
virtual ~cyclicSlipPointPatch()=default
Destructor.
TypeName(cyclicSlipPolyPatch::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.
cyclicSlipPointPatch(const cyclicSlipPointPatch &patch, const pointBoundaryMesh &bm, const label index, const labelUList &mapAddressing, const labelUList &reversePointMap)
Construct given the original patch and a map.
virtual const vectorField & pointNormals() const
Return point unit normals.
cyclicSlipPointPatch(const polyPatch &patch, const pointBoundaryMesh &bm)
Construct from components.
virtual label index() const
Return the index of this patch in the pointBoundaryMesh.
virtual const polyPatch & patch() const
Return the polyPatch.
friend class cyclicPointPatch
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.
Field< vector > vectorField
Specialisation of Field<T> for vector.
UList< label > labelUList
A UList of labels.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.