63 <<
"Div scheme not specified" <<
endl <<
endl 64 <<
"Valid div schemes are :" <<
endl 65 << IstreamConstructorTablePtr_->sortedToc()
69 const word schemeName(schemeData);
71 auto* ctorPtr = IstreamConstructorTable(schemeName);
76 <<
"unknown div scheme " 77 << schemeName <<
nl <<
nl 78 <<
"Valid div schemes are :" <<
endl 79 << IstreamConstructorTablePtr_->sortedToc()
83 return ctorPtr(
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)...
constexpr char nl
The newline '\n' character (0x0a)
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 Foam::string.
int debug
Static debugging option.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Mesh data needed to do the Finite Volume discretisation.
A class for managing temporary objects.
bool eof() const noexcept
True if end of input seen.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
#define InfoInFunction
Report an information message using Foam::Info.