74 ) <<
"Convection scheme not specified" <<
endl <<
endl 75 <<
"Valid convection schemes are :" <<
endl 76 << IstreamConstructorTablePtr_->sortedToc()
80 const word schemeName(schemeData);
82 typename IstreamConstructorTable::iterator cstrIter =
83 IstreamConstructorTablePtr_->find(schemeName);
85 if (cstrIter == IstreamConstructorTablePtr_->end())
90 ) <<
"Unknown convection scheme " << schemeName <<
nl <<
nl 91 <<
"Valid convection schemes are :" <<
endl 92 << IstreamConstructorTablePtr_->sortedToc()
96 return cstrIter()(
mesh, faceFlux, schemeData);
115 if (schemeData.
eof())
120 ) <<
"Convection scheme not specified" <<
endl <<
endl 121 <<
"Valid convection schemes are :" <<
endl 122 << MultivariateConstructorTablePtr_->sortedToc()
126 const word schemeName(schemeData);
128 typename MultivariateConstructorTable::iterator cstrIter =
129 MultivariateConstructorTablePtr_->find(schemeName);
131 if (cstrIter == MultivariateConstructorTablePtr_->end())
136 ) <<
"Unknown convection scheme " << schemeName <<
nl <<
nl 137 <<
"Valid convection schemes are :" <<
endl 138 << MultivariateConstructorTablePtr_->sortedToc()
142 return cstrIter()(
mesh,
fields, faceFlux, schemeData);
161 <<
"attempted assignment to self" bool eof() const
Return true if end of input seen.
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.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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.
const fvMesh & mesh() const
Return mesh reference.
Abstract base class for convection schemes.
multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
A class for handling words, derived from string.
errorManip< error > abort(error &err)
#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 InfoInFunction
Report an information message using Foam::Info.