33 IOobject dictHeader(dynamicMeshDictIOobject(io));
39 const word dynamicFvMeshTypeName(dict.
lookup(
"dynamicFvMesh"));
41 Info<<
"Selecting dynamicFvMesh " << dynamicFvMeshTypeName <<
endl;
47 IOobjectConstructorTablePtr_
50 if (!IOobjectConstructorTablePtr_)
53 <<
"dynamicFvMesh table is empty" 57 IOobjectConstructorTable::iterator cstrIter =
58 IOobjectConstructorTablePtr_->find(dynamicFvMeshTypeName);
60 if (cstrIter == IOobjectConstructorTablePtr_->end())
63 <<
"Unknown dynamicFvMesh type " 64 << dynamicFvMeshTypeName <<
nl <<
nl 65 <<
"Valid dynamicFvMesh types are :" << endl
66 << IOobjectConstructorTablePtr_->sortedToc()
bool typeHeaderOk(const bool checkType=true)
Read header (uses typeFilePath to find file) and check header.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
dlLibraryTable libs
Table of loaded dynamic libraries.
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
A class for handling words, derived from string.
bool open(const fileName &libName, const bool verbose=true)
Open the named library, optionally with warnings if problems occur.
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...
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.