56 class CombineOp = plusEqOp<typename List::value_type>
68 const IndexType delta_;
72 typename List::value_type lowSum_;
75 typename List::value_type highSum_;
94 const IndexType
delta,
104 inline IndexType
delta()
const
110 inline const IndexType&
lowSum()
const
116 inline const IndexType&
highSum()
const
123 const IndexType& indexVal,
void add(const IndexType &indexVal, const typename List::const_reference val, const CombineOp &cop=plusEqOp< typename List::value_type >())
const IndexType & lowSum() const
Return the sum of all added elements < min.
IndexType delta() const
Return the delta.
const IndexType & highSum() const
Return the sum of all added elements >= max.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
unsigned int const_reference
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
Various functors for unary and binary operations. Can be used for parallel combine-reduce operations ...