The PointToPointSpring does not implement any Outputs so simple values like, length, force and energy from the spring are unavailable. The potential energy is also wrong. It is set to zero as default implementation by Force, which should either be NaN if not being computed OR is should be pure virtual method of Force so all concrete subclasses have to implement a valid PE.
The PointToPointSpring does not implement any Outputs so simple values like, length, force and energy from the spring are unavailable. The potential energy is also wrong. It is set to zero as default implementation by Force, which should either be NaN if not being computed OR is should be pure virtual method of Force so all concrete subclasses have to implement a valid PE.