- Remove unnecessary includes of these headers.
- Some minor cleanup in the moved files.
Change-Id: I7ad70f4c1870307713db35b8b243bed1dc9cbdd2
#include "nrnb.h"
#include "mdrun.h"
#include "update.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/essentialdynamics/edsam.h"
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/xvgr.h"
#include "tpxio.h"
#include "trxio.h"
#include "copyrite.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gmxfio.h"
#include "gromacs/fileio/trx.h"
#include "confio.h"
#include "atomprop.h"
#include "copyrite.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/math/vec.h"
#include "gromacs/topology/block.h"
#include "pme.h"
#include "gstat.h"
#include "gromacs/fileio/matio.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gmx_ana.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/fileio/trxio.h"
#include "mdrun.h"
#include "names.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gmx_ana.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
#include "viewit.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gmx_ana.h"
#include "mdebin.h"
#include "mdrun.h"
#include "gromacs/random/random.h"
#include "index.h"
-#include "mtop_util.h"
#include "gmx_ana.h"
static void insert_ion(int nsa, int *nwater,
#include "gstat.h"
#include "txtdump.h"
#include "eigio.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/math/units.h"
#include "gmx_ana.h"
#include "gromacs/math/units.h"
#include "mdatoms.h"
#include "coulomb.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "network.h"
#include "main.h"
#include "macros.h"
#include "copyrite.h"
#include "disre.h"
#include "main.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/ishift.h"
#include "main.h"
#include "copyrite.h"
#include "gromacs/pbcutil/pbc.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/linearalgebra/nrjac.h"
#include "gromacs/math/do_fit.h"
#include "mdatoms.h"
#include "nrnb.h"
#include "ns.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "chargegroup.h"
#include "gromacs/pbcutil/pbc.h"
#include "typedefs.h"
#include "gromacs/math/vec.h"
#include "gen_maxwell_velocities.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
static void low_mspeed(real tempi,
gmx_mtop_t *mtop, rvec v[], gmx_rng_t rng)
#include "perf_est.h"
#include "compute_io.h"
#include "gpp_atomtype.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "genborn.h"
#include "calc_verletbuf.h"
#include "tomorse.h"
#include "network.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "chargegroup.h"
#include "inputrec.h"
#include "calc_verletbuf.h"
#include "gmx_ga2la.h"
#include "gromacs/mdlib/groupcoord.h"
#include "gromacs/fileio/confio.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "names.h"
#include "gromacs/timing/wallcycle.h"
#include "mdrun.h"
#include "nrnb.h"
#include "domdec.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gmx_omp_nthreads.h"
#include "gromacs/fileio/gmxfio.h"
#include "domdec.h"
#include "gromacs/fileio/pdbio.h"
#include "splitter.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/fileio/gmxfio.h"
#include "macros.h"
#include "gmx_omp_nthreads.h"
#include "mdrun.h"
#include "nsgrid.h"
#include "shellfc.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gmx_ga2la.h"
#include "macros.h"
#include "nbnxn_search.h"
#include "types/commrec.h"
#include "domdec.h"
#include "domdec_network.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gmx_ga2la.h"
#include "gmx_hash.h"
#include "gmx_omp_nthreads.h"
#include "domdec_network.h"
#include "names.h"
#include "network.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/pbcutil/pbc.h"
#include "chargegroup.h"
-#include "gromacs/gmxlib/topsort.h"
-#include "mtop_util.h"
-#include "gromacs/pbcutil/mshift.h"
#include "vsite.h"
#include "gmx_ga2la.h"
#include "force.h"
#include "gmx_omp_nthreads.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/mshift.h"
+#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/topology/mtop_util.h"
+#include "gromacs/topology/topsort.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "domdec.h"
#include "qmmm.h"
#include "copyrite.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "nbnxn_simd.h"
#include "nbnxn_search.h"
#include "nbnxn_atomdata.h"
#include "gromacs/math/units.h"
#include "domdec.h"
#include "network.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "nrnb.h"
#include "bondf.h"
#include "domdec.h"
#include "network.h"
#include "gromacs/utility/fatalerror.h"
-#include "mtop_util.h"
#include "genborn.h"
#include "gromacs/utility/gmxmpi.h"
#include "domdec.h"
#include "network.h"
#include "gromacs/utility/fatalerror.h"
-#include "mtop_util.h"
#include "genborn.h"
#include "gromacs/utility/gmxmpi.h"
#include "typedefs.h"
#include "mdrun.h"
#include "domdec.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "vcm.h"
#include "nrnb.h"
#include "macros.h"
#include "mdatoms.h"
#include "gromacs/utility/smalloc.h"
#include "qmmm.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gmx_omp_nthreads.h"
#define ALMOST_ZERO 1e-30
#include "names.h"
#include "orires.h"
#include "constr.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/fileio/xvgr.h"
#include "gromacs/fileio/gmxfio.h"
#include "macros.h"
#include "domdec.h"
#include "mdatoms.h"
#include "ns.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "pme.h"
#include "bondf.h"
#include "gmx_omp_nthreads.h"
#include "names.h"
#include "nrnb.h"
#include "txtdump.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "domdec.h"
#include "adress.h"
#include <math.h>
-#include "perf_est.h"
#include "gromacs/math/vec.h"
-#include "mtop_util.h"
+#include "gromacs/topology/topology.h"
+#include "gromacs/utility/fatalerror.h"
+
+#include "perf_est.h"
#include "types/commrec.h"
#include "nbnxn_search.h"
#include "nbnxn_consts.h"
-
/* Computational cost of bonded, non-bonded and PME calculations.
* This will be machine dependent.
* The numbers here are accurate for Intel Core2 and AMD Athlon 64
#include "txtdump.h"
#include "qmmm.h"
#include "typedefs.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/pbcutil/pbc.h"
#include "domdec.h"
#include "gromacs/math/units.h"
#include "shellfc.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "chargegroup.h"
#include "macros.h"
#include "network.h"
#include "update.h"
#include "rbin.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gmx_omp_nthreads.h"
static void init_grptcstat(int ngtc, t_grp_tcstat tcstat[])
#include "gromacs/fileio/xvgr.h"
#include "mdatoms.h"
#include "ns.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "pme.h"
#include "gromacs/gmxlib/conformation-utilities.h"
#include "gromacs/math/vec.h"
#include "network.h"
#include "domdec.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gmx_omp_nthreads.h"
#include "gromacs/pbcutil/ishift.h"
#include "pull.h"
#include "names.h"
#include "gromacs/pbcutil/pbc.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "mdrun.h"
#include "gmx_ga2la.h"
#include "copyrite.h"
#include "mdrun.h"
#include "txtdump.h"
#include "names.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "names.h"
#include "gromacs/math/vec.h"
#include "gmx_ga2la.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/mdlib/groupcoord.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "macros.h"
#include "gromacs/math/vec.h"
#include "names.h"
#include "index.h"
#include "gromacs/utility/smalloc.h"
#include "names.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/futil.h"
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/trnio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
#include "gromacs/fileio/enxio.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/cstringutil.h"
static void cmp_int(FILE *fp, const char *s, int index, int i1, int i2)
#include "macros.h"
#include "names.h"
#include "gromacs/gmxpreprocess/readir.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "checkpoint.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trnio.h"
#include "names.h"
#include "txtdump.h"
#include "checkpoint.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/fileio/xtcio.h"
#include "gromacs/fileio/enxio.h"
#include "gromacs/fileio/gmxfio.h"
atoms.h
block.h
idef.h
+ mtop_util.h
symtab.h
topology.h)
* To help us fund GROMACS development, we humbly ask that you cite
* the research papers on the package. Check out http://www.gromacs.org.
*/
+#include "gromacs/topology/mtop_util.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#include <stdlib.h>
#include <string.h>
-#include "typedefs.h"
-#include "mtop_util.h"
-#include "topsort.h"
+#include "gromacs/legacyheaders/types/ifunc.h"
+#include "gromacs/legacyheaders/types/inputrec.h"
#include "gromacs/topology/block.h"
#include "gromacs/topology/symtab.h"
+#include "gromacs/topology/topology.h"
+#include "gromacs/topology/topsort.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
* To help us fund GROMACS development, we humbly ask that you cite
* the research papers on the package. Check out http://www.gromacs.org.
*/
-#ifndef GMX_LEGACYHEADERS_MTOP_UTIL_H
-#define GMX_LEGACYHEADERS_MTOP_UTIL_H
+#ifndef GMX_TOPOLOGY_MTOP_UTIL_H
+#define GMX_TOPOLOGY_MTOP_UTIL_H
-#include "types/inputrec.h"
+#include "../legacyheaders/types/inputrec.h"
#include "../utility/basedefinitions.h"
#ifdef __cplusplus
* To help us fund GROMACS development, we humbly ask that you cite
* the research papers on the package. Check out http://www.gromacs.org.
*/
+#include "gromacs/topology/topsort.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-#include "typedefs.h"
-#include "topsort.h"
-#include "gromacs/utility/smalloc.h"
+#include <stdio.h>
+
+#include "gromacs/legacyheaders/types/ifunc.h"
+
+#include "gromacs/topology/topology.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
static gmx_bool ip_pert(int ftype, const t_iparams *ip)
{
* To help us fund GROMACS development, we humbly ask that you cite
* the research papers on the package. Check out http://www.gromacs.org.
*/
-#ifndef _topsort_h
-#define _topsort_h
+#ifndef GMX_TOPOLOGY_TOPSORT_H
+#define GMX_TOPOLOGY_TOPSORT_H
-#include "../utility/basedefinitions.h"
-#include "../utility/real.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
#include "qmmm.h"
#include "domdec.h"
#include "domdec_network.h"
-#include "gromacs/gmxlib/topsort.h"
#include "coulomb.h"
#include "constr.h"
#include "shellfc.h"
#include "gromacs/gmxpreprocess/compute_io.h"
#include "checkpoint.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "sighandler.h"
#include "txtdump.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/essentialdynamics/edsam.h"
#include "index.h"
#include "names.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/utility/cstringutil.h"
#include "membed.h"
#include "constr.h"
#include "mvdata.h"
#include "checkpoint.h"
-#include "mtop_util.h"
+#include "gromacs/topology/mtop_util.h"
#include "sighandler.h"
#include "txtdump.h"
#include "gmx_detect_hardware.h"