Go to the documentation of this file.
37 #ifndef regionCoupledBase_H
38 #define regionCoupledBase_H
174 template<
class Type,
class BinaryOp>
const autoPtr< searchableSurface > & surfPtr() const
Return a reference to the projection surface.
const regionCoupledBase & neighbPatch() const
Return a reference to the neighbour patch.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
A class for handling words, derived from string.
A class for managing temporary objects.
const AMIPatchToPatchInterpolation & AMI() const
Return a reference to the AMI interpolator.
Buffers for inter-processor communications streams (UOPstream, UIPstream).
autoPtr< searchableSurface > surfPtr_
Projection surface.
const word & nbrRegionName() const
Neighbour region name.
const polyPatch & patch_
Patch to sample.
autoPtr< AMIPatchToPatchInterpolation > AMIPtr_
AMI interpolation class.
virtual bool order(PstreamBuffers &, const primitivePatch &, labelList &faceMap, labelList &rotation) const
Return new ordering for primitivePatch.
const bool sameRegion_
Same region.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual ~regionCoupledBase()
Destructor.
tmp< Field< Type > > interpolate(const Field< Type > &fld) const
Interpolate field.
A patch is a list of labels that address the faces in the global face list.
label neighbPatchID() const
Neighbour patch ID.
Base class with common functinality for regionCoupled polyPatch. It includes AMI.
const dictionary surfDict_
Dictionary used during projection surface construction.
bool owner() const
Does this side own the patch?
A list of keyword definitions, which are a keyword followed by any number of values (e....
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))
const word nbrPatchName_
Name of other half.
bool sameRegion() const
Cached sampleRegion != mesh.name()
const bool AMIReverse_
Flag to indicate that slave patch should be reversed for AMI.
regionCoupledBase(const polyPatch &)
Construct from patch.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
TypeName("regionCoupledBase")
Runtime type information.
virtual const word & regionCoupleType() const =0
Return the type.
void resetAMI() const
Reset the AMI interpolator.
Interpolation class dealing with transfer of data between two primitive patches with an arbitrary mes...
virtual void write(Ostream &) const
Write the polyPatch data as a dictionary.
const word & nbrPatchName() const
Neighbour patch name.
const word nbrRegionName_
Name of other region.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void clearGeom()
Clear geometry.
label nbrPatchID_
Index of other half.
A list of faces which address into the list of points.