64 return regionMesh().solutionDict();
71 if (!outputPropertiesPtr_)
74 <<
"outputProperties dictionary not available" 78 return *outputPropertiesPtr_;
85 if (!outputPropertiesPtr_)
88 <<
"outputProperties dictionary not available" 92 return *outputPropertiesPtr_;
99 return primaryPatchIDs_;
106 return intCoupledPatchIDs_;
112 const label regionPatchi
115 return intCoupledPatchIDs_.found(regionPatchi);
121 const label primaryPatchi
124 return primaryPatchIDs_.found(primaryPatchi);
130 const label primaryPatchi
133 const label i = primaryPatchIDs_.find(primaryPatchi);
135 return (i >= 0 ? intCoupledPatchIDs_[i] : -1);
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
bool isRegionPatch(const label primaryPatchi) const
True if patchi on the primary region is a coupled patch to the local region.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const labelList & primaryPatchIDs() const noexcept
List of patch IDs on the primary region coupled to this region.
label regionPatchID(const label primaryPatchi) const
Return region ID corresponding to primaryPatch ID.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
const labelList & intCoupledPatchIDs() const noexcept
List of patch IDs internally coupled with the primary region.
Type * getObjectPtr(const word &name, const bool recursive=false) const
Return non-const pointer to the object of the given Type, using a const-cast to have it behave like a...
bool isCoupledPatch(const label regionPatchi) const
True if patchi on the local region is a coupled patch to the primary region.
const IOdictionary & outputProperties() const
Return const access to the output properties dictionary.
const dictionary & solution() const
Return the solution dictionary.
const fvMesh & regionMesh() const
Return the region mesh database.
errorManip< error > abort(error &err)
const Time & time_
Reference to the time database.
Mesh data needed to do the Finite Volume discretisation.
word regionName_
Region name.