Codes

Fortran 2003

by: Joshua D Wood ()

A Fortran 2003 implementation of the original version of Philip Breen. This update employs:

  • (a) the object-oriented paradigm allowed with the 2003 update in place of the subroutine/function calls (so is formally different from the F95 posted),
  • (b) index swap on the position, velocity & acceleration arrays for a shorter runtime,
  • (c) use of selected_*_kind for portable precision,
  • (d) the use of a module instead of a contains environment and
  • (e) changed written arguments for command-line arguments.
You can download the code here:
nbabelF03.tgz

Show sourceSelect a file