]>
The Fortran 90 code is given below.
| perc.f90 | Main program which handles execution of exact and monte-carlo simulations. |
| percrun.f90 | The actual algorithm code. The core methods -- occupy() and findroot() -- are shared by both exact and monte-carlo. |
| percglobals.f90 | Variable declarations. |
| percinfin.f90 | Reading configuration, allocating arrays, processing results and writing output. |
| criteval.f90 | Program for calculating stats from the micro-canonical ensemble. |
| par_perc.f90 | MPI parallelised monte-carlo method. |
| Makefile | Compilation procedures. |