File mechanics/src/collision/native/bodies/DiskDiskR.hpp

Go to the source code of this file

class DiskDiskR : public CircularR, public std11::enable_shared_from_this<DiskDiskR>
#include <DiskDiskR.hpp>

Two disks relation - Inherits from LagrangianScleronomousR.

Public Functions

DiskDiskR(double disk1, double disk2)

Constructor.

Parameters
  • disk1: radius
  • disk2: radius

~DiskDiskR()
ACCEPT_VISITORS()

visitors hook

void computeh(SiconosVector &q, SiconosVector &z, SiconosVector &y)
void computeJachq(SiconosVector &q, SiconosVector &z)
double distance(double, double, double, double, double, double)

Private Functions

DiskDiskR()
ACCEPT_SERIALIZATION(DiskDiskR)

serialization hooks

Private Members

double r1pr2