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