Go to the documentation of this file.
38 #ifndef bufferedAccumulator_H
39 #define bufferedAccumulator_H
65 public List<Field<Type>>
78 inline const Field<Type>& accumulationBuffer()
const;
80 void accumulateAndResetBuffer(
const label
b);
104 const label bufferingInterval
141 const label bufferingInterval
152 friend Ostream& operator<< <Type>
void operator=(const bufferedAccumulator< Type > &)
Field< Type > averaged() const
pTraits< Type >::cmptType cmptType
label bufferLength() const
const dimensionedScalar b
void setSizes(const label nBuffers, const label bufferLength, const label bufferingInterval)
label averagesTaken() const
label addToBuffers(const List< Type > &valuesToAdd)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A traits class, which is primarily used for primitives.
static const char *const typeName
const List< label > & bufferOffsets() const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...