Class SphereNEDSPlanR#

Defined in Program listing for file mechanics/src/collision/native/bodies/SphereNEDSPlanR.hpp

class SphereNEDSPlanR : public NewtonEuler3DR, public std::enable_shared_from_this<SphereNEDSPlanR>#

Public Functions

SphereNEDSPlanR(double r, double A, double B, double C, double D)#

Constructor.

Parameters:
  • r – disk radius

  • A

  • B

  • C

  • D

void computeh(double time, const BlockVector &q0, SiconosVector &y) override#

to compute the output y = h(t,q,z) of the Relation

Parameters:
  • time – current time value

  • q – coordinates of the dynamical systems involved in the relation

  • y – the resulting vector