#include <oderk4.h>


Public Member Functions | |
| OdeRK4 () | |
| virtual | ~OdeRK4 () |
| virtual adoreMatrix< T > | solve (AOdeModel< T > *model, const adoreMatrix< double, 1, 0 > &time, const adoreMatrix< double, 0, 1 > &x0) override |
| virtual adoreMatrix< T > | solve_with_output (AOdeModelWithOutput< T > *model, const adoreMatrix< double, 1, 0 > &time, const adoreMatrix< double, 0, 1 > &x0, adoreMatrix< double > &Y_out) override |
Public Member Functions inherited from adore::mad::AOdeSolver< T > | |
| AOdeSolver () | |
| virtual | ~AOdeSolver () |
A simple ode solver according to classical method of Runge and Kutta
|
inline |
|
inlinevirtual |
|
inlineoverridevirtual |
solve ode
| model | the differential equation |
| time | the time steps over which to integrate |
| x0 | initial state |
Implements adore::mad::AOdeSolver< T >.


|
inlineoverridevirtual |
solve ode and provide model output
| model | the differential equation and output function |
| time | the time steps over which to integrate |
| x0 | initial state |
| Y_out | a matrix to be filled with model outputs for given points of time |
Implements adore::mad::AOdeSolver< T >.

