dx method
- double time
override
The velocity of the object in the simulation at the given time.
Implementation
@override
double dx(double time) {
if (_snapToEnd && isDone(time)) {
return 0;
} else {
return _solution.dx(time);
}
}