34 const word& interpolationType,
38 typename dictionaryConstructorTable::iterator cstrIter =
39 dictionaryConstructorTablePtr_->find(interpolationType);
41 if (cstrIter == dictionaryConstructorTablePtr_->end())
44 <<
"Unknown interpolation type " << interpolationType
45 <<
" for field " << psi.
name() <<
nl <<
nl 46 <<
"Valid interpolation types : " <<
endl 47 << dictionaryConstructorTablePtr_->sortedToc()
const word & name() const
Return name.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static autoPtr< interpolation< Type > > New(const word &interpolationType, const GeometricField< Type, fvPatchField, volMesh > &psi)
Return a reference to the specified interpolation scheme.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Generic GeometricField class.
autoPtr< BasicCompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleMomentumTransportModel::transportModel &transport)
A class for handling words, derived from string.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const volScalarField & psi
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.