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" 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.
Info<< "Calculating turbulent flame speed field St\"<< endl;volScalarField St(IOobject("St", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), flameWrinkling->Xi() *Su);multivariateSurfaceInterpolationScheme< scalar >::fieldTable fields
Abstract base class for convection schemes.
A class for handling words, derived from string.
errorManip< error > abort(error &err)
bool eof() const
Return true if end of input seen.
#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.
const fvMesh & mesh() const
Return mesh reference.
A class for managing temporary objects.
#define InfoInFunction
Report an information message using Foam::Info.