Go to the documentation of this file.
35 const word& cellZoneName
38 const word modelType(
dict.lookup(
"type"));
41 <<
" selecting model: " << modelType <<
endl;
43 meshConstructorTable::iterator cstrIter =
44 meshConstructorTablePtr_->find(modelType);
46 if (cstrIter == meshConstructorTablePtr_->end())
49 <<
"Unknown " << typeName <<
" type " << modelType <<
nl <<
nl
50 <<
"Valid " << typeName <<
" types are:" <<
nl
51 << meshConstructorTablePtr_->sortedToc()
A class for handling words, derived from string.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static autoPtr< porosityModel > New(const word &name, const fvMesh &mesh, const dictionary &dict, const word &cellZoneName=word::null)
Selector.
word name(const complex &)
Return a string representation of a complex.