Memorizable | myPhysicsLab Docs

An object that memorizes simulation data or performs some other function that needs to happen regularly. The memorize method is meant to be called after each simulation time step, as is done in AdvanceStrategy.advance. See MemoList for how to add a Memorizable object so that it will be called frequently.

Hierarchy (view full)

Implemented by

Methods

memorize

  • memorize(): void
  • Memorize the current simulation data, or do some other function that should happen regularly after each simulation time step.

    Returns void

toStringShort

  • toStringShort(): string
  • Returns string

    a minimal string representation of this object.