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

Provides a large vector containing the slope values of all stages with pointers to each of the individual stages. More...

#include <ode_irk.h>

Inheritance diagram for ode::OdeIRK:
ode::OdeBackwardEuler ode::OdeGauss6 ode::OdeGeng5 ode::OdeLobattoIIIC6 ode::OdeRadauIIA5

Public Member Functions

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

Protected Attributes

int nk_
 number of RK stages
 
double * kall_
 pointer to single array storing all stage k values
 
double ** k_
 individual k arrays for each stage
 

Detailed Description

Provides a large vector containing the slope values of all stages with pointers to each of the individual stages.

Definition at line 9 of file ode_irk.h.

Constructor & Destructor Documentation

◆ OdeIRK()

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

constructs

Parameters
[in]neqsize of ODE system
[in]nknumber of RK stages

Definition at line 7 of file ode_irk.cc.

◆ ~OdeIRK()

ode::OdeIRK::~OdeIRK ( )

destructs

Definition at line 18 of file ode_irk.cc.

Member Data Documentation

◆ k_

double** ode::OdeIRK::k_
protected

individual k arrays for each stage

Definition at line 25 of file ode_irk.h.

◆ kall_

double* ode::OdeIRK::kall_
protected

pointer to single array storing all stage k values

Definition at line 23 of file ode_irk.h.

◆ nk_

int ode::OdeIRK::nk_
protected

number of RK stages

Definition at line 21 of file ode_irk.h.


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