41 #ifndef oldCyclicPolyPatch_H 42 #define oldCyclicPolyPatch_H 72 point rotationCentre_;
85 void calcTransforms();
105 bool getGeometricHalves
113 void getCentresAndAnchors
145 label getConsistentRotationFace
189 const word& patchType,
200 const word& patchType
250 virtual bool owner()
const
virtual bool order(PstreamBuffers &, const primitivePatch &, labelList &faceMap, labelList &rotation) const
Return new ordering for primitivePatch.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
label start() const noexcept
Return start label of this patch in the polyMesh face list.
'old' style cyclic polyPatch with all faces in single patch. Does ordering but cannot be used to run...
The coupledPolyPatch is an abstract base class for patches that couple regions of the computational d...
virtual void calcGeometry(PstreamBuffers &)
Calculate the patch geometry.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
virtual void initGeometry(PstreamBuffers &)
Initialise the calculation of the patch geometry.
virtual ~oldCyclicPolyPatch()
virtual void movePoints(PstreamBuffers &, const pointField &)
Correct patches after moving points.
A list of faces which address into the list of points.
TypeName("oldCyclic")
Runtime type information.
A class for handling words, derived from Foam::string.
virtual void initOrder(PstreamBuffers &, const primitivePatch &) const
Initialize ordering for primitivePatch. Does not.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO...
virtual void initUpdateMesh(PstreamBuffers &)
Initialise the update of the patch topology.
const word & name() const noexcept
The patch name.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual bool owner() const
Does this side own the patch ?
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
Buffers for inter-processor communications streams (UOPstream, UIPstream).
virtual autoPtr< polyPatch > clone(const polyBoundaryMesh &bm) const
Construct and return a clone, resetting the boundary mesh.
virtual void initMovePoints(PstreamBuffers &, const pointField &)
Initialise the patches for moving points.
virtual void updateMesh(PstreamBuffers &)
Update of the patch topology.
virtual transformType transform() const
Type of transform.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
label index() const noexcept
The index of this patch in the boundaryMesh.
virtual void write(Ostream &) const
Write the polyPatch data as a dictionary.
virtual void transformPosition(pointField &l) const
Transform a patch-based position from other side to this side.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
oldCyclicPolyPatch(const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType, const transformType transform=UNKNOWN)
Construct from components.
const vectorField::subField faceCentres() const
Return face centres.