36 #ifndef bufferedAccumulator_H
37 #define bufferedAccumulator_H
47 class bufferedAccumulator;
63 public List<Field<Type>>
76 inline const Field<Type>& accumulationBuffer()
const;
78 void accumulateAndResetBuffer(
const label b);
102 const label bufferingInterval
139 const label bufferingInterval
150 friend Ostream& operator<< <Type>
Pre-declare SubField and related Field type.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Field< Type > averaged() const
bufferedAccumulator()
Construct null.
void operator=(const bufferedAccumulator< Type > &)
label addToBuffers(const List< Type > &valuesToAdd)
pTraits< Type >::cmptType cmptType
Component type.
~bufferedAccumulator()
Destructor.
label bufferLength() const
const List< label > & bufferOffsets() const
void setSizes(const label nBuffers, const label bufferLength, const label bufferingInterval)
label averagesTaken() const
static const char *const typeName
Traits class for primitives.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.