35 const word& cellZoneName
40 Info<<
"Porosity region " << name <<
":" <<
nl 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()
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A class for handling words, derived from string.
word name(const complex &)
Return a string representation of a complex.
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.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.