35 const word& cellZoneName
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 list of keyword definitions, which are a keyword followed by any number of values (e....
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.
static autoPtr< porosityModel > New(const word &name, const fvMesh &mesh, const dictionary &dict, const word &cellZoneName=word::null)
Selector.
const dictionary & dict() const
Return dictionary used for model construction.
const word & name() const
Return const access to the porosity model name.
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.
word name(const bool)
Return a word representation of a bool.