32 #ifndef interpolation_H 33 #define interpolation_H 74 virtual const word&
type()
const = 0;
96 const word& interpolationType,
135 const label facei = -1
146 const label facei = -1
160 #define makeInterpolationType(SS, Type) \ 162 defineNamedTemplateTypeNameAndDebug(SS<Type>, 0); \ 164 interpolation<Type>::adddictionaryConstructorToTable<SS<Type>> \ 165 add##SS##Type##ConstructorToTable_; 168 #define makeInterpolation(SS) \ 170 makeInterpolationType(SS, scalar) \ 171 makeInterpolationType(SS, vector) \ 172 makeInterpolationType(SS, sphericalTensor) \ 173 makeInterpolationType(SS, symmTensor) \ 174 makeInterpolationType(SS, tensor) label cell() const
Return the cell.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const GeometricField< Type, fvPatchField, volMesh > & psi_
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 vectorField & pMeshFaceCentres_
const vectorField & pMeshPoints_
A class for handling words, derived from string.
const faceList & pMeshFaces_
Storage and named access for the indices of a tet which is part of the decomposition of a cell...
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.
const vectorField & pMeshFaceAreas_
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.
const GeometricField< Type, fvPatchField, volMesh > & psi() const
Return the field to be interpolated.