Class TimeDiscretisationEvent#

Defined in Program listing for file kernel/src/simulationTools/TimeDiscretisationEvent.hpp

class TimeDiscretisationEvent : public Event#

Event that corresponds to user-defined time discretisation points.

Public Functions

TimeDiscretisationEvent(double time, int notUsed)#

constructor with time value as a parameter

  • time – starting time (a double)

  • notUsed – unused int



virtual void process(Simulation &simulation)#

simulation – the simulation that owns this Event (through the EventsManager)

virtual void update(unsigned int k)#

increment the TimeDiscretisation and to change the time of the Event


k – the next index for this event