35 const word modelType(
dict.lookup(
"extrudeModel"));
37 Info<<
"Selecting extrudeModel " << modelType <<
endl;
39 dictionaryConstructorTable::iterator cstrIter =
40 dictionaryConstructorTablePtr_->find(modelType);
42 if (cstrIter == dictionaryConstructorTablePtr_->end())
45 <<
"Unknown extrudeModel type "
46 << modelType <<
nl <<
nl
47 <<
"Valid extrudeModel types are :" <<
nl
48 << dictionaryConstructorTablePtr_->sortedToc() <<
nl
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
static autoPtr< extrudeModel > New(const dictionary &)
Select null constructed.
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.