42 dictionaryConstructorTable::iterator cstrIter =
43 dictionaryConstructorTablePtr_->find(
type);
45 if (cstrIter == dictionaryConstructorTablePtr_->end())
48 <<
"Unknown userTime " <<
type <<
nl <<
nl
49 <<
"Valid userTime types are :" <<
nl
50 << dictionaryConstructorTablePtr_->sortedToc()
A list of keyword definitions, which are a keyword followed by any number of values (e....
A simple userTime which simply returns the real-time is seconds.
static autoPtr< userTime > New(const dictionary &controlDict)
static const dictionary & dict(const dictionary &controlDict)
Return the userTime sub-dictionary.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
runTime controlDict().lookup("adjustTimeStep") >> adjustTimeStep