38 Foam::decompositionConstraint::decompositionConstraint
45 coeffDict_(constraintsDict)
58 Info<<
"Selecting decompositionConstraint " << modelType <<
endl;
60 dictionaryConstructorTable::iterator cstrIter =
61 dictionaryConstructorTablePtr_->find(modelType);
63 if (cstrIter == dictionaryConstructorTablePtr_->end())
66 <<
"Unknown decompositionConstraint type " 67 << modelType <<
nl <<
nl 68 <<
"Valid decompositionConstraint types:" << endl
69 << dictionaryConstructorTablePtr_->sortedToc()
75 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.
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...