52 const word dynamicFvMeshTypeName(dict.
lookup(
"dynamicFvMesh"));
54 Info<<
"Selecting dynamicFvMesh " << dynamicFvMeshTypeName <<
endl;
56 const_cast<Time&
>(io.
time()).libs().open
60 IOobjectConstructorTablePtr_
63 if (!IOobjectConstructorTablePtr_)
66 <<
"dynamicFvMesh table is empty" 70 IOobjectConstructorTable::iterator cstrIter =
71 IOobjectConstructorTablePtr_->find(dynamicFvMeshTypeName);
73 if (cstrIter == IOobjectConstructorTablePtr_->end())
76 <<
"Unknown dynamicFvMesh type " 77 << dynamicFvMeshTypeName <<
nl <<
nl 78 <<
"Valid dynamicFvMesh types are :" << endl
79 << IOobjectConstructorTablePtr_->sortedToc()
const word & name() const
Return name.
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 word & constant() const
Return constant name.
const Time & time() const
Return time.
static autoPtr< dynamicFvMesh > New(const IOobject &io)
Select, construct and return the dynamicFvMesh.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const objectRegistry & db() const
Return the local objectRegistry.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.