35 #ifndef cyclicACMIPolyPatch_H 36 #define cyclicACMIPolyPatch_H 58 static const scalar tolerance_;
61 const word nonOverlapPatchName_;
64 mutable label nonOverlapPatchID_;
73 mutable bool updated_;
112 const word& patchType,
123 const word& patchType
141 const label newStart,
142 const word& nbrPatchName,
143 const word& nonOverlapPatchName
Cyclic patch for Arbitrarily Coupled Mesh Interface (ACMI)
void setUpdated(bool flag) const
Reset the updated flag.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual const cyclicACMIPolyPatch & neighbPatch() const
Return a reference to the neighbour patch.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual const scalarField & tgtMask() const
Return the mask/weighting for the target patch.
virtual autoPtr< PrimitivePatch< FaceList, PointField > > clone() const
Construct and return a clone.
virtual void write(Ostream &) const
Write the polyPatch data as a dictionary.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
const polyPatch & nonOverlapPatch() const
Return a const reference to the non-overlapping patch.
A list of faces which address into the list of points.
const word & neighbPatchName() const
Neighbour patch name.
virtual const scalarField & srcMask() const
Return the mask/weighting for the source patch.
A class for handling words, derived from string.
virtual void initMovePoints(PstreamBuffers &pBufs, const pointField &)
Initialise the patches for moving points.
cyclicACMIPolyPatch(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.
Cyclic patch for Arbitrary Mesh Interface (AMI)
bool updated() const
Return access to the updated flag.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
const word & nonOverlapPatchName() const
Non-overlapping patch name.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
TypeName("cyclicACMI")
Runtime type information.
virtual bool order(PstreamBuffers &, const primitivePatch &, labelList &faceMap, labelList &rotation) const
Return new ordering for primitivePatch.
virtual void initGeometry(PstreamBuffers &)
Initialise the calculation of the patch geometry.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
const scalarField & mask() const
Mask field where 1 = overlap, 0 = no-overlap.
virtual void resetAMI() const
Reset the AMI interpolator.
virtual void calcGeometry(const primitivePatch &referPatch, const pointField &thisCtrs, const vectorField &thisAreas, const pointField &thisCc, const pointField &nbrCtrs, const vectorField &nbrAreas, const pointField &nbrCc)
Calculate the patch geometry.
virtual ~cyclicACMIPolyPatch()
Destructor.
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...
A patch is a list of labels that address the faces in the global face list.
virtual void initOrder(PstreamBuffers &, const primitivePatch &) const
Initialize ordering for primitivePatch. Does not.
virtual label nonOverlapPatchID() const
Non-overlapping patch ID.
static scalar tolerance()
Overlap tolerance.