Makes available several DiffEqSolver's for advancing an ODESim simulation. Creates a ParameterString for changing which DiffEqSolver to use. The ParameterString can be hooked up to a ChoiceControl to allow the user to change the DiffEqSolver. Or you can directly invoke the setDiffEqSolver method.

The EnergySystem is only needed for the experimental AdaptiveStepSolver. If EnergySystem is not provided then all DiffEqSolver options are still available except for AdaptiveStepSolver.

Parameters Created

Hierarchy (view full)

Implements

Constructors

Methods

  • Returns the language-independent name of the current DiffEqSolver

    Returns string

    the language-independent name of the current DiffEqSolver

  • Sets whether this Subject will broadcast events, typically used to temporarily disable broadcasting. Intended to be used in situations where a subclass overrides a method that broadcasts an event. This allows the subclass to prevent the superclass broadcasting that event, so that the subclass can broadcast the event when the method is completed.

    Parameters

    • value: boolean

      whether this Subject should broadcast events

    Returns boolean

    the previous value

  • Sets which DiffEqSolver to use.

    Parameters

    • value: string

      the language-independent name of the DiffEqSolver to use

    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:

    DisplayShape{polygon:Polygon{'chain3'}}
    

    Returns string

    a minimal string representation of this object.

Generated using TypeDoc