File kernel/src/simulationTools/TimeDiscretisationEventNoSaveInMemory.hpp#

Go to the source code of this file

Time Discretisation Events

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

Event that corresponds to user-defined time discretisation points This Event does not automatically save in memory some variables.

Use it at your own risk

Public Functions

TimeDiscretisationEventNoSaveInMemory(double time, int notUsed)

constructor with time value as a parameter

Parameters:
  • time – starting time (a double)

  • notUsed – unused int

~TimeDiscretisationEventNoSaveInMemory()

destructor

virtual void update(unsigned int k)

increment the TimeDiscretisation and to change the time of the Event

Parameters:

k – the next index for this event

virtual void process(Simulation &simulation)
Parameters:

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

Private Functions

ACCEPT_SERIALIZATION(TimeDiscretisationEventNoSaveInMemory)#
TimeDiscretisationEventNoSaveInMemory()#

Default constructor.