Resets the program to its initial state.
()
| 41 | * Resets the program to its initial state. |
| 42 | */ |
| 43 | @Override |
| 44 | public void reset() { |
| 45 | control.setValue("Initial y", 10); // sets default input values |
| 46 | control.setValue("Initial v", 0); |
| 47 | control.setValue("dt", 0.01); |
| 48 | } |
| 49 | |
| 50 | /** |
| 51 | * |