35 const word phaseSystemType
51 Info<<
"Selecting phaseSystem "
52 << phaseSystemType <<
endl;
54 dictionaryConstructorTable::iterator cstrIter =
55 dictionaryConstructorTablePtr_->find(phaseSystemType);
57 if (cstrIter == dictionaryConstructorTablePtr_->end())
60 <<
"Unknown phaseSystem type "
62 <<
"Valid phaseSystem types are : " <<
endl
63 << dictionaryConstructorTablePtr_->sortedToc()
67 return cstrIter()(
mesh);
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
static const word & constant()
Return constant name.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Mesh data needed to do the Finite Volume discretisation.
const Time & time() const
Return the top-level database.
static const word propertiesName
Default name of the phase properties dictionary.
static autoPtr< phaseSystem > New(const fvMesh &mesh)
const fvMesh & mesh() const
Return the mesh.
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.