Go to the documentation of this file.
54 <<
"constructing gradScheme<Type>"
61 <<
"Grad scheme not specified" <<
nl <<
nl
62 <<
"Valid grad schemes are :" <<
nl
63 << IstreamConstructorTablePtr_->sortedToc()
67 const word schemeName(schemeData);
69 auto cstrIter = IstreamConstructorTablePtr_->cfind(schemeName);
71 if (!cstrIter.found())
78 *IstreamConstructorTablePtr_
82 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.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual ~gradScheme()
Destructor.
static tmp< gradScheme< Type > > New(const faMesh &mesh, Istream &schemeData)
Return a pointer to a new gradScheme created on freestore.
#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)
Finite area mesh. Used for 2-D non-Euclidian finite area method.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.