Go to the documentation of this file.
46 <<
"constructing convectionScheme<Type>"
53 <<
"Convection scheme not specified" <<
nl <<
nl
54 <<
"Valid convection schemes are :" <<
nl
55 << IstreamConstructorTablePtr_->sortedToc()
59 const word schemeName(schemeData);
61 auto cstrIter = IstreamConstructorTablePtr_->cfind(schemeName);
63 if (!cstrIter.found())
70 *IstreamConstructorTablePtr_
74 return cstrIter()(
mesh, faceFlux, schemeData);
int debug
Static debugging option.
#define InfoInFunction
Report an information message using Foam::Info.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
bool eof() const
Return true if end of input seen.
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)....
virtual ~convectionScheme()
Destructor.
errorManipArg< error, int > exit(error &err, const int errNo=1)
static tmp< convectionScheme< Type > > New(const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData)
Return a pointer to a new convectionScheme 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.
Generic GeometricField class.