DUECA/DUSIME
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
RungeKuttaWorkspace Class Reference

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.
 

Detailed Description

This defines a "data-pack", with room for workspace for the Runge-Kutta integration.

Call with the correct state vector size.

Examples
PulsedBody.hxx.

Constructor & Destructor Documentation

◆ RungeKuttaWorkspace() [1/2]

RungeKuttaWorkspace::RungeKuttaWorkspace ( unsigned size)

Constructor.

Parameters
sizeSize of the state vector for integration.

◆ RungeKuttaWorkspace() [2/2]

RungeKuttaWorkspace::RungeKuttaWorkspace ( double * data,
unsigned int size )

Constructor with external data.

The data must hold 6xsize variables


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