Go to the documentation of this file.
71 else if (!regionMeshPtr_.valid())
77 return *regionMeshPtr_;
89 else if (!regionMeshPtr_.valid())
95 return *regionMeshPtr_;
108 return regionMesh().solutionDict();
115 if (!outputPropertiesPtr_.valid())
118 <<
"outputProperties dictionary not available"
122 return *outputPropertiesPtr_;
129 if (!outputPropertiesPtr_.valid())
132 <<
"outputProperties dictionary not available"
136 return *outputPropertiesPtr_;
142 const label regionPatchi
145 forAll(intCoupledPatchIDs_, i)
147 if (intCoupledPatchIDs_[i] == regionPatchi)
159 const label primaryPatchi
162 forAll(primaryPatchIDs_, i)
164 if (primaryPatchIDs_[i] == primaryPatchi)
177 return primaryPatchIDs_;
184 return intCoupledPatchIDs_;
190 const label primaryPatchID
193 forAll(primaryPatchIDs_, i)
195 if (primaryPatchIDs_[i] == primaryPatchID)
197 return intCoupledPatchIDs_[i];
const fvMesh & primaryMesh_
Reference to the primary mesh database.
Type * getObjectPtr(const word &name, const bool recursive=false) const
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
const Switch & active() const
Return the active flag.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
bool isRegionPatch(const label primaryPatchi) const
Return true if patchi on the primary region is a coupled.
const Time & time() const
Return the reference to the time database.
const word & modelName() const
Return the model name.
#define forAll(list, i)
Loop across all elements in list.
const fvMesh & primaryMesh() const
Return the reference to the primary mesh database.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool isCoupledPatch(const label regionPatchi) const
Return true if patchi on the local region is a coupled.
const fvMesh & regionMesh() const
Return the region mesh database.
const IOdictionary & outputProperties() const
Return const access to the output properties dictionary.
const dictionary & solution() const
Return the solution dictionary.
label regionPatchID(const label primaryPatchID) const
Return region ID corresponding to primaryPatchID.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
errorManip< error > abort(error &err)
const labelList & primaryPatchIDs() const
Return the list of patch IDs on the primary region coupled.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const Type * findObject(const word &name, const bool recursive=false) const
Return const pointer to the object of the given Type.
const dictionary & coeffs() const
Return the model coefficients dictionary.
const Switch & infoOutput() const
Return the information flag.
const labelList & intCoupledPatchIDs() const
Return the list of patch IDs internally coupled with the.