- The notice of a finished hit is taken out of the contact with std::exchange before it goes to the scenery, so
what the scenery does with it can't reach the one held in the contact.
- The loops count whole steps (an int, the number of steps taken with ceil) instead of adding a floating step.
- The local final of bufferstop::contact() is ending (final is a contextual keyword).
Unit tests 1294/1294.
Unit tests of physics/bufferstop.h: the attribute, the brake elements of the
sliding stop (1848 kJ over 8 m), a locomotive shunting into a rigid stop, the
FEM case of Kowalczyk, Enfield, Kirkby, the speeds a stop is ridden up at, the
sliding stop held and overrun, the hydraulic stop, a central coupler, the
independence of the step, the adapter onto collision::hit() and the models of
the automatic rule.
Twelve scenario cases on autotest_stub of td.scn, with the new check
bufferstop of run.py on the log line of a hit.