54 scalar meshVolume =
sum(cellVols);
56 if (Pstream::parRun())
58 reduce(meshVolume, sumOp<scalar>());
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
scalar accumulatedTotalrDotfSum
scalar accumulatedTotalPE
Vector< scalar > vector
A scalar version of the templated Vector.
vector accumulatedTotalLinearMomentum(Zero)
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &df)
scalar accumulatedTotalLinearKE
scalar accumulatedTotalAngularKE
scalar accumulatedTotalMass
volScalarField scalarField(fieldObject, mesh)
const scalarField & cellVols
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
scalar averageTemperature