Merge t_graph definition into mshift.h
authorTeemu Murtola <teemu.murtola@gmail.com>
Mon, 19 May 2014 17:08:59 +0000 (20:08 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Wed, 21 May 2014 17:56:24 +0000 (19:56 +0200)
commitf7a01531e7480a56b3e97435457897cefd07c0ab
treec2a6af47d299c64a8d605eb8a6da30989f23db05
parent78cc6ab3d4b16ea8f0d4b1d5700f4d60251ff6c6
Merge t_graph definition into mshift.h

- Remove types/graph.h, and merge its contents into mshift.h.
  This is a natural place for the structure, as the header already
  contains most functions that operate on the graph.
- Make t_graph forward-declarable, and use that in headers that
  previously got t_graph from typedefs.h.
- Add some missing mshift.h includes to source files that now need it.

Some additional cleanup of mshift.h dependencies will be done in
subsequent commits, when the header itself is moved.

Change-Id: Ia8c5817c11474c857a6845810e5e7f5a75f1c47c
16 files changed:
src/gromacs/gmxlib/disre.c
src/gromacs/gmxlib/nonbonded/nonbonded.c
src/gromacs/gmxlib/orires.c
src/gromacs/gmxlib/pbc.c
src/gromacs/legacyheaders/bondf.h
src/gromacs/legacyheaders/force.h
src/gromacs/legacyheaders/genborn.h
src/gromacs/legacyheaders/mshift.h
src/gromacs/legacyheaders/nonbonded.h
src/gromacs/legacyheaders/pbc.h
src/gromacs/legacyheaders/typedefs.h
src/gromacs/legacyheaders/types/graph.h [deleted file]
src/gromacs/legacyheaders/types/ifunc.h
src/gromacs/legacyheaders/vsite.h
src/gromacs/mdlib/genborn.c
src/gromacs/mdlib/rf_util.c