#include <nonadapt_step.h>
Definition at line 39 of file nonadapt_step.h.
Public Member Functions | |
nonadapt_step () | |
virtual | ~nonadapt_step () |
virtual int | astep (double &x, double &h, double xmax, size_t n, vec_t &y, param_t &pa, func_t &derivs) |
Make an adaptive integration step of the system derivs . | |
virtual int | astep_derivs (double &x, double &h, double xmax, size_t n, vec_t &y, vec_t &dydx, param_t &pa, func_t &derivs) |
Make an adaptive integration step of the system derivs . | |
Protected Attributes | |
alloc_t | ao |
Memory allocator for objects of type alloc_vec_t . |
virtual int astep | ( | double & | x, | |
double & | h, | |||
double | xmax, | |||
size_t | n, | |||
vec_t & | y, | |||
param_t & | pa, | |||
func_t & | derivs | |||
) | [inline, virtual] |
Make an adaptive integration step of the system derivs
.
This attempts to take a step of size h
from the point x
of an n-dimensional
system derivs
starting with y
. On exit, x
and y
contain the new values at the end of the step and h
contains the size of the step.
Reimplemented from adapt_step.
Definition at line 57 of file nonadapt_step.h.
virtual int astep_derivs | ( | double & | x, | |
double & | h, | |||
double | xmax, | |||
size_t | n, | |||
vec_t & | y, | |||
vec_t & | dydx, | |||
param_t & | pa, | |||
func_t & | derivs | |||
) | [inline, virtual] |
Make an adaptive integration step of the system derivs
.
This attempts to take a step of size h
from the point x
of an n-dimensional
system derivs
starting with y
. On exit, x
and y
contain the new values at the end of the step and h
contains the size of the step.
Reimplemented from adapt_step.
Definition at line 83 of file nonadapt_step.h.