Go to the documentation of this file.
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 void updateMesh(PstreamBuffers &)
Update of the patch topology.
virtual autoPtr< polyPatch > clone(const polyBoundaryMesh &bm) const
Construct and return a clone, resetting the boundary mesh.
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.
A class for handling words, derived from Foam::string.
virtual void write(Ostream &) const
Write the polyPatch data as a dictionary.
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO.
virtual void movePoints(PstreamBuffers &, const pointField &)
Correct patches after moving points.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
TypeName("oldCyclic")
Runtime type information.
virtual void transformPosition(point &, const label facei) const
Transform a patch-based position from other side to this side.
virtual void initMovePoints(PstreamBuffers &, const pointField &)
Initialise the patches for moving points.
The coupledPolyPatch is an abstract base class for patches that couple regions of the computational d...
virtual ~oldCyclicPolyPatch()
virtual bool order(PstreamBuffers &, const primitivePatch &, labelList &faceMap, labelList &rotation) const
Return new ordering for primitivePatch.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
virtual void transformPosition(pointField &l) const
Transform a patch-based position from other side to this side.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual void initOrder(PstreamBuffers &, const primitivePatch &) const
Initialize ordering for primitivePatch. Does not.
virtual void initUpdateMesh(PstreamBuffers &)
Initialise the update of the patch topology.
label index() const noexcept
The index of this patch in the boundaryMesh.
label start() const
Return start label of this patch in the polyMesh face list.
virtual transformType transform() const
Type of transform.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
'old' style cyclic polyPatch with all faces in single patch. Does ordering but cannot be used to run....
virtual void calcGeometry(PstreamBuffers &)
Calculate the patch geometry.
const vectorField::subField faceCentres() const
Return face centres.
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 list of faces which address into the list of 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.