68 const IndexType delta_;
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,
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Various functors for unary and binary operations. Can be used for parallel combine-reduce operations ...
const IndexType & highSum() const
Return the sum of all added elements >= max.
BinSum(const IndexType min, const IndexType max, const IndexType delta)
Construct given min, max, delta.
void add(const IndexType &indexVal, const typename List::const_reference val, const CombineOp &cop=plusEqOp< typename List::value_type >())
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
const IndexType & lowSum() const
Return the sum of all added elements < min.
IndexType delta() const
Return the delta.
const T & const_reference
The type used for reading from constant value_type objects.
T value_type
The value type the list contains.