#include <molecularMeasurements/bufferedAccumulator.H>
Definition at line 61 of file bufferedAccumulator.H.
Inheritance diagram for bufferedAccumulator< Type >:
Collaboration diagram for bufferedAccumulator< Type >:Public Types | |
| typedef pTraits< Type >::cmptType | cmptType |
| Component type.
| |
Public Member Functions | |
| bufferedAccumulator () | |
| Construct null.
| |
| bufferedAccumulator (const label nBuffers, const label bufferLength, const label bufferingInterval) | |
| Construct from components.
| |
| bufferedAccumulator (const bufferedAccumulator< Type > &) | |
| Construct as copy.
| |
| ~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 > &) |
Component type.
Reimplemented in correlationFunction< Type >.
Definition at line 84 of file bufferedAccumulator.H.
Construct null.
Definition at line 53 of file bufferedAccumulator.C.
| bufferedAccumulator | ( | const label | nBuffers, |
| const label | bufferLength, | ||
| const label | bufferingInterval | ||
| ) |
Construct from components.
Definition at line 63 of file bufferedAccumulator.C.
| bufferedAccumulator | ( | const bufferedAccumulator< Type > & | bA ) |
Construct as copy.
Definition at line 84 of file bufferedAccumulator.C.
| ~bufferedAccumulator | ( | ) |
Definition at line 97 of file bufferedAccumulator.C.
| Foam::label addToBuffers | ( | const List< Type > & | valuesToAdd ) |
Definition at line 131 of file bufferedAccumulator.C.
References Foam::abort(), b, Foam::FatalError, and FatalErrorIn.
| Foam::Field< Type > averaged | ( | ) | const |
Definition at line 174 of file bufferedAccumulator.C.
References Foam::endl(), and WarningIn.
| void resetAveraging | ( | ) |
Definition at line 198 of file bufferedAccumulator.C.
| label averagesTaken | ( | ) | const [inline]
|
Definition at line 48 of file bufferedAccumulatorI.H.
| label nBuffers | ( | ) | const [inline]
|
Definition at line 55 of file bufferedAccumulatorI.H.
| label bufferLength | ( | ) | const [inline]
|
Definition at line 62 of file bufferedAccumulatorI.H.
| const List< label > & bufferOffsets | ( | ) | const [inline]
|
Definition at line 69 of file bufferedAccumulatorI.H.
| void setSizes | ( | const label | nBuffers, |
| const label | bufferLength, | ||
| const label | bufferingInterval | ||
| ) |
Definition at line 105 of file bufferedAccumulator.C.
References b, forAll, and List< T >::setSize().
| void operator= | ( | const bufferedAccumulator< Type > & | rhs ) |
Definition at line 210 of file bufferedAccumulator.C.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
| Ostream& operator | ( | Ostream & | , |
| const bufferedAccumulator< Type > & | |||
| ) | [friend]
|
const char *const typeName [static]
|
Reimplemented in correlationFunction< Type >.
Definition at line 89 of file bufferedAccumulator.H.