Advances an ODESim in a single step without doing any collision handling.

The advance method calls DiffEqSolver.step to advance the Simulation state, and then Simulation.modifyObjects to update the state of the SimObjects.




timeStep_: number

Default amount of time to advance the simulation, in seconds.


  • Advances the Simulation state by the specified amount of time.


    • timeStep: number

      the amount of time to advance in seconds

    • Optional opt_memoList: MemoList

      optional MemoList to call whenever the simulation state is advanced

    Returns void


    when unable to advance the simulation

  • Sets the default time step, the small increment of time by which to advance the simulation's state.

    The reason for storing the time step in AdvanceStrategy is so that test/TestViewerApp.TestViewerApp produces the same results as running a test. This is a convenient way for a test to make known the time step to use.


    • timeStep: number

      the default time step, in seconds.

    Returns void

  • Returns a minimal string representation of this object, usually giving just identity information like the class name and name of the object.

    For an object whose main purpose is to represent another Printable object, it is recommended to include the result of calling toStringShort on that other object. For example, calling toStringShort() on a DisplayShape might return something like this:


    Returns string

    a minimal string representation of this object.

Generated using TypeDoc