Packageorg.MARS.dynamics.ode.solver
Classpublic class Euler
InheritanceEuler Inheritance AbstractSolver
ImplementsIODESolver

Euler differential equation solver

This solver simply finds the derivative and applies it directly to the state to advance the equation

See also

IODESolver
IODE
RK4


Public Properties
 PropertyDefined by
 Inheritedode : IODE
AbstractSolver
Protected Properties
 PropertyDefined by
 Inherited_ode : IODE
equation to solve
AbstractSolver
Public Methods
 MethodDefined by
  
Euler(ode:IODE)
Creates a new Euler solver
Euler
  
step(dt:Number):void
Advances the state of the equation by the supplied timestep
Euler
Constructor detail
Euler()constructor
public function Euler(ode:IODE)

Creates a new Euler solver

Parameters
ode:IODE — IODE to solve
Method detail
step()method
public override function step(dt:Number):void

Advances the state of the equation by the supplied timestep

Parameters
dt:Number — timestep by which to advance