56 <<
"Selecting decompositionConstraint " << modelType <<
endl;
58 dictionaryConstructorTable::iterator cstrIter =
59 dictionaryConstructorTablePtr_->find(modelType);
61 if (cstrIter == dictionaryConstructorTablePtr_->end())
64 <<
"Unknown decompositionConstraint type "
65 << modelType <<
nl <<
nl
66 <<
"Valid decompositionConstraint types:" <<
endl
67 << dictionaryConstructorTablePtr_->sortedToc()
73 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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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)
Ostream & endl(Ostream &os)
Add newline and flush stream.
defineRunTimeSelectionTable(fvConstraint, dictionary)
Ostream & indentOrNl(Ostream &os)
Indent stream or add newline if indent level == 0.
defineTypeNameAndDebug(atmosphericBoundaryLayer, 0)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.