43#ifndef Foam_pointMVCWeight_H
44#define Foam_pointMVCWeight_H
61template<
class Type>
class pointPatchField;
62template<
class Type,
template<
class>
class PatchField,
class GeoMesh>
124 const label facei = -1
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Generic GeometricField class.
A HashTable to objects of type <T> with a label key.
A face is a list of labels corresponding to mesh vertices.
Container to calculate weights for interpolating directly from vertices of cell using Mean Value Coor...
Type interpolate(const GeometricField< Type, pointPatchField, pointMesh > &psip) const
Interpolate field.
const label cellIndex_
Cell index.
static scalar tol
Tolerance used in calculating barycentric coordinates.
scalarField weights_
Weights applied to cell vertices.
label cell() const noexcept
Cell index.
static int debug
Debug switch.
const scalarField & weights() const noexcept
Interpolation weights (in order of cellPoints)
void calcWeights(const Map< label > &toLocal, const face &f, const DynamicList< point > &u, const scalarField &dist, scalarField &weights) const
Calculate weights from single face's vertices only.
Mesh consisting of general polyhedral cells.