Manually sort some includes in src/gromacs
authorTeemu Murtola <teemu.murtola@gmail.com>
Sat, 6 Sep 2014 04:03:02 +0000 (07:03 +0300)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 11 Sep 2014 08:34:48 +0000 (10:34 +0200)
commita5b355552b920746e3dda332accccabadfe37b50
tree2b34e271e1ac2b8ec11afbb1c5da0edea51aa4a1
parent7df930ee2e1d3bac7d080dfd994417c47fec94db
Manually sort some includes in src/gromacs

Sort manually includes in files where there are #ifdefs within the
include statements and the automatic sorter does not do a good job
because of this.

This commit does this for files found in src/gromacs/.  Files from other
locations will be done in a separate change if there are any.

Fix nbnxn_cuda.h to work without requiring code to include
nbnxn_pairlist.h first.

Change-Id: I26fa1a28ea9094a62c826d8ee65ddabac345da68
34 files changed:
src/gromacs/fft/fft5d.cpp
src/gromacs/fft/fft_fftw3.cpp
src/gromacs/fileio/gmxfio.c
src/gromacs/fileio/gmxfio_asc.c
src/gromacs/fileio/gmxfio_bin.c
src/gromacs/fileio/gmxfio_rw.c
src/gromacs/fileio/gmxfio_xdr.c
src/gromacs/fileio/tngio_for_tools.cpp
src/gromacs/fileio/trxio.c
src/gromacs/gmxana/gmx_hbond.c
src/gromacs/gmxana/gmx_trjconv.c
src/gromacs/gmxana/gmx_tune_pme.c
src/gromacs/gmxlib/checkpoint.cpp
src/gromacs/gmxlib/copyrite.cpp
src/gromacs/gmxlib/gmx_detect_hardware.cpp
src/gromacs/gmxlib/gmx_thread_affinity.c
src/gromacs/gmxlib/main.cpp
src/gromacs/gmxpreprocess/fflibutil.cpp
src/gromacs/gmxpreprocess/gpp_nextnb.c
src/gromacs/imd/imd.c
src/gromacs/math/utilities.c
src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda.cu
src/gromacs/mdlib/nbnxn_cuda/nbnxn_cuda.h
src/gromacs/mdlib/nbnxn_search.c
src/gromacs/mdlib/sim_util.c
src/gromacs/random/random.c
src/gromacs/timing/cyclecounter.c
src/gromacs/timing/walltime_accounting.c
src/gromacs/tools/dump.c
src/gromacs/trajectoryanalysis/modules/nsc.c
src/gromacs/utility/cstringutil.c
src/gromacs/utility/file.cpp
src/gromacs/utility/gmxregex.cpp
src/gromacs/utility/path.cpp