32 namespace regionModels
34 namespace surfaceFilmModels
48 dictionaryConstructorTable::iterator cstrIter =
49 dictionaryConstructorTablePtr_->find(modelType);
51 if (cstrIter == dictionaryConstructorTablePtr_->end())
54 <<
"Unknown force type " << modelType
55 <<
nl <<
nl <<
"Valid force types are:" <<
nl 56 << dictionaryConstructorTablePtr_->toc()
Base class for surface film models.
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.
A class for handling words, derived from string.
static autoPtr< force > New(surfaceFilmRegionModel &film, const dictionary &dict, const word &modelType)
Return a reference to the selected force model.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...