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
166 #define makeInterpolationType(SS, Type) \ 168 defineNamedTemplateTypeNameAndDebug(SS<Type>, 0); \ 170 interpolation<Type>::adddictionaryConstructorToTable<SS<Type>> \ 171 add##SS##Type##ConstructorToTable_; 174 #define makeInterpolation(SS) \ 176 makeInterpolationType(SS, scalar) \ 177 makeInterpolationType(SS, vector) \ 178 makeInterpolationType(SS, sphericalTensor) \ 179 makeInterpolationType(SS, symmTensor) \ 180 makeInterpolationType(SS, tensor) 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.
tetPointRef tet(const polyMesh &mesh) const
Return the geometry corresponding to this tet.
Point barycentricToPoint(const barycentric &bary) const
Calculate the point from the given barycentric coordinates.
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 GeometricField< Type, fvPatchField, volMesh > & psi() const
Return the field to be interpolated.
const vectorField & pMeshPoints_
A class for handling words, derived from string.
label cell() const
Return the cell.
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))
PtrList< coordinateSystem > coordinates(solidRegions.size())
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.