Public Types | |
typedef pTraits< Type >::cmptType | cmptType |
Public Member Functions | |
bufferedAccumulator () | |
bufferedAccumulator (const label nBuffers, const label bufferLength, const label bufferingInterval) | |
bufferedAccumulator (const bufferedAccumulator< Type > &) | |
~bufferedAccumulator () | |
label | addToBuffers (const List< Type > &valuesToAdd) |
Field< Type > | averaged () const |
void | resetAveraging () |
label | averagesTaken () const |
label | nBuffers () const |
label | bufferLength () const |
const List< label > & | bufferOffsets () const |
void | setSizes (const label nBuffers, const label bufferLength, const label bufferingInterval) |
void | operator= (const bufferedAccumulator< Type > &) |
Static Public Attributes | |
static const char *const | typeName |
Friends | |
Ostream & | operator (Ostream &, const bufferedAccumulator< Type > &) |
Definition at line 44 of file bufferedAccumulator.H.
Definition at line 81 of file bufferedAccumulator.H.
Definition at line 49 of file bufferedAccumulator.C.
bufferedAccumulator | ( | const label | nBuffers, |
const label | bufferLength, | ||
const label | bufferingInterval | ||
) |
Definition at line 59 of file bufferedAccumulator.C.
bufferedAccumulator | ( | const bufferedAccumulator< Type > & | ) |
~bufferedAccumulator | ( | ) |
Definition at line 93 of file bufferedAccumulator.C.
Foam::label addToBuffers | ( | const List< Type > & | valuesToAdd | ) |
Definition at line 127 of file bufferedAccumulator.C.
References Foam::abort(), Foam::constant::physicoChemical::b, Foam::FatalError, and FatalErrorInFunction.
Foam::Field< Type > averaged | ( | ) | const |
Definition at line 170 of file bufferedAccumulator.C.
References Foam::endl(), WarningInFunction, and Foam::Zero.
void resetAveraging | ( | ) |
Definition at line 192 of file bufferedAccumulator.C.
References Foam::Zero.
|
inline |
Definition at line 43 of file bufferedAccumulatorI.H.
|
inline |
Definition at line 50 of file bufferedAccumulatorI.H.
|
inline |
Definition at line 57 of file bufferedAccumulatorI.H.
|
inline |
Definition at line 64 of file bufferedAccumulatorI.H.
void setSizes | ( | const label | nBuffers, |
const label | bufferLength, | ||
const label | bufferingInterval | ||
) |
Definition at line 101 of file bufferedAccumulator.C.
References Foam::constant::physicoChemical::b, forAll, and Foam::Zero.
void operator= | ( | const bufferedAccumulator< Type > & | rhs | ) |
Definition at line 204 of file bufferedAccumulator.C.
|
friend |
|
static |
Definition at line 86 of file bufferedAccumulator.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.