47 IOobject::MUST_READ_IF_MODIFIED,
54 Info<<
"Selecting engineMesh " << modelType <<
endl;
56 IOobjectConstructorTable::iterator cstrIter =
57 IOobjectConstructorTablePtr_->find(modelType);
59 if (cstrIter == IOobjectConstructorTablePtr_->end())
62 <<
"Unknown engineMesh type " 63 << modelType <<
nl <<
nl 64 <<
"Valid engineMesh types are :" << endl
65 << IOobjectConstructorTablePtr_->sortedToc()
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.
static autoPtr< engineMesh > New(const IOobject &io)
Select null constructed.
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.
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.