struct
#include <src/Control/StatCtr.hpp>
Term Term is a Moment of a quantity with a field ID to be ensemble averaged.
Internally the numbering of field IDs starts from 0, but presented to the user, e.g., in screen-output, as starting from 1.
Constructors, destructors, conversion operators
-
Term(char v = 0,
uint64_t f = 0,
Moment m = Moment::
ORDINARY) explicit - Constructor: initialize all state data.
Public functions
- auto operator==(const Term& term) const -> bool
- Equal operator for, e.g., finding unique elements, used by, e.g., std::
unique(). - auto operator<(const Term& term) const -> bool
- Less-than operator for ordering, used by, e.g., std::sort().
Public variables
Pack/Unpack: Serialize Term object for Charm++
Function documentation
tk:: ctr:: Term:: Term(char v = 0,
uint64_t f = 0,
Moment m = Moment:: ORDINARY) explicit
Constructor: initialize all state data.
Parameters | |
---|---|
v in | Variable name |
f in | Field ID |
m in | Moment type enum: Moment:: |
bool tk:: ctr:: Term:: operator==(const Term& term) const
Equal operator for, e.g., finding unique elements, used by, e.g., std::
Parameters | |
---|---|
term in | Term to compare |
Returns | Boolean indicating if term equals 'this' |
Test on field, moment, and var
void tk:: ctr:: Term:: pup(PUP::er& p)
Parameters | |
---|---|
p in/out | Charm++'s PUP::er serializer object reference |
Pack/Unpack serialize member function