Public Types | |
| typedef pTraits< Type >::cmptType | cmptType |
| Component type. More... | |
Public Member Functions | |
| bufferedAccumulator () | |
| Construct null. More... | |
| bufferedAccumulator (const label nBuffers, const label bufferLength, const label bufferingInterval) | |
| Construct from components. More... | |
| bufferedAccumulator (const bufferedAccumulator< Type > &) | |
| Construct as copy. More... | |
| ~bufferedAccumulator () | |
| Destructor. More... | |
| 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 48 of file bufferedAccumulator.H.
Component type.
Definition at line 85 of file bufferedAccumulator.H.
Construct null.
Definition at line 56 of file bufferedAccumulator.C.
| bufferedAccumulator | ( | const label | nBuffers, |
| const label | bufferLength, | ||
| const label | bufferingInterval | ||
| ) |
Construct from components.
Definition at line 66 of file bufferedAccumulator.C.
| bufferedAccumulator | ( | const bufferedAccumulator< Type > & | bA | ) |
Construct as copy.
Definition at line 87 of file bufferedAccumulator.C.
| ~bufferedAccumulator | ( | ) |
Destructor.
Definition at line 100 of file bufferedAccumulator.C.
| Foam::label addToBuffers | ( | const List< Type > & | valuesToAdd | ) |
Definition at line 134 of file bufferedAccumulator.C.
References Foam::abort(), Foam::constant::physicoChemical::b, Foam::FatalError, and FatalErrorInFunction.
| Foam::Field< Type > averaged | ( | ) | const |
Definition at line 177 of file bufferedAccumulator.C.
References Foam::endl(), WarningInFunction, and Foam::Zero.
| void resetAveraging | ( | ) |
Definition at line 199 of file bufferedAccumulator.C.
References Foam::Zero.
|
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.
|
inline |
Definition at line 71 of file bufferedAccumulatorI.H.
| void setSizes | ( | const label | nBuffers, |
| const label | bufferLength, | ||
| const label | bufferingInterval | ||
| ) |
Definition at line 108 of file bufferedAccumulator.C.
References Foam::constant::physicoChemical::b, forAll, and Foam::Zero.
| void operator= | ( | const bufferedAccumulator< Type > & | rhs | ) |
Definition at line 211 of file bufferedAccumulator.C.
|
friend |
|
static |
Definition at line 90 of file bufferedAccumulator.H.