Go to the documentation of this file.
39 if (obrPtr_ && useTime)
41 return &(obrPtr_->time());
52 const word& entryName,
64 const word& entryName,
97 <<
"Object registry not set"
109 <<
"Object registry not set"
113 return obrPtr_->time();
119 return (obrPtr_ && obrPtr_->isTimeDb());
const objectRegistry * whichDb() const noexcept
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
bool isTime() const noexcept
void resetDb(const objectRegistry *obrPtr=nullptr) noexcept
Reference counter for various OpenFOAM components.
const Time & time() const
Registry of regIOobjects.
const objectRegistry & obr() const
Base class for template-invariant parts of Function1.
function1Base(const word &entryName, const objectRegistry *obrPtr=nullptr)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
errorManip< error > abort(error &err)
#define FatalErrorInFunction
virtual void userTimeToTime(const Time &t)