32 #ifndef interpolation_H 33 #define interpolation_H 71 virtual const word&
type()
const = 0;
93 const word& interpolationType,
132 const label facei = -1
140 const labelField& facei = NullObjectRef<labelField>()
151 const label facei = -1
161 const labelField& facei = NullObjectRef<labelField>()
170 template<
class Type,
class InterpolationType>
190 const labelField& facei = NullObjectRef<labelField>()
200 const labelField& facei = NullObjectRef<labelField>()
211 #define makeInterpolationType(SS, Type) \ 213 defineNamedTemplateTypeNameAndDebug(SS<Type>, 0); \ 215 interpolation<Type>::adddictionaryConstructorToTable<SS<Type>> \ 216 add##SS##Type##ConstructorToTable_; 219 #define makeInterpolation(SS) \ 221 makeInterpolationType(SS, scalar) \ 222 makeInterpolationType(SS, vector) \ 223 makeInterpolationType(SS, sphericalTensor) \ 224 makeInterpolationType(SS, symmTensor) \ 225 makeInterpolationType(SS, tensor) const GeometricField< Type, fvPatchField, volMesh > & psi_
The vol field to interpolate.
A list of keyword definitions, which are a keyword followed by any number of values (e...
static autoPtr< interpolation< Type > > New(const word &interpolationType, const GeometricField< Type, fvPatchField, volMesh > &psi)
Return a reference to the specified interpolation scheme.
virtual ~interpolation()
Destructor.
virtual const word & type() const =0
Runtime type information.
Generic GeometricField class.
virtual Type interpolate(const vector &position, const label celli, const label facei=-1) const =0
Interpolate field to the given point in the given cell.
const GeometricField< Type, fvPatchField, volMesh > & psi() const
Return the field to be interpolated.
A class for handling words, derived from string.
Storage and named access for the indices of a tet which is part of the decomposition of a cell...
const polyMesh & mesh_
Reference to the mesh.
declareRunTimeSelectionTable(autoPtr, interpolation, dictionary,(const GeometricField< Type, fvPatchField, volMesh > &psi),(psi))
Abstract base class for interpolation.
interpolation(const GeometricField< Type, fvPatchField, volMesh > &psi)
Construct from components.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
Macros to ease declaration of run-time selection tables.
A class for managing temporary objects.