| 
    DUECA/DUSIME
    
   | 
 
This defines a "data-pack", with room for workspace for the Runge-Kutta integration. More...
#include <integrate_rungekutta.hxx>
Public Member Functions | |
| RungeKuttaWorkspace (unsigned size) | |
| Constructor.   | |
| RungeKuttaWorkspace (double *data, unsigned int size) | |
| Constructor with external data.   | |
| ~RungeKuttaWorkspace () | |
| Destructor.  | |
Public Attributes | |
| VectorE | k1 | 
| Work vector.  | |
| VectorE | k2 | 
| Work vector.  | |
| VectorE | k3 | 
| Work vector.  | |
| VectorE | k4 | 
| Work vector.  | |
| VectorE | xhold | 
| Work vector.  | |
| VectorE | xwork | 
| Work vector.  | |
This defines a "data-pack", with room for workspace for the Runge-Kutta integration.
Call with the correct state vector size.
| RungeKuttaWorkspace::RungeKuttaWorkspace | ( | unsigned | size | ) | 
Constructor.
| size | Size of the state vector for integration. | 
| RungeKuttaWorkspace::RungeKuttaWorkspace | ( | double * | data, | 
| unsigned int | size ) | 
Constructor with external data.
The data must hold 6xsize variables
| data | Array for the workspace | 
| size | Size of the state vector for integration. |