Massive-Parallel Trajectory Calculations (MPTRAC) is a Lagrangian particle dispersion model for the analysis of atmospheric transport processes in the free troposphere and stratosphere.
MPTRAC routines could be made available to other Models (CLaMS) more easily if MPTRAC is properly organized into a library containing those routines (libtrac.h/libtrac.c), and a time loop (trac.c).
[x] Move routine declarations and macros etc. to libtrac.h, from trac.c
[ ] Eventually, rename and reorder the routines.
[ ] Create high-level functions for the initialisation, running and finalization of the library tools.
[x] Change the compile process if needed ...
[ ] Test library in a set-up separate from MPTRAC...
MPTRAC routines could be made available to other Models (CLaMS) more easily if MPTRAC is properly organized into a library containing those routines (libtrac.h/libtrac.c), and a time loop (trac.c).