35 #ifndef cyclicAMIFvPatch_H 36 #define cyclicAMIFvPatch_H 79 TypeName(cyclicAMIPolyPatch::typeName_());
100 return cyclicAMIPolyPatch_;
110 virtual bool owner()
const 112 return cyclicAMIPolyPatch_.
owner();
118 return refCast<const cyclicAMIFvPatch>
127 return cyclicAMIPolyPatch_.
AMIs();
145 return cyclicAMIPolyPatch_.
parallel();
151 return cyclicAMIPolyPatch_.
forwardT();
157 return cyclicAMIPolyPatch_.
reverseT();
162 return refCast<const cyclicAMIFvPatch>
183 return cyclicAMIPolyPatch_.
interpolate(fld, defaultValues);
193 return cyclicAMIPolyPatch_.
interpolate(tFld, defaultValues);
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Return neighbour field.
virtual label neighbPatchID() const
Neighbour patch ID.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< Field< Type > > interpolate(const Field< Type > &fld, const UList< Type > &defaultValues=UList< Type >()) const
virtual bool parallel() const
Are the cyclic planes parallel.
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const
Return the values of the given internal data adjacent to.
commsTypes
Types of communications.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Cyclic patch for Arbitrary Mesh Interface (AMI)
To & refCast(From &r)
Reference type cast template function.
An abstract base class for patches that couple regions of the computational domain e...
bool applyLowWeightCorrection() const
Return true if applying the low weight correction.
const PtrList< AMIPatchToPatchInterpolation > & AMIs() const
Return a reference to the AMI interpolators.
tmp< Field< Type > > interpolate(const Field< Type > &fld, const UList< Type > &defaultValues=UList< Type >()) const
Interpolate field.
virtual const tensorField & forwardT() const
Return face transformation tensor.
const cyclicAMIFvPatch & neighbFvPatch() const
virtual const PtrList< AMIPatchToPatchInterpolation > & AMIs() const
Return a reference to the AMI interpolators.
virtual bool applyLowWeightCorrection() const
Return true if applying the low weight correction.
const List< vectorTensorTransform > & AMITransforms() const
Return a reference to the AMI transforms.
virtual bool parallel() const
Are the cyclic planes parallel.
const cyclicAMIPolyPatch & cyclicAMIPatch() const
Return local reference cast into the cyclic patch.
An abstract base class for cyclic AMI coupled interfaces.
tmp< scalarField > nbrDeltan() const
Return the neighbour patch-normal component of the deltas.
const polyPatch & patch() const
Return the polyPatch.
cyclicAMIFvPatch(const polyPatch &patch, const fvBoundaryMesh &bm)
Construct from polyPatch.
Cyclic patch for Arbitrary Mesh Interface (AMI)
virtual label neighbPatchID() const
Return the neighbour patch ID.
tmp< scalarField > deltan() const
Return the patch-normal component of the deltas.
virtual bool owner() const
Is this side the owner?
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
virtual const List< vectorTensorTransform > & AMITransforms() const
Return a reference to the AMI transforms.
virtual const cyclicAMIFvPatch & neighbPatch() const
Return the neighbour patch.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
TypeName(cyclicAMIPolyPatch::typeName_())
Runtime type information.
virtual bool coupled() const
Return true if this patch is coupled. This is equivalent.
virtual bool owner() const
Does this side own the patch?
virtual tmp< vectorField > delta() const
Return delta (P to N) vectors across coupled patch.
virtual void makeWeights(scalarField &) const
Make patch weighting factors.
A class for managing temporary objects.
virtual const tensorField & forwardT() const
Return face transformation tensor.
A patch is a list of labels that address the faces in the global face list.
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.