62 ) <<
"Div scheme not specified" <<
endl <<
endl 63 <<
"Valid div schemes are :" <<
endl 64 << IstreamConstructorTablePtr_->sortedToc()
68 const word schemeName(schemeData);
70 typename IstreamConstructorTable::iterator cstrIter =
71 IstreamConstructorTablePtr_->find(schemeName);
73 if (cstrIter == IstreamConstructorTablePtr_->end())
78 ) <<
"unknown div scheme " 79 << schemeName <<
nl <<
nl 80 <<
"Valid div schemes are :" <<
endl 81 << IstreamConstructorTablePtr_->sortedToc()
85 return cstrIter()(
mesh, schemeData);
errorManipArg< error, int > exit(error &err, const int errNo=1)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Ostream & endl(Ostream &os)
Add newline and flush stream.
static tmp< divScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return a pointer to a new divScheme created on freestore.
A class for handling words, derived from string.
bool eof() const
Return true if end of input seen.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Mesh data needed to do the Finite Volume discretisation.
virtual ~divScheme()
Destructor.
#define InfoInFunction
Report an information message using Foam::Info.