MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / reset

Method reset

src/csm/ch03/FallingParticleODEApp.java:43–48  ·  view source on GitHub ↗

Resets the program to its initial state.

()

Source from the content-addressed store, hash-verified

41 * Resets the program to its initial state.
42 */
43 @Override
44public 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 *

Callers

nothing calls this directly

Calls 1

setValueMethod · 0.65

Tested by

no test coverage detected