Move types/block.h to topology/
authorTeemu Murtola <teemu.murtola@gmail.com>
Fri, 23 May 2014 04:07:48 +0000 (07:07 +0300)
committerRoland Schulz <roland@rschulz.eu>
Sat, 24 May 2014 15:38:30 +0000 (17:38 +0200)
commit091c0570d86aaf3a040df11eaf9675f61012df9e
treea37f52ba09c51a57d7c7279173c13eb8cefb9bf1
parent16d8bc30cc8850bda5df12323419b88338f329f8
Move types/block.h to topology/

- Move t_block and t_blocka definitions to topology/.
- Move functions that operate only on these types from typedefs.[hc] to
  the same place.
- Include the new block.h from all source files that reference the
  functions.
- Clean up a few headers that were including types/block.h directly.
  Most other code still depends on getting the type definitions
  indirectly through typedefs.h, but that can be fixed during subsequent
  changes.

Change-Id: I458e9cdc00a8d81665630f8123589b64d123790a
22 files changed:
src/gromacs/fileio/tpxio.c
src/gromacs/gmxana/gmx_make_ndx.c
src/gromacs/gmxlib/index.c
src/gromacs/gmxlib/mtop_util.c
src/gromacs/gmxlib/typedefs.c
src/gromacs/gmxpreprocess/addconf.c
src/gromacs/gmxpreprocess/hizzie.c
src/gromacs/gmxpreprocess/pdb2gmx.c
src/gromacs/gmxpreprocess/readir.c
src/gromacs/gmxpreprocess/topio.c
src/gromacs/gmxpreprocess/toputil.c
src/gromacs/legacyheaders/index.h
src/gromacs/legacyheaders/typedefs.h
src/gromacs/legacyheaders/types/topology.h
src/gromacs/mdlib/clincs.c
src/gromacs/mdlib/constr.c
src/gromacs/selection/indexutil.cpp
src/gromacs/selection/tests/indexutil.cpp
src/gromacs/tools/check.c
src/gromacs/topology/CMakeLists.txt
src/gromacs/topology/block.cpp [new file with mode: 0644]
src/gromacs/topology/block.h [moved from src/gromacs/legacyheaders/types/block.h with 64% similarity]