Go to the documentation of this file.
55 <<
"constructing divScheme<Type>"
62 <<
"Div scheme not specified" <<
nl <<
nl
63 <<
"Valid div schemes are :" <<
nl
64 << IstreamConstructorTablePtr_->sortedToc()
68 const word schemeName(schemeData);
70 auto cstrIter = IstreamConstructorTablePtr_->cfind(schemeName);
72 if (!cstrIter.found())
79 *IstreamConstructorTablePtr_
83 return cstrIter()(
mesh, schemeData);
int debug
Static debugging option.
#define InfoInFunction
Report an information message using Foam::Info.
A class for handling words, derived from Foam::string.
bool eof() const
Return true if end of input seen.
virtual ~divScheme()
Destructor.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
errorManipArg< error, int > exit(error &err, const int errNo=1)
static tmp< divScheme< Type > > New(const faMesh &mesh, Istream &schemeData)
Return a pointer to a new divScheme created on freestore.
Finite area mesh. Used for 2-D non-Euclidian finite area method.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.