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);
bool eof() const noexcept
True if end of input seen.
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.
Abstract base class for convection schemes.
void operator=(const convectionScheme< Type > &)
virtual ~convectionScheme()
Destructor.
const fvMesh & mesh() const
Return mesh reference.
static tmp< convectionScheme< Type > > New(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData)
Return a pointer to a new convectionScheme created on freestore.
convectionScheme(const convectionScheme &)
Copy construct.
Abstract base class for multi-variate surface interpolation schemes.
constexpr refCount() noexcept
Default construct, initializing count to 0.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
#define InfoInFunction
Report an information message using Foam::Info.
Namespace for finite-volume.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Ostream & endl(Ostream &os)
Add newline and flush stream.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
errorManipArg< error, int > exit(error &err, const int errNo=1)
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields