siconos.mechanics.joints.JointStopR (Python class)

class siconos.mechanics.joints.JointStopR(*args)[source]

Bases: siconos.kernel.NewtonEulerR

This class implements a stop on a DoF for any NewtonEulerJointR.

Generated class (swig), based on C++ header Program listing for file mechanics/src/joints/JointStopR.hpp.

Constructors

JointStopR(NewtonEulerJointR joint, double pos, bool dir, int axis=0)

Initialize a joint stop for a common case: a single axis with a single stop, either positive or negative.

For use with NewtonImpactNSL.

JointStopR(NewtonEulerJointR joint, array_like (np.float64, 1D) pos, array_like (np.float64, 1D) dir, UnsignedIntVector axes)

Initialize a multidimensional joint stop, e.g.

the cone stop on a ball joint. For use with NewtonImpactFrictionNSL size 2 or 3.

JointStopR(NewtonEulerJointR joint, double pos, double neg, int axis=0)

Initialize a joint stop for a common case: a single axis with a double stop, one positive and one negative.

axis(int _index) → int[source]
computeJachq(double time, Interaction inter, BlockVector q0) → None[source]
computeh(double time, BlockVector q0, array_like (np.float64, 1D) y) → None[source]
direction(int _index) → double[source]
joint() → NewtonEulerJointR[source]
numberOfAxes() → int[source]
numberOfConstraints() → int[source]
position(int _index) → double[source]