faa.tg.aircraft.integrator
Class EulerIntegrator<E extends StateVector<E>>

java.lang.Object
  extended by faa.tg.aircraft.integrator.FixedStepIntegrator<E>
      extended by faa.tg.aircraft.integrator.EulerIntegrator<E>
All Implemented Interfaces:
Integrator<E>

public class EulerIntegrator<E extends StateVector<E>>
extends FixedStepIntegrator<E>

 Euler integration is fixed time-step first order integration. So for some
 function f, where the i and i+1 states are a and b respectively and t is 
 the timestep, f(b) = f(a) + f_dot(a)*t. This method is very unstable and is
 unsuitable most cases. 
 
See the source: EulerIntegrator.java

Version:
$Id: EulerIntegrator.java,v 1.2 2008/08/05 21:47:28 lykensj Exp $
Author:
lykensj, Engility Jul 10, 2008 10:40:50 AM

Field Summary
 
Fields inherited from class faa.tg.aircraft.integrator.FixedStepIntegrator
source
 
Fields inherited from interface faa.tg.aircraft.integrator.Integrator
CVS_VERSION_ID
 
Constructor Summary
EulerIntegrator(StateGenerator<E> source, double timeStep)
           
 
Method Summary
protected  E calculateTotalDerivative()
          Use the specific method of this Integrator to generate the state derivative that when multiplied by the time step and added to the current state, the integrated state results.
 Integrator<E> split(StateGenerator<E> source)
          Makes a duplicate of this Integrator with a different source.
 
Methods inherited from class faa.tg.aircraft.integrator.FixedStepIntegrator
isUnfinished, resetClock, resetClock, timeStep, timeUsed, updateWithinError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EulerIntegrator

public EulerIntegrator(StateGenerator<E> source,
                       double timeStep)
Method Detail

calculateTotalDerivative

protected E calculateTotalDerivative()
Description copied from class: FixedStepIntegrator
Use the specific method of this Integrator to generate the state derivative that when multiplied by the time step and added to the current state, the integrated state results.

Specified by:
calculateTotalDerivative in class FixedStepIntegrator<E extends StateVector<E>>
Returns:
the total change derivative.

split

public Integrator<E> split(StateGenerator<E> source)
Description copied from interface: Integrator
Makes a duplicate of this Integrator with a different source.

Returns:
the duplicate