41 #ifndef cyclicPeriodicAMIPolyPatch_H 42 #define cyclicPeriodicAMIPolyPatch_H 69 mutable label nTransforms_;
72 const label nSectors_;
81 void syncTransforms()
const;
87 virtual void resetAMI()
const;
106 const word& patchType,
117 const word& patchType
135 const label newStart,
136 const word& nbrPatchName
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void write(Ostream &) const
Write the polyPatch data as a dictionary.
label start() const noexcept
Return start label of this patch in the polyMesh face list.
cyclicPeriodicAMIPolyPatch(const word &name, const label size, const label start, const label index, const polyBoundaryMesh &bm, const word &patchType, const transformType transform=UNKNOWN)
Construct from (base coupled patch) components.
virtual ~cyclicPeriodicAMIPolyPatch()
Destructor.
A list of faces which address into the list of points.
A class for handling words, derived from Foam::string.
Cyclic patch for Arbitrary Mesh Interface (AMI)
A polyBoundaryMesh is a polyPatch list with additional search methods and registered IO...
const word & name() const noexcept
The patch name.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
An OFstream that keeps track of vertices and provides convenience output methods for OBJ files...
TypeName("cyclicPeriodicAMI")
Runtime type information.
virtual autoPtr< polyPatch > clone(const polyBoundaryMesh &bm) const
Construct and return a clone, resetting the boundary mesh.
virtual transformType transform() const
Type of transform.
Cyclic patch for periodic Arbitrary Mesh Interface (AMI)
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.
word nbrPatchName_
Name of other half.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())