101 return regionMesh().solutionDict();
108 if (!outputPropertiesPtr_)
111 <<
"outputProperties dictionary not available"
115 return *outputPropertiesPtr_;
122 if (!outputPropertiesPtr_)
125 <<
"outputProperties dictionary not available"
129 return *outputPropertiesPtr_;
135 const label regionPatchi
138 forAll(intCoupledPatchIDs_, i)
140 if (intCoupledPatchIDs_[i] == regionPatchi)
152 const label primaryPatchi
155 forAll(primaryPatchIDs_, i)
157 if (primaryPatchIDs_[i] == primaryPatchi)
170 return primaryPatchIDs_;
177 return intCoupledPatchIDs_;
183 const label primaryPatchID
186 forAll(primaryPatchIDs_, i)
188 if (primaryPatchIDs_[i] == primaryPatchID)
190 return intCoupledPatchIDs_[i];
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
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 list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Type * getObjectPtr(const word &name, const bool recursive=false) const
const Time & time() const
Return the reference to the time database.
const dictionary & solution() const
Return the solution dictionary.
bool isCoupledPatch(const label regionPatchi) const
Return true if patchi on the local region is a coupled.
const dictionary & coeffs() const
Return the model coefficients dictionary.
const fvMesh & primaryMesh() const
Return the reference to the primary mesh database.
const fvMesh & regionMesh() const
Return the region mesh database.
const fvMesh & primaryMesh_
Reference to the primary mesh database.
label regionPatchID(const label primaryPatchID) const
Return region ID corresponding to primaryPatchID.
Switch infoOutput() const
Return the information flag.
bool isRegionPatch(const label primaryPatchi) const
Return true if patchi on the primary region is a coupled.
const word & modelName() const
Return the model name.
const IOdictionary & outputProperties() const
Return const access to the output properties dictionary.
const labelList & primaryPatchIDs() const
Return the list of patch IDs on the primary region coupled.
const labelList & intCoupledPatchIDs() const
Return the list of patch IDs internally coupled with the.
Switch active() const
Return the active flag.
A class for handling words, derived from Foam::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManip< error > abort(error &err)
#define forAll(list, i)
Loop across all elements in list.