Analyses of C source code usually ignore the C preprocessor because of its complexity. Instead, these analyses either define their own approximate parser or scanner, or else they require that their input already be preprocessed. Neither approach is entirely satisfactory: the first gives up accuracy
A preprocessor for FORTRAN source code produced by reduce
β Scribed by Toshiaki Kaneko; Setsuya Kawabata
- Publisher
- Elsevier Science
- Year
- 1989
- Tongue
- English
- Weight
- 532 KB
- Volume
- 55
- Category
- Article
- ISSN
- 0010-4655
No coin nor oath required. For personal study only.
β¦ Synopsis
For Estimating total cross sections and various spectra for complicated processes in high energy physics, the most time consuming part is numerical integration over the phase volume. When a FORTRAN source code for the integrand is produced by REDUCE, often it is not only too long but is not enough reduced to be optimized by a FORTRAN compiler. A program package called SPROC has been developed to convert FORTRAN source code to a more optimized form and to divide the code into subroutines whose lengths are short enough for FORTRAN compilers. It can also generate a vectorizable code, which can achieve high efficiency of vector computers. The output is given in a suitable form for the numerical integration package BASES and its vector computer version VBASES. By this improvement the CPU-time for integration is shortened by a factor of about two on a scalar computer and of several times then on a vector computer.
π SIMILAR VOLUMES
Fortran code for the scattering of electromagnetic plane waves from two infinitely long penetrable cylinders with circular cross sections at normal incidence is presented. The radius and the refractive index of each cylinder are arbitrary as well as the separation of the cylinders. The program calcu
## A BS TRA CT A new second order accurate scheme for spherically symmetric flow field prediction, based on a plane wave one-dimensional algorithm described by Nessyahu and Tadmor (J. Comp. Phys., 87 (1990) is presented. Proof of the second-order accuracy property is outlined.