39 return refCast<const mappedPatchBase>(nbrPolyPatch());
47 && nbrMappedPatch().nbrRegionName_ == patch_.boundaryMesh().mesh().name()
48 && nbrMappedPatch().nbrPatchName_ == patch_.name()
50 && !nbrMappedPatch().usingTree_
51 && nbrMappedPatch().patchToPatchPtr_->type() == patchToPatchPtr_->type();
59 if (coupleGroup_.valid() && nbrRegionName_.empty())
63 const label nbrPatchID =
64 coupleGroup_.findOtherPatchID(patch_, nbrRegionName_);
66 nbrPatchName_ = nbrMesh().boundaryMesh()[nbrPatchID].name();
69 return nbrRegionName_;
75 if (nbrPatchName_.empty())
86 return nbrRegionName() == patch_.boundaryMesh().mesh().name();
92 return sameRegion() && nbrPatchName() == patch_.name();
101 !transform_.transformComplete()
102 || !transform_.transform().transformsPosition()
Engine which provides mapping between two patches.
bool symmetric() const
Determine whether the neighbouring patch maps from this patch in.
const polyPatch & nbrPolyPatch() const
Get the patch to map from.
bool samePatch() const
Is the neighbour patch the same as this patch?
const word & nbrPatchName() const
Name of the patch to map from.
const word & nbrRegionName() const
Name of the region to map from.
bool sameUntransformedPatch() const
Is the neighbour patch the same as this patch with no transform?
bool sameRegion() const
Is the neighbour region the same as for this patch?
const mappedPatchBase & nbrMappedPatch() const
Get the mapped neighbouring patch.
bool nbrPatchIsMapped() const
Return whether or not the neighbour patch is of mapped type.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.