4 #ifndef __KVRUNGEKUTTA_H
5 #define __KVRUNGEKUTTA_H
12 #define ERRCON 1.89e-4
#define ClassDef(name, id)
Base class for KaliVeda framework.
Adaptive step-size 4th order Runge-Kutta ODE integrator from Numerical Recipes.
Int_t GetNGoodSteps() const
virtual void rkck(Double_t h)
Int_t nvar
number of independent variables/equations
virtual void CalcDerivs(Double_t X, Double_t *Y, Double_t *DYDX)=0
Double_t eps
precision required
virtual void rkqs(Double_t htry)
Double_t hmin
minimum allowed step size
Int_t nbad
number of bad steps taken
virtual ~KVRungeKutta()
Destructor.
Int_t GetNBadSteps() const
virtual void Integrate(Double_t *ystart, Double_t x1, Double_t x2, Double_t h1)
Int_t nok
number of good steps taken