Keeps track of the simulation time (One step on the coarsest level counts as '1', one step on the next finer level counts as '0.5', one step on the next level as '0.25' etc.)
#include <TimeTracker.h>
Public Member Functions | |
TimeTracker (const uint_t initialTime=uint_t(0)) | |
void | operator() () |
void | operator() (const uint_t level, const uint_t executionCount) |
real_t | getTime (const uint_t level=uint_t(0)) |
Private Member Functions | |
void | checkLevel (const uint_t level) |
Private Attributes | |
std::vector< uint_t > | fractionCounter_ |
std::vector< uint_t > | fractionBase_ |
std::vector< real_t > | time_ |
|
inlineprivate |
|
inline |
|
inline |
|
private |
|
private |
|
private |