ClampedSimulation constructor
Creates a ClampedSimulation that clamps the given simulation.
The named arguments specify the ranges for the clamping behavior, as applied to x and dx.
Implementation
ClampedSimulation(this.simulation, {
this.xMin = double.negativeInfinity,
this.xMax = double.infinity,
this.dxMin = double.negativeInfinity,
this.dxMax = double.infinity
}) : assert(simulation != null),
assert(xMax >= xMin),
assert(dxMax >= dxMin);