4 #ifndef __KVRUNGEKUTTA_H
5 #define __KVRUNGEKUTTA_H
12 #define ERRCON 1.89e-4
51 static Double_t a2, a3, a4, a5, a6, b21;
52 static Double_t b31, b32, b41, b42, b43;
65 Double_t* y, *yscal, *dydx, *yerr, *ytemp, *yout;
67 Double_t* ak2, *ak3, *ak4, *ak5, *ak6;
#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 CalcDerivs(Double_t X, Double_t *Y, Double_t *DYDX)=0
virtual ~KVRungeKutta()
Destructor.
Int_t GetNBadSteps() const
virtual void Integrate(Double_t *ystart, Double_t x1, Double_t x2, Double_t h1)