|
FML
|
This namespace contains solvers for (coupled) ordinary differential equations. More...
Data Structures | |
| class | ODESolver |
| This is a wrapper around the GSL library to easily solve ODEs and return the data in whatever format you want. More... | |
Typedefs | |
| using | DVector = std::vector< double > |
| using | DVector2D = std::vector< DVector > |
| using | ODEFunctionPointer = int(*)(double, const double[], double[], void *) |
| using | ODEFunctionPointerJacobian = int(*)(double, const double[], double[], double[], void *) |
| using | ODEFunction = std::function< int(double, const double *, double *)> |
| using | ODEFunctionJacobian = std::function< int(double, const double *, double *, double *)> |
Functions | |
| int | ode_wrapper (double x, const double *y, double *dydx, void *param) |
| int | jacobian_wrapper (double t, const double *y, double *dfdy, double *dfdt, void *param) |
Variables | |
| ODEFunctionJacobian | no_jacobian |
| ODEFunctionJacobian * | no_jacobian_ptr = &no_jacobian |
This namespace contains solvers for (coupled) ordinary differential equations.
| using FML::SOLVERS::ODESOLVER::DVector = typedef std::vector<double> |
Definition at line 29 of file ODESolver.h.
| using FML::SOLVERS::ODESOLVER::DVector2D = typedef std::vector<DVector> |
Definition at line 30 of file ODESolver.h.
| using FML::SOLVERS::ODESOLVER::ODEFunction = typedef std::function<int(double, const double *, double *)> |
Definition at line 33 of file ODESolver.h.
| using FML::SOLVERS::ODESOLVER::ODEFunctionJacobian = typedef std::function<int(double, const double *, double *, double *)> |
Definition at line 34 of file ODESolver.h.
| using FML::SOLVERS::ODESOLVER::ODEFunctionPointer = typedef int (*)(double, const double[], double[], void *) |
Definition at line 31 of file ODESolver.h.
| using FML::SOLVERS::ODESOLVER::ODEFunctionPointerJacobian = typedef int (*)(double, const double[], double[], double[], void *) |
Definition at line 32 of file ODESolver.h.
| int FML::SOLVERS::ODESOLVER::jacobian_wrapper | ( | double | t, |
| const double * | y, | ||
| double * | dfdy, | ||
| double * | dfdt, | ||
| void * | param | ||
| ) |
Definition at line 46 of file ODESolver.cpp.
| int FML::SOLVERS::ODESOLVER::ode_wrapper | ( | double | x, |
| const double * | y, | ||
| double * | dydx, | ||
| void * | param | ||
| ) |
Definition at line 41 of file ODESolver.cpp.
| ODEFunctionJacobian FML::SOLVERS::ODESOLVER::no_jacobian |
Definition at line 22 of file ODESolver.cpp.
| ODEFunctionJacobian * FML::SOLVERS::ODESOLVER::no_jacobian_ptr = &no_jacobian |
Definition at line 27 of file ODESolver.cpp.