We will now commence the discussion of the example code that uses Spectral methods and equations shown on the two previous slides.
The program lives on 4 files: main.f, diffusion.f,
param.f and fourier.f. With the exception of
main.f the remaining three files are HPF modules,
so that HPF compiler can do type and function call checks during
compilation.
We begin by discussing main.f.