#include <gslsolver.h>
Inheritance diagram for GslGenericSolver:

Public Types | |
| typedef int(*) | Function (double t, const double y[], double f[], void *params) |
Public Member Functions | |
| GslGenericSolver (double stepSize, bool adaptive, const gsl_odeiv_step_type *gslStepType) | |
| GslGenericSolver (int dimension, Function function, void *params, double stepSize, bool adaptive, const gsl_odeiv_step_type *gslStepType) | |
| GslGenericSolver (const GslGenericSolver &gslSolver) | |
| void | setDimension (int dimension) |
| void | setToleranceAbs (double toleranceAbs) |
| void | setToleranceRel (double toleranceRel) |
| void | setParams (void *params) |
| double | stepSize () const |
| void | setStepSize (double stepSize) |
| void | doCalcFn (double *t, double y[], double f[]=0) |
| bool | doEvolve (double *t, double t1, double y[], double yerr[]) |
| QString | solverType () const |
| int | dimension () const |
| Function | function () const |
| virtual void | setFunction (Function function) |
| void * | params () const |
| double | toleranceAbs () const |
| double | toleranceRel () const |
| double | localError () const |
| double | localErrorRatio () const |
| const QString & | name () const |
| void | setName (const QString &name) |
See http://www.gnu.org/software/gsl/manual/html_node/Ordinary-Differential-Equations.html#Ordinary-Differential-Equations and http://en.wikipedia.org/wiki/Numerical_ordinary_differential_equations
typedef int(*) Function(double t, const double y[], double f[], void *params) [inherited] |
Callback function type
| GslGenericSolver | ( | double | stepSize, | |
| bool | adaptive, | |||
| const gsl_odeiv_step_type * | gslStepType | |||
| ) |
Constructs GslSolver
| GslGenericSolver | ( | int | dimension, | |
| Function | function, | |||
| void * | params, | |||
| double | stepSize, | |||
| bool | adaptive, | |||
| const gsl_odeiv_step_type * | gslStepType | |||
| ) |
Constructs GslSolver
| GslGenericSolver | ( | const GslGenericSolver & | gslSolver | ) |
Copy constructor
| void setDimension | ( | int | dimension | ) | [inline, virtual] |
Set ODE dimension
Reimplemented from Solver.
| void setToleranceAbs | ( | double | toleranceAbs | ) | [inline, virtual] |
Set absolute allowed local tolerance
Reimplemented from Solver.
| void setToleranceRel | ( | double | toleranceRel | ) | [inline, virtual] |
Set relative allowed local tolerance
Reimplemented from Solver.
| void setParams | ( | void * | params | ) | [inline, virtual] |
Set callback function params
Reimplemented from Solver.
| double stepSize | ( | ) | const [inline] |
Get step size
Reimplemented in GslSolver, and GslAdaptiveSolver.
| void setStepSize | ( | double | stepSize | ) | [inline] |
Set step size
Reimplemented in GslSolver.
| void doCalcFn | ( | double * | t, | |
| double | y[], | |||
| double | f[] = 0 | |||
| ) | [virtual] |
Calculate function value
Implements Solver.
| bool doEvolve | ( | double * | t, | |
| double | t1, | |||
| double | y[], | |||
| double | yerr[] | |||
| ) | [virtual] |
| QString solverType | ( | ) | const [inline, inherited] |
Get solver type
| int dimension | ( | ) | const [inline, inherited] |
Get ODE dimension
| Function function | ( | ) | const [inline, inherited] |
Get callback function
| virtual void setFunction | ( | Function | function | ) | [inline, virtual, inherited] |
Set callback function
| void* params | ( | ) | const [inline, inherited] |
Get callback function params
| double toleranceAbs | ( | ) | const [inline, inherited] |
Get absolute allowed local tolerance
| double toleranceRel | ( | ) | const [inline, inherited] |
Get relative allowed local tolerance
| double localError | ( | ) | const [inline, inherited] |
Get error estimation from last step
| double localErrorRatio | ( | ) | const [inline, inherited] |
Get local tolerance calculated at last step
| const QString& name | ( | ) | const [inline, inherited] |
Returns name of the object
| void setName | ( | const QString & | name | ) | [inline, inherited] |
Set name of the object
1.5.1