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);
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual ~multivariateSurfaceInterpolationScheme()
Destructor.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const fvMesh & mesh() const
Return mesh reference.
Ostream & endl(Ostream &os)
Add newline and flush stream.
A class for handling words, derived from string.
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.
multivariateSurfaceInterpolationScheme(const fvMesh &mesh, const fieldTable &fields, const surfaceScalarField &faceFlux, Istream &schemeData)
Construct for interpolating given field.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Mesh data needed to do the Finite Volume discretisation.
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
#define InfoInFunction
Report an information message using Foam::Info.