53 const word dynamicFvMeshTypeName(dict.
lookup(
"dynamicFvMesh"));
55 Info<<
"Selecting dynamicFvMesh " << dynamicFvMeshTypeName <<
endl;
57 const_cast<Time&
>(io.
time()).libs().open
61 IOobjectConstructorTablePtr_
64 if (!IOobjectConstructorTablePtr_)
67 <<
"dynamicFvMesh table is empty" 71 IOobjectConstructorTable::iterator cstrIter =
72 IOobjectConstructorTablePtr_->find(dynamicFvMeshTypeName);
74 if (cstrIter == IOobjectConstructorTablePtr_->end())
77 <<
"Unknown dynamicFvMesh type " 78 << dynamicFvMeshTypeName <<
nl <<
nl 79 <<
"Valid dynamicFvMesh types are :" << endl
80 << IOobjectConstructorTablePtr_->sortedToc()
const objectRegistry & db() const
Return the local objectRegistry.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static word defaultRegion
Return the default region name.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
A class for handling words, derived from string.
const Time & time() const
Return time.
const word & constant() const
Return constant name.
static autoPtr< dynamicFvMesh > New(const IOobject &io)
Select null constructed.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const word & name() const
Return name.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.