65 const auto* regionPtr = time_.findObject<
faMesh>(regionName_);
71 else if (!regionMeshPtr_)
77 return *regionMeshPtr_;
83 auto* regionPtr = time_.getObjectPtr<
faMesh>(regionName_);
89 else if (!regionMeshPtr_)
95 return *regionMeshPtr_;
107 if (!outputPropertiesPtr_)
110 <<
"outputProperties dictionary not available"
113 return *outputPropertiesPtr_;
120 if (!outputPropertiesPtr_)
123 <<
"outputProperties dictionary not available"
127 return *outputPropertiesPtr_;
134 return regionMesh().solutionDict();
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,...
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
Mesh data needed to do the Finite Volume discretisation.
const Time & time() const
Return the reference to the time database.
const dictionary & solution() const
Return the solution dictionary.
const dictionary & coeffs() const
Return the model coefficients dictionary.
const fvMesh & primaryMesh() const
Return the reference to the primary mesh database.
label patchID() const
Return patch ID.
const Switch & active() const
Return the active flag.
const fvMesh & primaryMesh_
Reference to the primary mesh database.
const word & modelName() const
Return the model name.
const faMesh & regionMesh() const
Return the region mesh database.
const IOdictionary & outputProperties() const
Return const access to the output properties dictionary.
const Switch & infoOutput() const
Return the information flag.
A class for handling words, derived from Foam::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManip< error > abort(error &err)