next up previous contents
Next: Debugging Up: Extending ``rk4'' and ``derivs'' Previous: Extending ``rk4'' and ``derivs''

Coding

Copy (carefully) the numerical recipes routine ``rk4'', rename it ``rk4ind'', and extend it to allow derivs to access the arrays rho, r, dr:



Tomas Arias
Tue Feb 8 16:02:01 EST 2000