siconos.kernel.TimeSteppingDirectProjection (Python class)

class siconos.kernel.TimeSteppingDirectProjection(*args)[source]

Bases: siconos.kernel.TimeStepping

Time-Stepping scheme with a direct projection onto the constraint thanks to the GGL augmentation of the system.

For details, have a look on Projected event-capturing time-stepping schemes for nonsmooth mechanical systems with unilateral contact and Coulomb’s friction Vincent Acary Computer Methods in Applied Mechanics and Engineering, Elsevier, 2013, 256, pp. 224-250

Generated class (swig), based on C++ header Program listing for file kernel/src/simulationTools/TimeSteppingDirectProjection.hpp.

Constructors

TimeSteppingDirectProjection(NonSmoothDynamicalSystem nsds, TimeDiscretisation td, OneStepIntegrator osi, OneStepNSProblem osnspb_velo, OneStepNSProblem osnspb_pos, int _level=1)

Constructor with the time-discretisation.

Parameters:
  • nsds – the nsds that we want to simulate
  • td – a pointer to a timeDiscretisation (linked to the model that owns this simulation)
  • osi – a one step integrator
  • osnspb_velo – a one step non smooth problem for the velocity formulation
  • osnspb_pos – a one step non smooth problem for the position formulation
  • _level
TimeSteppingDirectProjection()

default constructor

advanceToEvent() → None[source]

step from current event to next event of EventsManager

computeCriteria(bool *runningProjection) → None[source]
initOSNS() → None[source]

initialisation for OneStepNSProblem.

maxViolationEquality() → double[source]
maxViolationUnilateral() → double[source]
nbProjectionIteration() → int[source]

get the Number of iteration of projection

Returns:_nbProjectionIteration
newtonSolve(double criterion, int maxStep) → None[source]
nextStep() → None[source]
setConstraintTol(double v) → None[source]
setConstraintTolUnilateral(double v) → None[source]
setDoOnlyProj(int v) → None[source]
setDoProj(int v) → None[source]
setProjectionMaxIteration(int v) → None[source]
updateWorldFromDS() → None[source]