For explanations, see lecture notes , especially chapter 3.
Code is provided here without the physically meaningful subroutine contents, since the aim is to write these in the exercises
| F90 version | C version |
| Makefile | Makefile |
| atoms.in | (same as for Fortran) |
| mdmorse.in | (same of for Fortran) |
| main.f90 | main.c |
| modules.f90 | global.h |
| inout.f90 | inout.c |
| forces.f90 | forces.c |
| neighbourlist.f90 | neighbourlist.c |
| physical.f90 | physical.c |
| solve.f90 | solve.c |
| - | - |
| Complete version in tar package | Complete version in tar package |