Split txtdump.*, part 2
authorTeemu Murtola <teemu.murtola@gmail.com>
Thu, 3 Dec 2015 20:06:47 +0000 (22:06 +0200)
committerTeemu Murtola <teemu.murtola@gmail.com>
Wed, 9 Dec 2015 16:03:35 +0000 (18:03 +0200)
commit2dbc701f109f61ad717a685151ca293f5ba5a8fb
tree8229b73ba22edbc7603e0364a1ebb578f727e7d0
parent793e70d3c15d1ac179aaa41be701365bd73c3a80
Split txtdump.*, part 2

Move basic txtdump.* to utility.  To avoid introducing more cyclic
dependencies, move some contents closer to declaration of the types
being dumped:
- Move pr_inputrec() to mdtypes/inputrec.*.
- Move pr_*() functions operating on vectypes.h types to math/vecdump.*.

One additional cycle suppressed for now; on the other side, this removes
nearly all pbcutil -> fileio and topology -> fileio dependencies,
getting us closer to removing those cycles.

Add basic comments for remaining txtdump.h functions to avoid Doxygen
warnings.

Change-Id: I8ec5b34f6d5af8e63f9716e782943e75cb06b5b5
33 files changed:
docs/doxygen/cycle-suppressions.txt
src/gromacs/fileio/checkpoint.cpp
src/gromacs/fileio/tpxio.cpp
src/gromacs/fileio/txtdump.cpp [deleted file]
src/gromacs/gmxana/anadih.cpp
src/gromacs/gmxana/gmx_dipoles.cpp
src/gromacs/gmxana/gmx_gyrate.cpp
src/gromacs/gmxpreprocess/gpp_atomtype.cpp
src/gromacs/gmxpreprocess/readrot.cpp
src/gromacs/gmxpreprocess/x2top.cpp
src/gromacs/math/vecdump.cpp [new file with mode: 0644]
src/gromacs/math/vecdump.h [new file with mode: 0644]
src/gromacs/mdlib/constr.cpp
src/gromacs/mdlib/coupling.cpp
src/gromacs/mdlib/force.cpp
src/gromacs/mdlib/ns.cpp
src/gromacs/mdlib/shellfc.cpp
src/gromacs/mdlib/sim_util.cpp
src/gromacs/mdlib/update.cpp
src/gromacs/mdlib/vcm.cpp
src/gromacs/mdtypes/inputrec.cpp
src/gromacs/mdtypes/inputrec.h
src/gromacs/pbcutil/pbc.cpp
src/gromacs/tools/dump.cpp
src/gromacs/topology/atoms.cpp
src/gromacs/topology/block.cpp
src/gromacs/topology/idef.cpp
src/gromacs/topology/symtab.cpp
src/gromacs/topology/topology.cpp
src/gromacs/utility/txtdump.cpp [new file with mode: 0644]
src/gromacs/utility/txtdump.h [moved from src/gromacs/fileio/txtdump.h with 72% similarity]
src/programs/mdrun/runner.cpp
src/programs/view/nmol.cpp