44 coeffDict_(constraintsDict)
57 Info<<
"Selecting decompositionConstraint " << modelType <<
endl;
59 dictionaryConstructorTable::iterator cstrIter =
60 dictionaryConstructorTablePtr_->find(modelType);
62 if (cstrIter == dictionaryConstructorTablePtr_->end())
65 <<
"Unknown decompositionConstraint type " 66 << modelType <<
nl <<
nl 67 <<
"Valid decompositionConstraint types:" << endl
68 << dictionaryConstructorTablePtr_->sortedToc()
74 cstrIter()(
dict, modelType)
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...
Ostream & endl(Ostream &os)
Add newline and flush stream.
decompositionConstraint(const dictionary &constraintsDict, const word &type)
Construct with generic dictionary with optional entry for type.
A class for handling words, derived from string.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
defineTypeNameAndDebug(combustionModel, 0)
static autoPtr< decompositionConstraint > New(const dictionary &constraintsDict, const word &type)
Return a reference to the selected decompositionConstraint.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
virtual ~decompositionConstraint()
Destructor.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...