libode
Easy to compile, fast ODE integrators as C++ classes
Loading...
Searching...
No Matches
ode::OdeRK Class Reference

Provides space for stage slope values, an array of arrays for k values. More...

#include <ode_rk.h>

Inheritance diagram for ode::OdeRK:
ode::OdeDoPri54 ode::OdeDoPri87 ode::OdeEuler ode::OdeRK4 ode::OdeRK43 ode::OdeRKCK ode::OdeRKF32 ode::OdeSDIRK43 ode::OdeSsp3 ode::OdeTrapz ode::OdeVern65 ode::OdeVern76 ode::OdeVern98

Public Member Functions

 OdeRK (unsigned long neq, int nk)
 constructs
 
 ~OdeRK ()
 destructs
 

Protected Attributes

double ** k_
 stage evaluations
 
int nk_
 number of stages, or k vectors
 

Detailed Description

Provides space for stage slope values, an array of arrays for k values.

Definition at line 9 of file ode_rk.h.

Constructor & Destructor Documentation

◆ OdeRK()

ode::OdeRK::OdeRK ( unsigned long neq,
int nk )

constructs

Parameters
[in]neqsize of ODE sytem
[out]nknumber of stages

Definition at line 7 of file ode_rk.cc.

◆ ~OdeRK()

ode::OdeRK::~OdeRK ( )

destructs

Definition at line 17 of file ode_rk.cc.

Member Data Documentation

◆ k_

double** ode::OdeRK::k_
protected

stage evaluations

Definition at line 23 of file ode_rk.h.

◆ nk_

int ode::OdeRK::nk_
protected

number of stages, or k vectors

Definition at line 25 of file ode_rk.h.


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