libode
Easy to compile, fast ODE integrators as C++ classes
Loading...
Searching...
No Matches
ode_ssp_3.h
Go to the documentation of this file.
1#ifndef ODE_SSP3_H_
2#define ODE_SSP3_H_
3
5
6#include "ode_adaptive.h"
7#include "ode_rk.h"
8#include "ode_erk.h"
9
10namespace ode {
11
13
16class OdeSsp3 : public OdeAdaptive, private OdeRK, private OdeERK {
17
18 public:
20
23 OdeSsp3 (unsigned long neq);
24
25 private:
26 //take a time step
27 void step_ (double dt);
28 //coefficents of tableau
29 double c2, a21,
30 c3, a31, a32,
31 b1, b2, b3;
32};
33
34} // namespace ode
35
36#endif
Base class implementing solver functions with adaptive time steps.
Base class providing space for temporary solutions moving through RK stages.
Definition ode_erk.h:9
Provides space for stage slope values, an array of arrays for k values.
Definition ode_rk.h:9
Strong stability preserving method of order 3.
Definition ode_ssp_3.h:16
OdeSsp3(unsigned long neq)
constructs
Definition ode_ssp_3.cc:7