Move types/idef.h to topology/
authorTeemu Murtola <teemu.murtola@gmail.com>
Sat, 24 May 2014 18:13:58 +0000 (21:13 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Sat, 24 May 2014 18:15:28 +0000 (21:15 +0300)
commit786893c75f321c64f150e533c51f0b983f844736
treed5f8cd9a0aa8efc89969a89fef36d326518e8e87
parentfad8a2e2972dba2f24e0513fbb88f0ed7c2f17c9
Move types/idef.h to topology/

- Move bondedtable_t to fcdata.h, which is the only header that used it.
- Make other types forward-declarable.
- Some minor cleanup in the moved file.
- Adapt files that were including idef.h directly.  Everything else
  still depends on getting this through typedefs.h / types/topology.h.

Change-Id: Ib11c1e34dde83180e1bfa8415d579ced96aeee4d
12 files changed:
src/gromacs/gmxlib/ifunc.c
src/gromacs/gmxlib/restcbt.c
src/gromacs/legacyheaders/typedefs.h
src/gromacs/legacyheaders/types/commrec.h
src/gromacs/legacyheaders/types/fcdata.h
src/gromacs/legacyheaders/types/forcerec.h
src/gromacs/legacyheaders/types/ifunc.h
src/gromacs/legacyheaders/types/topology.h
src/gromacs/pbcutil/mshift.h
src/gromacs/pbcutil/rmpbc.h
src/gromacs/topology/CMakeLists.txt
src/gromacs/topology/idef.h [moved from src/gromacs/legacyheaders/types/idef.h with 88% similarity]