c17-6 (779606), страница 2
Текст из файла (страница 2)
To order Numerical Recipes books,diskettes, or CDROMsvisit website http://www.nr.com or call 1-800-872-7423 (North America only),or send email to trade@cup.cam.ac.uk (outside North America).Use of an adaptive mesh as discussed in the previous section is another way to overcomethe difficulties of an internal singularity. For the problem (17.6.2), we add the mesh spacingequationsLondon, R.A., and Flannery, B.P.
1982, Astrophysical Journal, vol. 258, pp. 260–269.Sample page from NUMERICAL RECIPES IN C: THE ART OF SCIENTIFIC COMPUTING (ISBN 0-521-43108-5)Copyright (C) 1988-1992 by Cambridge University Press.Programs Copyright (C) 1988-1992 by Numerical Recipes Software.Permission is granted for internet users to make one paper copy for their own personal use. Further reproduction, or any copying of machinereadable files (including this one) to any servercomputer, is strictly prohibited. To order Numerical Recipes books,diskettes, or CDROMsvisit website http://www.nr.com or call 1-800-872-7423 (North America only),or send email to trade@cup.cam.ac.uk (outside North America).CITED REFERENCES AND FURTHER READING:78717.6 Handling Internal Boundary Conditions or Singular Pointsthe internal boundary condition.
This effectively reduces the required storage of unreducedcoefficients by one column for the rest of the grid, and allows us to reduce to zero the firstthree columns of subsequent blocks. The functions red, pinvs, bksub can readily handlethese cases with minor recoding, but each problem makes for a special case, and you willhave to make the modifications as required..















