Go to the documentation of this file.
63 if (time_.foundObject<
fvMesh>(regionName_))
67 else if (!regionMeshPtr_.valid())
73 return regionMeshPtr_();
79 if (time_.foundObject<
fvMesh>(regionName_))
83 time_.lookupObject<
fvMesh>(regionName_)
86 else if (!regionMeshPtr_.valid())
92 return regionMeshPtr_();
105 return regionMesh().solutionDict();
112 if (!outputPropertiesPtr_.valid())
115 <<
"outputProperties dictionary not available"
119 return outputPropertiesPtr_();
126 if (!outputPropertiesPtr_.valid())
129 <<
"outputProperties dictionary not available"
133 return outputPropertiesPtr_();
139 const label regionPatchI
142 forAll(intCoupledPatchIDs_, i)
144 if (intCoupledPatchIDs_[i] == regionPatchI)
156 const label primaryPatchI
159 forAll(primaryPatchIDs_, i)
161 if (primaryPatchIDs_[i] == primaryPatchI)
174 return primaryPatchIDs_;
181 return intCoupledPatchIDs_;
187 const label primaryPatchID
190 forAll(primaryPatchIDs_, i)
192 if (primaryPatchIDs_[i] == primaryPatchID)
194 return intCoupledPatchIDs_[i];
const fvMesh & primaryMesh_
Reference to the primary mesh database.
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 string.
bool isCoupledPatch(const label regionPatchI) const
Return true if patchI on the local region is a coupled.
#define forAll(list, i)
Loop across all elements in list.
const IOdictionary & outputProperties() const
Return const access to the output properties dictionary.
const Time & time() const
Return the reference to the time database.
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 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.
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 any number of values (e....
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.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const dictionary & coeffs() const
Return the model coefficients dictionary.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
const Switch & infoOutput() const
Return the information flag.
const labelList & intCoupledPatchIDs() const
Return the list of patch IDs internally coupled with the.
const fvMesh & regionMesh() const
Return the region mesh database.