proj home

Files   Classes   Functions   Hierarchy  

nintegrationEuler< D, T > Class Template Reference

Numerical integration with the Euler method. More...

#include <nintegration.h>

Collaboration diagram for nintegrationEuler< D, T >:

List of all members.

Public Member Functions

 nintegrationEuler (T *xi_, T *yi_)
 The clients equation needs to see the variables.
void eval (T &dz, T const h, T const z, T const x)
 Increment to the next equation.

Public Attributes

yDorder
 The equation of the system as a 1st order derivative.


Detailed Description

template<typename D, typename T>
class nintegrationEuler< D, T >

Numerical integration with the Euler method.

This is the simplest type of numerical integration.

Definition at line 16 of file nintegration.h.


Constructor & Destructor Documentation

template<typename D , typename T >
nintegrationEuler< D, T >::nintegrationEuler ( T xi_,
T yi_ 
) [inline]

The clients equation needs to see the variables.

Definition at line 24 of file nintegration.h.

00025     : yDorder(xi_,yi_) {}


Member Function Documentation

template<typename D , typename T >
void nintegrationEuler< D, T >::eval ( T dz,
T const   h,
T const   z,
T const   x 
) [inline]

Increment to the next equation.

Evaluate the infinitesimal and the highest derivative.

Definition at line 33 of file nintegration.h.

References nintegrationEuler< D, T >::yDorder.

00039     { yDorder(dz,z,x); dz*=h; }


Member Data Documentation

template<typename D , typename T >
D nintegrationEuler< D, T >::yDorder

The equation of the system as a 1st order derivative.

Definition at line 21 of file nintegration.h.

Referenced by nintegrationEuler< D, T >::eval().


The documentation for this class was generated from the following file:

Generated on Fri Mar 4 00:50:07 2011 for Chelton Evans Source by  doxygen 1.5.8