50 if (cmpts.
size() == 3)
55 <<
"Template parameters are no longer required when selecting a "
57 <<
"obtained directly from the thermodynamics. Actually selecting "
58 <<
"combustion model " << modelType <<
"." <<
endl;
61 typename dictionaryConstructorTable::iterator cstrIter =
62 dictionaryConstructorTablePtr_->find(modelType);
64 if (cstrIter == dictionaryConstructorTablePtr_->end())
68 << modelType <<
nl <<
nl
70 << dictionaryConstructorTablePtr_->sortedToc()
76 cstrIter()(
dict.optionalTypeDict(modelType),
mesh, modelType)
void size(const label)
Override size to be inconsistent with allocated storage.
static wordList splitThermoName(const word &thermoName, const int nCmpt)
Split name of thermo package into a list of the components names.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Mesh data needed to do the Finite Volume discretisation.
const fvMesh & mesh() const
Reference to the mesh.
static autoPtr< sootModel > New(const dictionary &dict, const fvMesh &mesh)
Selector.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
#define WarningInFunction
Report a warning using Foam::Warning.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
String typeName(const std::type_info &info)
Return the un-mangled name given the standard type info.
Ostream & indentOrNl(Ostream &os)
Indent stream or add newline if indent level == 0.