siconos.kernel.NewtonImpactRollingFrictionNSL (Python class)

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

Bases: siconos.kernel.NonSmoothLaw

Newton Impact-Friction Non Smooth Law.

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

Constructors

NewtonImpactRollingFrictionNSL(int size)

basic constructor

Parameters

size – size of the ns law

NewtonImpactRollingFrictionNSL(double en, double et, double mu, double muR, int size)

constructor with the value of the NewtonImpactRollingFrictionNSL attributes

Parameters
  • en – double : normal e coefficient

  • et – double : tangent e coefficient

  • mu – double : friction coefficient

  • muR – double : rolling friction coefficient

  • size – unsigned int: size of the ns law

display() → None[source]

print the data to the screen

en() → double[source]

getter of en

Returns

the value of en

et() → double[source]

getter of et

Returns

the value of et

isVerified(None) → bool[source]

check the ns law to see if it is verified

Returns

a boolean value whioch determines if the NS Law is verified

mu() → double[source]

getter of mu

Returns

the value of mu

muR() → double[source]

getter of mu

Returns

the value of mu

setEn(double newVal) → None[source]

setter of en

Parameters

newVal – a double to set en

setEt(double newVal) → None[source]

setter of et

Parameters

newVal – a double to set et

setMu(double newVal) → None[source]

setter of mu

Parameters

newVal – a double to set mu

setMuR(double newVal) → None[source]

setter of muR

Parameters

newVal – a double to set muR