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

void process(Simulation &simulation)

OSNS solving and IndexSets updating.

Parameters

Private Functions

NonSmoothEvent()

Default constructor.

ACCEPT_SERIALIZATION(NonSmoothEvent)

serialization hooks