31 template<
unsigned SizeInc,
unsigned SizeMult,
unsigned SizeDiv>
43 triFaces.
setSize(triI + nTriangles());
45 return split(SPLITTRIANGLE, points, triI, quadI, triFaces, quadFaces);
78 centrePoint += meshPoints[operator[](pI)];
79 cf += fld[operator[](pI)];
94 + fld[operator[]((pI + 1) % nPoints)]
101 (meshPoints[
operator[](pI)] - centrePoint)
102 ^ (meshPoints[
operator[]((pI + 1) % nPoints)] - centrePoint)
111 return sumAf/(3*sumA);
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void size(const label)
Override size to be inconsistent with allocated storage.
label triangles(const pointField &points, label &triI, faceList &triFaces) const
Split into triangles using existing points.
void setSize(const label)
Alter the addressed list size.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
Type average(const pointField &, const Field< Type > &) const
Calculate average value at centroid of face.
dimensioned< scalar > mag(const dimensioned< Type > &)