38#ifndef cyclicAMIFvPatch_H
39#define cyclicAMIFvPatch_H
88 TypeName(cyclicAMIPolyPatch::typeName_());
144 return cyclicAMIPolyPatch_;
153 virtual bool owner()
const
155 return cyclicAMIPolyPatch_.
owner();
161 return refCast<const cyclicAMIFvPatch>
170 return cyclicAMIPolyPatch_.
AMI();
183 return cyclicAMIPolyPatch_.
parallel();
189 return cyclicAMIPolyPatch_.
forwardT();
195 return cyclicAMIPolyPatch_.
reverseT();
200 return refCast<const cyclicAMIFvPatch>
232 return cyclicAMIPolyPatch_.
interpolate(tFld, defaultValues);
Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer(aMesh.points(), aMesh.edges(), fileName(aMesh.mesh().time().globalPath()/"finiteArea-edges"));writer.writeGeometry();writer.beginCellData(4);writer.writeProcIDs();{ Field< scalar > fld(faMeshTools::flattenEdgeField(aMesh.magLe(), true))
Interpolation class dealing with transfer of data between two primitive patches with an arbitrary mes...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
commsTypes
Types of communications.
Addressing for all faces on surface of mesh. Can either be read from polyMesh or from triSurface....
An abstract base class for patches that couple regions of the computational domain e....
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
virtual bool parallel() const
Are the cyclic planes parallel.
virtual const tensorField & forwardT() const
Return face transformation tensor.
Cyclic patch for Arbitrary Mesh Interface (AMI)
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Return neighbour field.
TypeName(cyclicAMIPolyPatch::typeName_())
Runtime type information.
cyclicAMIFvPatch(const polyPatch &patch, const fvBoundaryMesh &bm)
Construct from polyPatch.
virtual bool owner() const
void makeWeights(scalarField &) const
Make patch weighting factors.
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
virtual void makeNonOrthoDeltaCoeffs(scalarField &) const
Correct patch non-ortho deltaCoeffs.
const cyclicAMIPolyPatch & cyclicAMIPatch() const
Return local reference cast into the cyclic patch.
virtual label neighbPatchID() const
Return neighbour.
virtual void makeDeltaCoeffs(scalarField &) const
Correct patch deltaCoeffs.
virtual const cyclicAMIFvPatch & neighbPatch() const
Return processor number.
virtual void movePoints()
Correct patches after moving points.
virtual bool coupled() const
virtual bool parallel() const
Are the cyclic planes parallel.
const cyclicAMIFvPatch & neighbFvPatch() const
virtual tmp< vectorField > delta() const
Return delta (P to N) vectors across coupled patch.
virtual void makeNonOrthoCorrVectors(vectorField &) const
Correct patch non-ortho correction vectors.
tmp< Field< Type > > interpolate(const Field< Type > &fld, const UList< Type > &defaultValues=UList< Type >()) const
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const
virtual const AMIPatchToPatchInterpolation & AMI() const
Return a reference to the AMI interpolator.
tmp< Field< Type > > interpolate(const tmp< Field< Type > > &tFld, const UList< Type > &defaultValues=UList< Type >()) const
virtual bool applyLowWeightCorrection() const
Return true if applying the low weight correction.
virtual const tensorField & forwardT() const
Return face transformation tensor.
An abstract base class for cyclic AMI coupled interfaces.
Cyclic patch for Arbitrary Mesh Interface (AMI)
virtual bool owner() const
Does this side own the patch?
const AMIPatchToPatchInterpolation & AMI() const
Return a reference to the AMI interpolator.
tmp< Field< Type > > interpolate(const Field< Type > &fld, const UList< Type > &defaultValues=UList< Type >()) const
Interpolate field.
bool applyLowWeightCorrection() const
Return true if applying the low weight correction.
virtual label neighbPatchID() const
Neighbour patch ID.
Smooth ATC in cells next to a set of patches supplied by type.
const polyPatch & patch() const
Return the polyPatch.
A patch is a list of labels that address the faces in the global face list.
A class for managing temporary objects.
To & refCast(From &r)
Reference type cast template function.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.