walberla::lbm::TimestepTracker Class Reference

#include <TimestepTracker.h>

Public Member Functions

 TimestepTracker ()=default
 
 TimestepTracker (uint8_t zeroth_timestep)
 
void advance ()
 
std::function< void() > getAdvancementFunction ()
 
uint8_t getCounter () const
 
uint8_t getCounterPlusOne () const
 

Private Attributes

uint8_t counter_ { 0 }
 

Constructor & Destructor Documentation

◆ TimestepTracker() [1/2]

walberla::lbm::TimestepTracker::TimestepTracker ( )
default

◆ TimestepTracker() [2/2]

walberla::lbm::TimestepTracker::TimestepTracker ( uint8_t  zeroth_timestep)
inline

Member Function Documentation

◆ advance()

void walberla::lbm::TimestepTracker::advance ( )
inline

◆ getAdvancementFunction()

std::function< void() > walberla::lbm::TimestepTracker::getAdvancementFunction ( )
inline

◆ getCounter()

uint8_t walberla::lbm::TimestepTracker::getCounter ( ) const
inline

◆ getCounterPlusOne()

uint8_t walberla::lbm::TimestepTracker::getCounterPlusOne ( ) const
inline

Member Data Documentation

◆ counter_

uint8_t walberla::lbm::TimestepTracker::counter_ { 0 }
private

The documentation for this class was generated from the following file: