Class Tests

java.lang.Object
  |
  +--Tests

public class Tests
extends java.lang.Object
implements ODEIntegratable

Tests - A class for testing ODE Integration code. The test below illustrates the simulation of simple pendulum behavior.

Since:
1.0
See Also:
ODEIntegratable

Constructor Summary
Tests()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void ode(double x, double[] y, double[] dydx)
           
 void rk45test()
          Describe rk45test method here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tests

public Tests()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws ODEIntException
Parameters:
args - java.lang.String[]
Throws:
odeint.ODEIntException - The exception description.

ode

public void ode(double x,
                double[] y,
                double[] dydx)
Specified by:
ode in interface ODEIntegratable

rk45test

public void rk45test()
              throws ODEIntException
Describe rk45test method here.
Throws:
ODEIntException - if an error occurs