|
netxsimdg
|
A base class for classes that specify what happens during one timestep. More...
#include <Iterator.hpp>


Public Member Functions | |
| Iterant (const Iterant ©From)=default | |
| Iterant & | operator= (const Iterant ©From)=default |
| Iterant (Iterant &&)=default | |
| Iterant & | operator= (Iterant &&)=default |
| virtual void | init ()=0 |
| Initializes the model, based on some environment stored in the implementing class. | |
| virtual void | start (const TimePoint &startTime)=0 |
| virtual void | iterate (const TimestepTime &dt)=0 |
| virtual void | stop (const TimePoint &stopTime)=0 |
A base class for classes that specify what happens during one timestep.
Definition at line 76 of file Iterator.hpp.
|
pure virtual |
Initializes the model, based on some environment stored in the implementing class.
Implemented in Nextsim::Counterant, Nextsim::DevStep, and Nextsim::IModelStep.
|
pure virtual |
Performs one iteration a specified length
| dt | The length of the timestep. |
Implemented in Nextsim::Counterant, Nextsim::DevStep, and Nextsim::IModelStep.

|
pure virtual |
Initializes the iterant based on the start time.
| startTime | the time at the initialization of the iterant. |
Implemented in Nextsim::Counterant, Nextsim::DevStep, and Nextsim::IModelStep.

|
pure virtual |
Finalizes the iterant based on the stop time.
| stopTime | the time at the finalization of the iterant. |
Implemented in Nextsim::Counterant, Nextsim::DevStep, and Nextsim::IModelStep.
