next up previous contents
Next: 8.14 Where All the Up: 8. A More Modular Previous: 8.12 The Predictor Step

8.13 The Corrector Step

The second half of a Hermite step is again a Taylor series development, this time to a higher order than in the predictor step, even though this is not obvious from the way it is written. We refer to the discussion in the beginning of chapter 6, where the Taylor series character of the corrector step is made explicit. Here is the code:



\begin{Code}[nbody\_sh1.C: correct\_step]
\small\verbatiminput{chap8/nbody_sh1.C.correct_step} \end{Code}



The Art of Computational Science
2004/01/25