43 #ifndef pointMVCWeight_H
44 #define pointMVCWeight_H
120 const label facei = -1
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
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...
const label cellIndex_
Cell index.
static scalar tol
Tolerance used in calculating barycentric co-ordinates.
label cell() const
Cell index.
scalarField weights_
Weights applied to cell vertices.
const scalarField & weights() const
Interpolation weights (in order of cellPoints)
Type interpolate(const PointField< Type > &psip) const
Interpolate field.
pointMVCWeight(const polyMesh &mesh, const vector &position, const label celli, const label facei=-1)
Construct from components.
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.
ClassName("pointMVCWeight")
Type information.
Mesh consisting of general polyhedral cells.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.