velocity top-level constant

double const velocity

Implementation

const double velocity = minMagnitude / 1000.0;