29 #include <o2scl/ode_step.h> 30 #include <o2scl/ode_rkck_gsl.h> 31 #include <o2scl/ode_funct.h> 33 #ifndef DOXYGEN_NO_O2NS 47 template<
class vec_y_t=boost::numeric::ublas::vector<
double>,
48 class vec_dydx_t=vec_y_t,
class vec_yerr_t=vec_y_t,
70 virtual int astep(
double &x,
double xlimit,
double &h,
71 size_t n, vec_y_t &y, vec_dydx_t &dydx_out,
72 vec_yerr_t &yerr, func_t &derivs)=0;
85 virtual int astep_derivs(
double &x,
double xlimit,
double &h,
86 size_t n, vec_y_t &y, vec_dydx_t &dydx,
87 vec_yerr_t &yerr, func_t &derivs)=0;
104 virtual int astep_full(
double x,
double xlimit,
double &x_out,
105 double &h,
size_t n, vec_y_t &y, vec_dydx_t &dydx,
106 vec_y_t &yout, vec_yerr_t &yerr,
107 vec_dydx_t &dydx_out, func_t &derivs)=0;
126 #ifndef DOXYGEN_INTERNAL 137 #ifndef DOXYGEN_NO_O2NS The main O<span style='position: relative; top: 0.3em; font-size: 0.8em'>2</span>scl O$_2$scl names...
ode_step< vec_y_t, vec_dydx_t, vec_yerr_t, func_t > * stepp
Pointer to the stepper being used.
virtual int astep(double &x, double xlimit, double &h, size_t n, vec_y_t &y, vec_dydx_t &dydx_out, vec_yerr_t &yerr, func_t &derivs)=0
Make an adaptive integration step of the system derivs.
ode_rkck_gsl< vec_y_t, vec_dydx_t, vec_yerr_t, func_t > def_step
The default stepper.
virtual int astep_derivs(double &x, double xlimit, double &h, size_t n, vec_y_t &y, vec_dydx_t &dydx, vec_yerr_t &yerr, func_t &derivs)=0
Make an adaptive integration step of the system derivs with derivatives.
Cash-Karp embedded Runge-Kutta ODE stepper (GSL)
Adaptive stepper [abstract base].
virtual int astep_full(double x, double xlimit, double &x_out, double &h, size_t n, vec_y_t &y, vec_dydx_t &dydx, vec_y_t &yout, vec_yerr_t &yerr, vec_dydx_t &dydx_out, func_t &derivs)=0
Make an adaptive integration step of the system derivs with derivatives.
ODE stepper base [abstract base].
int set_step(ode_step< vec_y_t, vec_dydx_t, vec_yerr_t, func_t > &step)
Set stepper.
int verbose
Set output level.