Go to the documentation of this file.
33 template<
class CloudType>
43 Info<<
"Selecting injection model " << modelType <<
endl;
45 auto cstrIter = dictionaryConstructorTablePtr_->cfind(modelType);
47 if (!cstrIter.found())
54 *dictionaryConstructorTablePtr_
62 template<
class CloudType>
67 const word& modelName,
68 const word& modelType,
72 Info<<
"Selecting injection model " << modelType <<
endl;
74 auto cstrIter = dictionaryConstructorTablePtr_->cfind(modelType);
76 if (!cstrIter.found())
83 *dictionaryConstructorTablePtr_
A class for handling words, derived from Foam::string.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (uses stdout - output is on the master only)
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
errorManipArg< error, int > exit(error &err, const int errNo=1)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static autoPtr< InjectionModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector with lookup from dictionary.