School of Mathematics, Tel: +44 (0) 1509 22 2861

Ian Thompson’s home page

Home
Education & career
Research
Publications
Teaching
Computing
Links
  
 
Robocop
“They'll fix you. They fix everything.”
Peter Weller in Robocop.

Fortran


I write numerical codes for my research in Fortran. This may mean that I qualify as a real programmer. If you are having problems with Fortran, drop into my office (W2.38c) and I’ll make them worse. I can make even the dustiest old code acceptable to modern compilers.

Personally, I recommend the NAG Fortran compiler, which I help to test and debug. You might prefer the Gnu compiler which is free (but tends to lag behind NAG in development).

Some interesting code that might be useful:
  • Click here for details of polygone, a program which can drastically reduce the size of certain postscript graphics files, such as those produced by the ContourPlot and ListContourPlot commands in Mathematica 6 and later.

  • Click here to download exp_integral_standalone.f90, which computes exponential integrals of complex arguments using the algorithm developed by D. E. Amos (see papers here and here). Essentially it's a Fortran 2003 version of ACM Transactions on Mathematical Software algorithm 683, the original (FORTRAN 77) code for which is available here.

  • Click here to download filon_quadrature.f90, which computes certain oscillatory integrals using an adaptive scheme. It accompanies the article ‘From Simpson to Kronrod — an elementary approach to quadrature formulae’, which appeared in volume 46(6) of Mathematics Today magazine.

Miscellaneous

  • I can usually sort out problems with gnuplot and LaTeX (including some postscript and pdf problems) as well. If your problem relates to figure/table placement in LaTeX, please read this before paying me a visit.

  • I learned HTML by right-clicking on other people’s web sites and selecting ‘view [page] source’. It's becoming increasingly difficult to do this because you don’t always get all of the files on which a page depends when you save it. All files on which this page depends are located in the following directories:


   
Up to:      School of Mathematics      Loughborough University