The Odeiv2 class numerische Lösung eines Systems von N Differenzialgleichungen Schnittstelle zur gsl.
More...
#include <xode.h>
|
| using | Array = std::array< double, N > |
| |
|
| template<class T > |
| | Odeiv2 (T &obj, double istepsize, double abserror, double relerror, const gsl_odeiv2_step_type *steptype=gsl_odeiv2_step_rkf45) |
| | Odeiv2 Konstruktor. More...
|
| |
| | ~Odeiv2 () |
| |
| void | set_init_conditions (double t, const Array &y) |
| | set_init_conditions lege Anfangsbedingungen fest More...
|
| |
| void | solve (double t) |
| | applyStep berechnet Lösung More...
|
| |
| double | operator[] (size_t idx) const |
| | operator [] Zugriff auf einzelnen Elemente des Lösungsvektors mit Index More...
|
| |
| constexpr size_t | size () const |
| | size More...
|
| |
|
| static constexpr size_t | DIM = N |
| |
template<size_t N, bool HASCALLOP = false, bool JACOBIAN = false>
class nmx::gsl::Odeiv2< N, HASCALLOP, JACOBIAN >
The Odeiv2 class numerische Lösung eines Systems von N Differenzialgleichungen Schnittstelle zur gsl.
- Parameters
-
| N | Anzahl der Differenzialgleichungen |
| HASCALLOP | Funktion wird über (...) aufgerufen |
| Jacobi-Matrix | wird benötigt |
Definition at line 20 of file xode.h.
◆ Array
template<size_t N, bool HASCALLOP = false, bool JACOBIAN = false>
◆ Odeiv2()
template<size_t N, bool HASCALLOP = false, bool JACOBIAN = false>
template<class T >
| nmx::gsl::Odeiv2< N, HASCALLOP, JACOBIAN >::Odeiv2 |
( |
T & |
obj, |
|
|
double |
istepsize, |
|
|
double |
abserror, |
|
|
double |
relerror, |
|
|
const gsl_odeiv2_step_type * |
steptype = gsl_odeiv2_step_rkf45 |
|
) |
| |
|
inline |
Odeiv2 Konstruktor.
- Parameters
-
| obj | Implementierung des DGL-Systems |
| istepsize | anfängliche Schrittweite |
| abserror | absoluter Fehler |
| relerror | relativer Fehler |
| steptype | Algorithmus (Runge-Kutta Familie) |
Definition at line 110 of file xode.h.
◆ ~Odeiv2()
template<size_t N, bool HASCALLOP = false, bool JACOBIAN = false>
Destructor
Definition at line 122 of file xode.h.
◆ operator[]()
template<size_t N, bool HASCALLOP = false, bool JACOBIAN = false>
| double nmx::gsl::Odeiv2< N, HASCALLOP, JACOBIAN >::operator[] |
( |
size_t |
idx | ) |
const |
|
inline |
operator [] Zugriff auf einzelnen Elemente des Lösungsvektors mit Index
- Parameters
-
- Returns
- Element des Lösungsvektors
Definition at line 156 of file xode.h.
◆ set_init_conditions()
template<size_t N, bool HASCALLOP = false, bool JACOBIAN = false>
set_init_conditions lege Anfangsbedingungen fest
- Parameters
-
| t | unabhängige Variable |
| y | Lösungsvektor |
Definition at line 133 of file xode.h.
◆ size()
template<size_t N, bool HASCALLOP = false, bool JACOBIAN = false>
size
- Returns
- Anzahl der Gleichungen im Gleichungssystem
Definition at line 167 of file xode.h.
◆ solve()
template<size_t N, bool HASCALLOP = false, bool JACOBIAN = false>
applyStep berechnet Lösung
- Parameters
-
| t | für einen Wert der unabhängigen Variablen |
Definition at line 142 of file xode.h.
◆ DIM
template<size_t N, bool HASCALLOP = false, bool JACOBIAN = false>
The documentation for this class was generated from the following file: