libode
Easy to compile, fast ODE integrators as C++ classes
Loading...
Searching...
No Matches
ode_euler.h
Go to the documentation of this file.
1#ifndef ODE_EULER_H_
2#define ODE_EULER_H_
3
5
6#include "ode_adaptive.h"
7#include "ode_rk.h"
8
9namespace ode {
10
12
15class OdeEuler : public OdeAdaptive, private OdeRK {
16 public:
18
21 OdeEuler (unsigned long neq);
22 private:
23 //take a time step
24 void step_ (double dt);
25};
26
27} // namespace ode
28
29#endif
Base class implementing solver functions with adaptive time steps.
The simplest runge kutta method, forward Euler's.
Definition ode_euler.h:15
OdeEuler(unsigned long neq)
constructs
Definition ode_euler.cc:7
Provides space for stage slope values, an array of arrays for k values.
Definition ode_rk.h:9