Go to the documentation of this file.
59 Info<<
"Selecting dynamicFvMesh " << modelType <<
endl;
65 IOobjectConstructorTablePtr_
68 if (!IOobjectConstructorTablePtr_)
71 <<
"dynamicFvMesh table is empty"
75 auto doInitCstrIter = doInitConstructorTablePtr_->cfind(modelType);
77 if (doInitCstrIter.found())
80 <<
"Constructing dynamicFvMesh with explicit initialisation"
93 auto cstrIter = IOobjectConstructorTablePtr_->
cfind(modelType);
95 if (!cstrIter.found())
102 *IOobjectConstructorTablePtr_
110 <<
"Constructing staticFvMesh with explicit initialisation" <<
endl;
131 <<
"Operating in 'dry-run' mode: case will run for 1 time step. "
132 <<
"All checks assumed OK on a clean exit" <<
endl;
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Foam::autoPtr< Foam::fvMesh > meshPtr(nullptr)
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
const word & name() const
Return name.
A class for handling words, derived from Foam::string.
static autoPtr< dynamicFvMesh > New(const IOobject &io)
Select, construct and return the dynamicFvMesh.
static word defaultRegion
Return the default region name.
static bool allowConstructFromLargerSize
static word timeName(const scalar t, const int precision=precision_)
virtual stopAtControls stopAt() const
Return the stop control information.
Extract command arguments and options from the supplied argc and argv parameters.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Time & time() const
Return time.
const objectRegistry & db() const
Return the local objectRegistry.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (uses stdout - output is on the master only)
Adjust endTime to stop immediately w/o writing.
static word outputPrefix
Directory prefix.
dlLibraryTable & libs() const
Mutable access to the loaded dynamic libraries.
bool open(bool verbose=true)
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
static autoPtr< dynamicFvMesh > New(const IOobject &io)
Return a reference to the selected simplified mesh.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define DebugInfo
Report an information message using Foam::Info.
const_iterator cfind(const Key &key) const
Find and return an const_iterator set at the hashed entry.
adjust endTime to stop immediately w/ writing
const word & constant() const
Return constant name.
Foam::argList args(argc, argv)
bool found(const word &optName) const
Return true if the named option is found.