36 #ifndef regionCoupledBaseFvPatch_H 37 #define regionCoupledBaseFvPatch_H 124 virtual bool owner()
const 126 return regionCoupledBase_.
owner();
132 return refCast<const regionCoupledBaseFvPatch>
144 return regionCoupledBase_.
AMI();
180 return refCast<const fvPatch>
const word & regionCoupleType() const
Return the interface type.
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
Base class with common functionality for regionCoupled polyPatch. It includes AMI.
bool sameRegion() const
Returns if it is the same Region.
label nbrPatchID() const
Neighbour patch ID.
An abstract base class for region coupled interfaces.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const fvPatch & patch() const
Return fvPatch.
virtual ~regionCoupledBaseFvPatch()
Destructor.
regionCoupledBaseFvPatch(const polyPatch &pp, const fvPatch &patch)
Construct from polyPatch.
To & refCast(From &r)
Reference type cast template function.
const AMIInterpolation & AMI() const
Return a reference to the AMI interpolator.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
TypeName("regionCoupledBase")
Runtime type information.
const Time & time() const
Return the top-level database.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
bool owner() const
Does this side own the patch?
const fvPatch & patch_
Reference to fvPatch.
virtual const labelUList & faceCells() const =0
Return faceCell addressing.
const regionCoupledBase & regionCoupledBase_
Reference to regionCoupledBase.
virtual const polyMesh & nbrMesh() const
Returns neighbour polyMesh.
const fvMesh & mesh() const
Return the mesh reference.
A class for handling words, derived from string.
virtual bool owner() const
Is it the owner?
virtual const word & regionCoupleType() const =0
Return the type.
virtual label nbrPatchID() const
Return neighbour.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Base class of regionCoupledFvPatch with common functionality for regionCoupledFvPatch and regionCoupl...
virtual const AMIInterpolation & AMI() const
Return a reference to the AMI interpolator.
bool sameRegion() const
Cached sampleRegion != mesh.name()
const fvMesh & nbrFvMesh() const
Returns fvMesh.
const word & nbrRegionName() const
Neighbour region name.
const fvPatch & neighbFvPatch() const
Return neighbor fvPatch.
virtual const regionCoupledBaseFvPatch & nbrPatch() const
Return regionCoupledBase neighb Patch.
Mesh data needed to do the Finite Volume discretisation.
Interpolation class dealing with transfer of data between two primitive patches with an arbitrary mes...
Mesh consisting of general polyhedral cells.
const regionCoupledBase & regionCoupledPatch() const
Return regionCoupledPolyPatch.
A patch is a list of labels that address the faces in the global face list.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.