Go to the documentation of this file.
35 #ifndef cyclicPeriodicAMIPolyPatch_H
36 #define cyclicPeriodicAMIPolyPatch_H
107 const word& patchType,
118 const word& patchType
136 const label newStart,
137 const word& nbrPatchName
interpolationMethod
Enumeration specifying interpolation method.
A class for handling words, derived from string.
OFstream which keeps track of vertices.
word nbrPatchName_
Name of other half.
void syncTransforms() const
Synchronise the periodic transformations.
const label maxIter_
Maximum number of attempts to match the AMI geometry.
virtual ~cyclicPeriodicAMIPolyPatch()
Destructor.
word periodicPatchName_
Periodic patch name.
Base class for Arbitrary Mesh Interface (AMI) methods.
void writeOBJ(const primitivePatch &p, OBJstream &str) const
Debug: write obj files of patch (collected on master)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label periodicPatchID_
Periodic patch ID.
virtual void resetAMI(const AMIPatchToPatchInterpolation::interpolationMethod &AMIMethod=AMIPatchToPatchInterpolation::imFaceAreaWeight) const
Reset the AMI interpolator.
const label nSectors_
Number of sectors in a rotationally periodic geometry (optional)
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual label periodicPatchID() const
Periodic patch ID.
label start() const
Return start label of this patch in the polyMesh face list.
virtual transformType transform() const
Type of transform.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual autoPtr< polyPatch > clone(const polyBoundaryMesh &bm) const
Construct and return a clone, resetting the boundary mesh.
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 couped patch) components.
virtual void write(Ostream &) const
Write the polyPatch data as a dictionary.
label nTransforms_
Current number of transformations (+ve forward, -ve backward)
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
TypeName("cyclicPeriodicAMI")
Runtime type information.
Cyclic patch for periodic Arbitrary Mesh Interface (AMI)
const word & name() const
Return name.
label index() const
Return the index of this patch in the boundaryMesh.
A list of faces which address into the list of points.
Cyclic patch for Arbitrary Mesh Interface (AMI)