Go to the documentation of this file.
30 #include "phaseSystem.H"
37 const word& phaseName,
45 Info<<
"Selecting phaseModel for "
46 << phaseName <<
": " << modelType <<
endl;
48 auto cstrIter = phaseSystemConstructorTablePtr_->cfind(modelType);
50 if (!cstrIter.found())
57 *phaseSystemConstructorTablePtr_
61 return cstrIter()(
fluid, phaseName, index);
A class for handling words, derived from Foam::string.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< phaseModel > New(const phaseSystem &fluid, const word &phaseName, const label index)
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
messageStream Info
Information stream (uses stdout - output is on the master only)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
errorManip< error > abort(error &err)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Class to represent a system of phases and model interfacial transfers between them.