DUECA/DUSIME
|
This defines a "data-pack", with room for workspace for the Runge-Kutta integration. More...
Public Member Functions | |
RungeKuttaWorkspace (unsigned size) | |
Constructor. More... | |
RungeKuttaWorkspace (double *data, unsigned int size) | |
Constructor with external data. More... | |
~RungeKuttaWorkspace () | |
Destructor. More... | |
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
RungeKuttaWorkspace::~RungeKuttaWorkspace | ( | ) |
Destructor.