Class SphereNEDSSphereNEDSR#
Defined in Program listing for file mechanics/src/collision/native/bodies/SphereNEDSSphereNEDSR.hpp
-
class SphereNEDSSphereNEDSR : public NewtonEuler3DR, public std::enable_shared_from_this<SphereNEDSSphereNEDSR>#
Public Functions
-
SphereNEDSSphereNEDSR(double r1, double r2)#
Constructor.
- Parameters:
r1 – disk1 radius
r2 – disk2 radius
-
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
-
SphereNEDSSphereNEDSR(double r1, double r2)#