32 #ifndef interpolation_H
33 #define interpolation_H
93 const word& interpolationType,
139 const label facei = -1
147 const labelList& facei = NullObjectRef<labelList>()
158 const label facei = -1
168 const labelList& facei = NullObjectRef<labelList>()
177 template<
class Type,
class InterpolationType>
197 const labelList& facei = NullObjectRef<labelList>()
207 const labelList& facei = NullObjectRef<labelList>()
218 #define defineInterpolation(Type, InterpolationType) \
219 defineNamedTemplateTypeNameAndDebug(InterpolationType<Type>, 0);
221 #define makeInterpolation(Type, InterpolationType) \
222 addTemplatedToRunTimeSelectionTable \
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual tmp< Field< Type > > interpolate(const vectorField &position, const labelList &celli, const labelList &facei=NullObjectRef< labelList >()) const
Interpolate field to the given points in the given cells.
Abstract base class for interpolation.
static autoPtr< interpolation< Type > > New(const word &interpolationType, const VolField< Type > &psi)
Return a reference to the specified interpolation scheme.
interpolation(const VolField< Type > &psi)
Construct from components.
virtual autoPtr< interpolation< Type > > clone() const =0
Clone.
const VolField< Type > & psi() const
Return the field to be interpolated.
const VolField< Type > & psi_
The vol field to interpolate.
declareRunTimeSelectionTable(autoPtr, interpolation, dictionary,(const VolField< Type > &psi),(psi))
const polyMesh & mesh_
Reference to the mesh.
TypeName("interpolation")
Runtime type information.
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.
virtual ~interpolation()
Destructor.
Mesh consisting of general polyhedral cells.
Storage and named access for the indices of a tet which is part of the decomposition of a cell.
A class for managing temporary objects.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...