42 IFstream engineDictFile(rootPath/globalCaseName/constantName/dictName);
51 Info<<
"Selecting engine type " << engineType <<
endl;
53 dictionaryConstructorTable::iterator cstrIter =
54 dictionaryConstructorTablePtr_->find(engineType);
56 if (cstrIter == dictionaryConstructorTablePtr_->end())
59 <<
"Unknown engine type " 60 << engineType <<
nl <<
nl 61 <<
"Valid engine types are :" <<
nl 62 << dictionaryConstructorTablePtr_->sortedToc()
A class for handling file names.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< engineTime > New(const word &name, const fileName &rootPath, const fileName &globalCaseName, const fileName &caseName, const fileName &systemName="system", const fileName &constantName="constant", const fileName &dictName="engineGeometry")
A class for handling words, derived from string.
word name(const complex &)
Return a string representation of a complex.
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const word dictName("noiseDict")