File kernel/src/simulationTools/TimeDiscretisationEvent.hpp

Go to the source code of this file

Time Discretisation Events.

class TimeDiscretisationEvent : public Event
#include <TimeDiscretisationEvent.hpp>

Event that corresponds to user-defined time discretisation points.

Public Functions

TimeDiscretisationEvent(double time, int notUsed)

constructor with time value as a parameter

Parameters
  • time: starting time (a double)
  • notUsed: unused int

~TimeDiscretisationEvent()

destructor

void process(Simulation &simulation)

Parameters

void update(unsigned int k)

increment the TimeDiscretisation and to change the time of the Event

Parameters
  • k: the next index for this event

Private Functions

TimeDiscretisationEvent()

Default constructor.

ACCEPT_SERIALIZATION(TimeDiscretisationEvent)

serialization hooks