File kernel/src/simulationTools/TimeSteppingD1Minus.hpp

Go to the source code of this file

TimeSteppingD1Minus simulation.

class TimeSteppingD1Minus : public Simulation
#include <TimeSteppingD1Minus.hpp>

TimeSteppingD1Minus Timestepping Strategy.

see Schindler/Acary : Timestepping Schemes for Nonsmooth Dynamics Based on Discontinuous Galerkin Methods: Definition and Outlook

Public Functions

TimeSteppingD1Minus(SP::NonSmoothDynamicalSystem nsds, SP::TimeDiscretisation td, int nb)

constructor with the time-discretisation

Parameters
  • nsds: the current nonsmooth dynamical system
  • td: pointer to a TimeDiscretisation
  • nb: number of non smooth problem

~TimeSteppingD1Minus()

destructor

ACCEPT_STD_VISITORS()

visitors hook

virtual void advanceToEvent()

step from current event to next event of EventsManager

void computeFreeState()

integrate DynamicalSystems taking not into account non-smooth part

void computeResidu()

compute residu

virtual void run()

run the simulation, from t0 to T

virtual void updateIndexSet(unsigned int i)

updateIndexSet using current y and lambda values of interactions

Parameters
  • i: the number of the set to be updated 0 : ALL interactions (NEVER) 1 : ACTIVE interactions for IMPACTS 2 : ACTIVE interactions for CONTACTS

void updateInput(unsigned int level)

update input

Parameters
  • level: lambda order used to compute input

Protected Functions

virtual void initOSNS()

initialisation specific to TimeSteppingD1Minus for OneStepNSProblem

Private Functions

TimeSteppingD1Minus()

default constructor

ACCEPT_SERIALIZATION(TimeSteppingD1Minus)

serialization hooks