36 if (controlDict.
found(
"userTime"))
40 Info<<
"Selecting userTime " << type <<
endl;
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()
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
errorManipArg< error, int > exit(error &err, const int errNo=1)
runTime controlDict().lookup("adjustTimeStep") >> adjustTimeStep
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.
static autoPtr< userTime > New(const dictionary &controlDict)
Ostream & endl(Ostream &os)
Add newline and flush stream.
stressControl lookup("compactNormalStress") >> compactNormalStress
A class for handling words, derived from string.
A simple userTime which simply returns the real-time is seconds.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.