Class NonSmoothEvent

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

class NonSmoothEvent : public Event

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

void process(Simulation &simulation)

OSNS solving and IndexSets updating.

Parameters