38#ifndef cyclicACMIFvPatch_H
39#define cyclicACMIFvPatch_H
89 TypeName(cyclicACMIPolyPatch::typeName_());
114 return cyclicACMIPolyPatch_;
123 virtual bool owner()
const
125 return cyclicACMIPolyPatch_.
owner();
131 return refCast<const cyclicACMIFvPatch>
152 return cyclicACMIPolyPatch_.
AMI();
158 return cyclicACMIPolyPatch_.
parallel();
164 return cyclicACMIPolyPatch_.
forwardT();
170 return cyclicACMIPolyPatch_.
reverseT();
175 return refCast<const cyclicACMIFvPatch>
200 cyclicACMIPolyPatch_.cyclicAMIPolyPatch::interpolate
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...
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 Arbitrarily Coupled Mesh Interface (ACMI)
const cyclicACMIFvPatch & neighbFvPatch() const
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Return neighbour field.
tmp< Field< Type > > interpolate(const tmp< Field< Type > > &tfld) const
Interpolate (make sure to have up-to-date areas)
void resetPatchAreas(const fvPatch &fvp) const
Helper function to reset the FV patch areas from the primitive patch.
virtual bool owner() const
void makeWeights(scalarField &) const
Make patch weighting factors.
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
virtual label neighbPatchID() const
Return neighbour.
virtual void movePoints()
Correct patches after moving points.
TypeName(cyclicACMIPolyPatch::typeName_())
Runtime type information.
virtual bool coupled() const
Return true if this patch is coupled.
virtual bool parallel() const
Are the cyclic planes parallel.
const cyclicACMIPolyPatch & cyclicACMIPatch() const
Return local reference cast into the cyclic patch.
virtual tmp< vectorField > delta() const
Return delta (P to N) vectors across coupled patch.
virtual const fvPatch & nonOverlapPatch() const
Return non-overlapping fvPatch.
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const
virtual const AMIPatchToPatchInterpolation & AMI() const
Return a reference to the AMI interpolator.
virtual const cyclicACMIFvPatch & neighbPatch() const
Return neighbour fvPatch.
virtual bool updateAreas() const
Update the AMI and patch areas. Return true if anything updated.
virtual label nonOverlapPatchID() const
Return neighbour.
tmp< Field< Type > > interpolate(const Field< Type > &fld) const
Interpolate (make sure to have uptodate areas)
virtual const tensorField & forwardT() const
Return face transformation tensor.
An abstract base class for cyclic ACMI coupled interfaces.
Cyclic patch for Arbitrarily Coupled Mesh Interface (ACMI).
virtual label nonOverlapPatchID() const
Non-overlapping patch ID.
virtual bool owner() const
Does this side own the patch?
const AMIPatchToPatchInterpolation & AMI() const
Return a reference to the AMI interpolator.
virtual label neighbPatchID() const
Neighbour patch ID.
Smooth ATC in cells next to a set of patches supplied by type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
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.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.