siconos.kernel.TimeSteppingCombinedProjection (Python class)

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

Bases: siconos.kernel.TimeStepping

Time-Stepping scheme.

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


TimeSteppingCombinedProjection(NonSmoothDynamicalSystem nsds, TimeDiscretisation td, OneStepIntegrator osi, OneStepNSProblem osnspb_velo, OneStepNSProblem osnspb_pos, int _level=2)

Constructor with the time-discretisation.

  • 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

default constructor

advanceToEvent() → None[source]

step from current event to next event of EventsManager

advanceToEventOLD() → None[source]
computeCriteria(bool *runningProjection) → None[source]
cumulatedNewtonNbIterations() → int[source]

get the Cumulated Number of steps performed in the Newton Loop

Returns:unsigned int
doCombinedProjOnEquality() → bool[source]
initOSNS() → None[source]

initialisation for OneStepNSProblem.

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

get the Number of cumulated iteration of projection

Returns:unsigned int
nbIndexSetsIteration() → int[source]

get the Number of iteration for stabilizating indexsets

Returns:unsigned int
nbProjectionIteration() → int[source]

get the Number of iteration of projection

Returns:unsigned int nbProjectionIteration
setConstraintTol(double v) → None[source]
setConstraintTolUnilateral(double v) → None[source]
setDoCombinedProj(int v) → None[source]
setProjectionMaxIteration(int v) → None[source]
updateIndexSet(int i) → None[source]

update indexSets[i] of the topology, using current y and lambda values of Interactions.

Parameters:i – the number of the set to be updated
updateWorldFromDS() → None[source]