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)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static autoPtr< decompositionConstraint > New(const dictionary &constraintsDict, const word &type)
Return a reference to the selected decompositionConstraint.
decompositionConstraint(const dictionary &constraintsDict, const word &type)
Construct with generic dictionary with optional entry for type.
virtual ~decompositionConstraint()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineTypeNameAndDebug(combustionModel, 0)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.