File kernel/src/simulationTools/NonSmoothEvent.hpp#

Go to the source code of this file

Non-Smooth Events

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

Events due to non smooth behavior (contact occurence…)

Those events are detected during Simulation process (integration of the smooth part with a roots-finding algorithm) and scheduled into the EventsManager.

Public Functions

NonSmoothEvent(double time, int notUsed)

constructor with time value as a parameter

Parameters:
  • time – the time of the first event (a double)

  • notUsed – unused parameter (an int)

~NonSmoothEvent()

destructor

virtual void process(Simulation &simulation)

OSNS solving and IndexSets updating.

Parameters:

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

Private Functions

ACCEPT_SERIALIZATION(NonSmoothEvent)#
NonSmoothEvent()#

Default constructor.