75 <<
"Convection scheme not specified" <<
endl <<
endl 76 <<
"Valid convection schemes are :" <<
endl 77 << IstreamConstructorTablePtr_->sortedToc()
81 const word schemeName(schemeData);
88 auto* ctorPtr = IstreamConstructorTable(schemeName);
97 *IstreamConstructorTablePtr_
101 return ctorPtr(
mesh, faceFlux, schemeData);
120 if (schemeData.
eof())
123 <<
"Convection scheme not specified" <<
endl <<
endl 124 <<
"Valid convection schemes are :" <<
endl 125 << MultivariateConstructorTablePtr_->sortedToc()
129 const word schemeName(schemeData);
131 auto* ctorPtr = MultivariateConstructorTable(schemeName);
140 *MultivariateConstructorTablePtr_
144 return ctorPtr(
mesh,
fields, faceFlux, schemeData);
convectionScheme(const convectionScheme &)
Copy construct.
void operator=(const convectionScheme< Type > &)
errorManipArg< error, int > exit(error &err, const int errNo=1)
Reference counter for various OpenFOAM components.
virtual ~convectionScheme()
Destructor.
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.
Abstract base class for convection schemes.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
A class for handling words, derived from Foam::string.
int debug
Static debugging option.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
static tmp< convectionScheme< Type > > New(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData)
Return a pointer to a new convectionScheme created on freestore.
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for multi-variate surface interpolation schemes.
A class for managing temporary objects.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
bool eof() const noexcept
True if end of input seen.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
#define InfoInFunction
Report an information message using Foam::Info.