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>
Base class with common functinality for regionCoupled polyPatch. It includes AMI. ...
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.
virtual const regionCoupledBaseFvPatch & neighbPatch() const
Return regionCoupledBase neighb Patch.
const regionCoupledBase & regionCoupledPatch() const
Return regionCoupledPolyPatch.
virtual bool owner() const
Is it the owner?
virtual ~regionCoupledBaseFvPatch()
Destructor.
virtual const AMIPatchToPatchInterpolation & AMI() const
Return a reference to the AMI interpolator.
regionCoupledBaseFvPatch(const polyPatch &pp, const fvPatch &patch)
Construct from polyPatch.
bool owner() const
Does this side own the patch?
const AMIPatchToPatchInterpolation & AMI() const
Return a reference to the AMI interpolator.
To & refCast(From &r)
Reference type cast template function.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
TypeName("regionCoupledBase")
Runtime type information.
const fvPatch & patch() const
Return fvPatch.
const fvMesh & mesh() const
Return the mesh reference.
const fvPatch & patch_
Reference to fvPatch.
virtual const labelUList & faceCells() const =0
Return faceCell addressing.
const regionCoupledBase & regionCoupledBase_
Reference to regionCoupledBase.
bool sameRegion() const
Returns if it is the same Region.
virtual const polyMesh & nbrMesh() const
Returns neighbour polyMesh.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
label neighbPatchID() const
Neighbour patch ID.
const fvPatch & neighbFvPatch() const
Return neighbor fvPatch.
A class for handling words, derived from string.
virtual const word & regionCoupleType() const =0
Return the type.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
const word & regionCoupleType() const
Return the interface type.
Base class of regionCoupledFvPatch with common functionality for regionCoupledFvPatch and regionCoupl...
const fvMesh & nbrFvMesh() const
Returns fvMesh.
bool sameRegion() const
Cached sampleRegion != mesh.name()
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.
A patch is a list of labels that address the faces in the global face list.
const word & nbrRegionName() const
Neighbour region name.
virtual label neighbPatchID() const
Return neighbour.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
const Time & time() const
Return the top-level database.
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.