Class Counterant

Inheritance Relationships

Base Type

Class Documentation

class Counterant : public Nextsim::Iterator::Iterant

Public Functions

inline virtual void init()

Initializes the model, based on some environment stored in the implementing class.

inline virtual void start(const TimePoint &startTime)

Initializes the iterant based on the start time.

Parameters:

startTime – the time at the initialization of the iterant.

inline virtual void iterate(const TimestepTime &tst)

Performs one iteration a specified length

Parameters:

dt – The length of the timestep.

inline virtual void stop(const TimePoint &stopTime)

Finalizes the iterant based on the stop time.

Parameters:

stopTime – the time at the finalization of the iterant.

inline int getCount()

Public Members

int count
int startCount
int stopCount