61 ) <<
"D2dt2 scheme not specified" <<
endl <<
endl 62 <<
"Valid d2dt2 schemes are :" <<
endl 63 << IstreamConstructorTablePtr_->sortedToc()
67 const word schemeName(schemeData);
69 typename IstreamConstructorTable::iterator cstrIter =
70 IstreamConstructorTablePtr_->find(schemeName);
72 if (cstrIter == IstreamConstructorTablePtr_->end())
77 ) <<
"Unknown d2dt2 scheme " << schemeName <<
nl <<
nl 78 <<
"Valid d2dt2 schemes are :" <<
endl 79 << IstreamConstructorTablePtr_->sortedToc()
83 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.
A class for handling words, derived from string.
bool eof() const
Return true if end of input seen.
virtual ~d2dt2Scheme()
Destructor.
static tmp< d2dt2Scheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return a pointer to a new d2dt2Scheme created on freestore.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Mesh data needed to do the Finite Volume discretisation.
#define InfoInFunction
Report an information message using Foam::Info.