30 template<
class CloudType>
36 const word& objectType,
40 Info<<
" Selecting cloud function " << modelName <<
" of type " 41 << objectType <<
endl;
43 typename dictionaryConstructorTable::iterator cstrIter =
44 dictionaryConstructorTablePtr_->find(objectType);
46 if (cstrIter == dictionaryConstructorTablePtr_->end())
49 <<
"Unknown cloud function type " 50 << objectType <<
nl <<
nl 51 <<
"Valid cloud function types are:" <<
nl 52 << dictionaryConstructorTablePtr_->sortedToc()
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...
static autoPtr< CloudFunctionObject< CloudType > > New(const dictionary &dict, CloudType &owner, const word &objectType, const word &modelName)
Selector.
#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.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Templated base class for dsmc cloud.