38 const word swarmCorrectionType(
dict.lookup(
"type"));
40 Info<<
"Selecting swarmCorrection for "
41 << interface.
name() <<
": " << swarmCorrectionType <<
endl;
43 dictionaryConstructorTable::iterator cstrIter =
44 dictionaryConstructorTablePtr_->find(swarmCorrectionType);
46 if (cstrIter == dictionaryConstructorTablePtr_->end())
49 <<
"Unknown swarmCorrection type "
50 << swarmCorrectionType <<
endl <<
endl
51 <<
"Valid swarmCorrection types are : " <<
endl
52 << dictionaryConstructorTablePtr_->sortedToc()
56 return cstrIter()(
dict, interface);
A list of keyword definitions, which are a keyword followed by any number of values (e....
Class to represent an interface between phases. Derivations can further specify the configuration of ...
virtual word name() const
Name.
static autoPtr< swarmCorrection > New(const dictionary &dict, const phaseInterface &interface)
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.