35 const Field<Type>& faceValues
38 tmp<Field<Type>> tLayerValues(
new Field<Type>(
n,
Zero));
42 tLayerValues.ref()[weights[weighti].cuti] +=
43 weights[weighti].value*faceValues[weights[weighti].elementi];
46 Pstream::listCombineGather(tLayerValues.ref(), plusEqOp<Type>());
47 Pstream::listCombineScatter(tLayerValues.ref());
#define forAll(list, i)
Loop across all elements in list.
Motion of the mesh specified as a list of pointMeshMovers.
A class for managing temporary objects.
tmp< Field< Type > > applyWeights(const label n, const List< cutPlot::weight > &weights, const Field< Type > &cellValues)
Construct plot values from cell values given a set of weights.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.