This chapter describes the development of a program to visualize the
Mandelbrot set.
The chapter is divided into two parts:
- A brief, non-technical introduction to the mathematics of the
Mandelbrot set (Section 4.1).
- Explanation of the Mandelbrot example program, with
discussion of many of the Fortran 90 and HPF features used in
the program, including:
- Fortran 90 syntactical features, such as entity-oriented
declarations, long symbol names, and the DO WHILE looping
construct (Section 4.2.2.1)
- The PURE attribute (Section 4.2.5)
Source code of the program on which this chapter is based can be
found in the file /usr/examples/hpf/mandelbrot.f90 .