barker7
- 2
- 0
I've written a Runge Kutta algorithm that uses a fixed step size. It works fine for many of my problems dealing with chemical reaction kinetics but I would like to make it faster and more robust by implementing automatic step size adjustments.
I have looked at the at the step-doubling algorithm in Numerical Recipes (1986 Ed.), and I have also looked at the Runge Kutta Fehlberg (RKF45) algorithm in Numerical Mathematics textbook by Cheney and Kincaid.
1) Does anyone have any comments on advantages of either method?
2) I have found many references to RKF45 on the web, but strangely NR doesn't mention it. RKF45 predates my 1986 copy of NR by many years. NR is usually very comprehensive, so I'm wondering why this omission.
Thanks for any info on choosing a step size algorithm,
Mitch
I have looked at the at the step-doubling algorithm in Numerical Recipes (1986 Ed.), and I have also looked at the Runge Kutta Fehlberg (RKF45) algorithm in Numerical Mathematics textbook by Cheney and Kincaid.
1) Does anyone have any comments on advantages of either method?
2) I have found many references to RKF45 on the web, but strangely NR doesn't mention it. RKF45 predates my 1986 copy of NR by many years. NR is usually very comprehensive, so I'm wondering why this omission.
Thanks for any info on choosing a step size algorithm,
Mitch