41 const multivariateSurfaceInterpolationScheme<Type>::fieldTable& vtfs,
66 <<
"Constructing surfaceInterpolationScheme<Type>" <<
endl;
69 const word schemeName(schemeData);
71 typename IstreamConstructorTable::iterator constructorIter =
72 IstreamConstructorTablePtr_->find(schemeName);
74 if (constructorIter == IstreamConstructorTablePtr_->end())
79 ) <<
"Unknown discretisation scheme " << schemeName <<
nl <<
nl
80 <<
"Valid schemes are :" <<
endl
81 << IstreamConstructorTablePtr_->sortedToc()
85 return constructorIter()(mesh, vtfs, faceFlux, schemeData);
Generic GeometricField class.
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.
static tmp< multivariateSurfaceInterpolationScheme< Type > > New(const fvMesh &mesh, const fieldTable &fields, const surfaceScalarField &faceFlux, Istream &schemeData)
Return a pointer to a new gradScheme created on freestore.
virtual ~multivariateSurfaceInterpolationScheme()
Destructor.
multivariateSurfaceInterpolationScheme(const fvMesh &mesh, const fieldTable &fields, const surfaceScalarField &faceFlux, Istream &schemeData)
Construct for interpolating given field.
A class for managing temporary objects.
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
#define InfoInFunction
Report an information message using Foam::Info.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & endl(Ostream &os)
Add newline and flush stream.
SurfaceField< scalar > surfaceScalarField