35 #ifndef cyclicACMIFvPatch_H 36 #define cyclicACMIFvPatch_H 76 TypeName(cyclicACMIPolyPatch::typeName_());
97 return cyclicACMIPolyPatch_;
106 virtual bool owner()
const 108 return cyclicACMIPolyPatch_.
owner();
114 return refCast<const cyclicACMIFvPatch>
136 cyclicACMIPolyPatch_.
AMI();
146 return cyclicACMIPolyPatch_.
parallel();
152 return cyclicACMIPolyPatch_.
forwardT();
158 return cyclicACMIPolyPatch_.
reverseT();
163 return refCast<const cyclicACMIFvPatch>
187 cyclicACMIPolyPatch_.cyclicAMIPolyPatch::interpolate
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
Cyclic patch for Arbitrarily Coupled Mesh Interface (ACMI)
const AMIPatchToPatchInterpolation & AMI() const
Return a reference to the AMI interpolator.
virtual label neighbPatchID() const
Neighbour patch ID.
void makeWeights(scalarField &) const
Make patch weighting factors.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
commsTypes
Types of communications.
virtual bool owner() const
void updateAreas() const
Update the patch areas after AMI update.
To & refCast(From &r)
Reference type cast template function.
cyclicACMIFvPatch(const polyPatch &patch, const fvBoundaryMesh &bm)
Construct from polyPatch.
virtual label nonOverlapPatchID() const
Return neighbour.
An abstract base class for patches that couple regions of the computational domain e...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual const tensorField & forwardT() const
Return face transformation tensor.
tmp< Field< Type > > interpolate(const Field< Type > &fld) const
Interpolate (make sure to have uptodate areas)
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Return neighbour field.
virtual label neighbPatchID() const
Return neighbour.
virtual bool parallel() const
Are the cyclic planes parallel.
Cyclic patch for Arbitrarily Coupled Mesh Interface (ACMI)
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< ' ';}gmvFile<< nl;forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
virtual tmp< vectorField > delta() const
Return delta (P to N) vectors across coupled patch.
const polyPatch & patch() const
Return the polyPatch.
virtual const cyclicACMIFvPatch & neighbPatch() const
Return neighbour fvPatch.
An abstract base class for cyclic ACMI coupled interfaces.
virtual bool parallel() const
Are the cyclic planes parallel.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual bool coupled() const
Return true if this patch is coupled. This is equivalent.
virtual const fvPatch & nonOverlapPatch() const
Return non-overlapping fvPatch.
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
const cyclicACMIPolyPatch & cyclicACMIPatch() const
Return local reference cast into the cyclic patch.
TypeName(cyclicACMIPolyPatch::typeName_())
Runtime type information.
virtual const tensorField & forwardT() const
Return face transformation tensor.
virtual bool owner() const
Does this side own the patch?
Interpolation class dealing with transfer of data between two primitive patches with an arbitrary mes...
virtual const AMIPatchToPatchInterpolation & AMI() const
Return a reference to the AMI interpolator.
const cyclicACMIFvPatch & neighbFvPatch() const
A class for managing temporary objects.
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.
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const
Return the values of the given internal data adjacent to.
virtual label nonOverlapPatchID() const
Non-overlapping patch ID.