Move types/atoms.h to topology/
authorTeemu Murtola <teemu.murtola@gmail.com>
Sat, 24 May 2014 04:20:48 +0000 (07:20 +0300)
committerRoland Schulz <roland@rschulz.eu>
Sat, 24 May 2014 15:43:32 +0000 (17:43 +0200)
commitfad8a2e2972dba2f24e0513fbb88f0ed7c2f17c9
tree8a891c304092da6fb2f49c524207daf153f29f5c
parentde6fdc74b1e7e6b6f7f1f3dd576b50eb74c21e37
Move types/atoms.h to topology/

- Make all the structs forward-declarable, and use that in a few
  headers.
- Adjust existing few includes.
- Move functions that operate on these types from typedefs.[ch] to
  topology/ as well.

Nearly all code still depends on including this through
typedefs.h->types/topology.h, but that can wait.

Change-Id: If870711a061756a77451f52598d91e72d8948d92
16 files changed:
src/gromacs/fileio/confio.h
src/gromacs/fileio/pdbio.h
src/gromacs/fileio/tngio_for_tools.cpp
src/gromacs/fileio/tpxio.h
src/gromacs/fileio/trx.h
src/gromacs/fileio/trxio.h
src/gromacs/gmxlib/typedefs.c
src/gromacs/gmxpreprocess/read-conformation.cpp
src/gromacs/gmxpreprocess/read-conformation.h
src/gromacs/legacyheaders/index.h
src/gromacs/legacyheaders/typedefs.h
src/gromacs/legacyheaders/types/topology.h
src/gromacs/pbcutil/rmpbc.h
src/gromacs/topology/CMakeLists.txt
src/gromacs/topology/atoms.cpp [new file with mode: 0644]
src/gromacs/topology/atoms.h [moved from src/gromacs/legacyheaders/types/atoms.h with 78% similarity]