Go to the documentation of this file.
35 #ifndef cyclicAMIFvPatch_H
36 #define cyclicAMIFvPatch_H
73 TypeName(cyclicAMIPolyPatch::typeName_());
103 virtual bool owner()
const
111 return refCast<const cyclicAMIFvPatch>
150 return refCast<const cyclicAMIFvPatch>
virtual label neighbPatchID() const
Return neighbour.
tmp< Field< Type > > interpolate(const Field< Type > &fld, const UList< Type > &defaultValues=UList< Type >()) const
virtual tmp< labelField > internalFieldTransfer(const Pstream::commsTypes commsType, const labelUList &internalData) const
Return neighbour field.
virtual bool owner() const
Does this side own the patch?
virtual const AMIPatchToPatchInterpolation & AMI() const
Return a reference to the AMI interpolator.
A class for managing temporary objects.
virtual tmp< vectorField > delta() const
Return delta (P to N) vectors across coupled patch.
An abstract base class for cyclic AMI coupled interfaces.
virtual const tensorField & forwardT() const
Return face transformation tensor.
virtual const tensorField & reverseT() const
Return neighbour-cell transformation tensor.
virtual const cyclicAMIFvPatch & neighbPatch() const
Return processor number.
const cyclicAMIFvPatch & neighbFvPatch() const
virtual bool applyLowWeightCorrection() const
Return true if applying the low weight correction.
const cyclicAMIPolyPatch & cyclicAMIPolyPatch_
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
virtual bool parallel() const
Are the cyclic planes parallel.
TypeName(cyclicAMIPolyPatch::typeName_())
Runtime type information.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
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.
tmp< Field< Type > > interpolate(const Field< Type > &fld, const UList< Type > &defaultValues=UList< Type >()) const
Interpolate field.
virtual bool coupled() const
Return true if this patch is coupled. This is equivalent.
virtual label neighbPatchID() const
Neighbour patch ID.
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))
To & refCast(From &r)
Reference type cast template function.
const AMIPatchToPatchInterpolation & AMI() const
Return a reference to the AMI interpolator.
virtual tmp< labelField > interfaceInternalField(const labelUList &internalData) const
Return the values of the given internal data adjacent to.
commsTypes
Types of communications.
virtual bool owner() const
bool applyLowWeightCorrection() const
Return true if applying the low weight correction.
void makeWeights(scalarField &) const
Make patch weighting factors.
Interpolation class dealing with transfer of data between two primitive patches with an arbitrary mes...
cyclicAMIFvPatch(const polyPatch &patch, const fvBoundaryMesh &bm)
Construct from polyPatch.
const polyPatch & patch() const
Return the polyPatch.
const cyclicAMIPolyPatch & cyclicAMIPatch() const
Return local reference cast into the cyclic patch.
Cyclic patch for Arbitrary Mesh Interface (AMI)
An abstract base class for patches that couple regions of the computational domain e....
virtual const tensorField & forwardT() const
Return face transformation tensor.
virtual bool parallel() const
Are the cyclic planes parallel.
Cyclic patch for Arbitrary Mesh Interface (AMI)