37 const word& interpolationType,
41 auto* ctorPtr = dictionaryConstructorTable(interpolationType);
49 *dictionaryConstructorTablePtr_
61 const GeometricField<Type, fvPatchField, volMesh>&
psi
64 return New(word(interpolationSchemes.lookup(
psi.name())),
psi);
Generic GeometricField class.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
ITstream & lookup(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return an entry data stream. FatalIOError if not found, or not a stream.
static autoPtr< interpolation< Type > > New(const word &interpolationType, const GeometricField< Type, fvPatchField, volMesh > &psi)
Return a reference to the specified interpolation scheme.
const GeometricField< Type, fvPatchField, volMesh > & psi() const noexcept
Return the field to be interpolated.
A class for handling words, derived from Foam::string.
const volScalarField & psi
#define FatalErrorInLookup(lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalError.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
errorManipArg< error, int > exit(error &err, const int errNo=1)