1. Code Name: MAPRZ

2. Category: IIc. Plasma Equilibrium: Checking and Mapping

3. Responsible Physicist: J. Manickam

4. Others involved in code development: R. Grimm, B. Rosen, J. Greene, J. Johnson

5. One line description: Takes equilibrium data from RZ equilibrium code and produces flux coordinates and metric quantities needed for MHD stability calculations.

6. Computer systems which code runs on: NERSC-CRAY's , Workstations

7. Typical running time (if applicable): 5-10 minutes

8. Approximate number of code lines: 5000

9. Does this code read data files from another code? Yes, reads equilibrium data from RZ equilibrium code.

10. Does this code produce data files that can be read by another code? Yes, produces MAPDSK and MAPOUT1 files for read by PEST and other codes.

11. 1-2 paragraph description of code: This code takes the output of a RZ equilibrium code, smooths it with cubic splines, and calculates the flux coordinates and other metric quantities that a stability code would need to calculate the stability of equilibria produced by an RZ equilibrium code such as FQ.

12. Similar codes to this code, and distinguishing differences: The MAPPER code is similar, but it uses equilibrium code data that is already in flux coordinates.

13. Journal References describing code (up to 3): 1. Grimm, R. C., Greene, J., and Johnson, J. L. in Meth. of Comp. Physics 9 (1976) 253. 2. Grimm, R. C., Dewar, R. L., and Manickam, J., in J. of Comp. Phys. 49 (1983) 94.

14. New code capabilities planned for next 1-2 years: Conversion to NETCDF for universal portability

15. Code users: J. Manickam, M. Okabayashi, M. Chance, C. Kessel, F. Paoletti, J. Menard

16. Present and recent applications of code: Many

17. Status of code input/output documentation. Check one: ( ) does not exist (X) incomplete ( ) exists

18. Year Code was first used and present frequency of use: 1976 - as needed

19. Estimate of Man-Years invested in developing code: 1

20. Catagories of usage of Code (Check all that apply): (x ) application code to do analysis and prediction of experiments ( ) numerical testbed of theoretical ideas (x ) physics module to be used in integrated moddelling ( ) code for machine design

21. Language code is writen in: FORTRAN

22. Results of intercomparisons with other codes and results of validation against experiments. Intermediate tool in stability analysis.