faa.tg.aircraft.integrator
Class EulerIntegrator<E extends StateVector<E>>
java.lang.Object
faa.tg.aircraft.integrator.FixedStepIntegrator<E>
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
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EulerIntegrator
public EulerIntegrator(StateGenerator<E> source,
double timeStep)
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