siconos.mechanics.collision.bodies.DiskDiskR (Python class)

class siconos.mechanics.collision.bodies.DiskDiskR(disk1: double, disk2: double)[source]

Bases: siconos.mechanics.collision.bodies.CircularR

Two disks relation - Inherits from LagrangianScleronomousR.

Generated class (swig), based on C++ header Program listing for file mechanics/src/collision/native/bodies/DiskDiskR.hpp.

Constructors

DiskDiskR(double disk1, double disk2)

Constructor.

Parameters:
  • disk1 – radius
  • disk2 – radius
computeJachq(array_like (np.float64, 1D) q, array_like (np.float64, 1D) z) → None[source]
computeh(array_like (np.float64, 1D) q, array_like (np.float64, 1D) z, array_like (np.float64, 1D) y) → None[source]
distance(double, double, double, double, double, double) → double[source]