Go to the documentation of this file.
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()
A class for handling words, derived from string.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static autoPtr< interpolation< Type > > New(const word &interpolationType, const GeometricField< Type, fvPatchField, volMesh > &psi)
Return a reference to the specified interpolation scheme.
A list of keyword definitions, which are a keyword followed by any number of values (e....
errorManipArg< error, int > exit(error &err, const int errNo=1)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const volScalarField & psi
Generic GeometricField class.