One common header away from legacyheaders/.
Mostly mechanical replacement for the include paths, but removed a few
instances where the header was included more than once. Also, reordered
the headers a bit, mainly in C++ files.
Part of #1415.
Change-Id: Ic438d501ebf5eccc285655a9e8f2f625eb12f1d1
#include "gmx_fatal.h"
#include "gromacs/fileio/xtcio.h"
#include "gromacs/fileio/enxio.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trnio.h"
#endif
#include "ns.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "wnblist.h"
#include "gromacs/fileio/futil.h"
#include "macros.h"
#include "sysstuff.h"
#include "typedefs.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "mshift.h"
#include "gromacs/commandline/pargs.h"
#include "copyrite.h"
#include "typedefs.h"
#include "string2.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "mshift.h"
#include "gromacs/commandline/pargs.h"
#include "copyrite.h"
#include <math.h>
#include <string.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gmx_fatal.h"
#include "random.h"
#include <stdlib.h>
#include <math.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gmx_fatal.h"
#include "random.h"
#include <math.h>
#include <string.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "copyrite.h"
#include "gromacs/commandline/pargs.h"
#endif
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gromacs/commandline/pargs.h"
#include "random.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/tpxio.h"
#include "index.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "nrnb.h"
#include "gstat.h"
#include "gromacs/fileio/matio.h"
#include <stdio.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "gmx_random.h"
#include "gmx_statistics.h"
#include "gromacs/fileio/pdbio.h"
#include "gromacs/fileio/confio.h"
#include "symtab.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "symtab.h"
#include "macros.h"
-#include "smalloc.h"
#include "copyrite.h"
#include "gromacs/commandline/pargs.h"
#include "index.h"
#include <math.h>
#include <string.h>
#include <ctype.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "macros.h"
#include "string2.h"
#include "gmx_fatal.h"
#include "gromacs/fileio/pdbio.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "pbc.h"
#include "physics.h"
#include "typedefs.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "copyrite.h"
#include "main.h"
#include "nrnb.h"
#include "xvgr.h"
#include "gromacs/fileio/pdbio.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "pbc.h"
#include "physics.h"
#include <stdio.h>
#include "typedefs.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "xvgr.h"
#include "complex.h"
#include "fftgrid.h"
#include "physics.h"
#include "macros.h"
#include "names.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/writeps.h"
* GROningen Mixture of Alchemy and Childrens' Stories
*/
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "xmlio.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/tpxio.h"
#include "typedefs.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "xvgr.h"
#include "copyrite.h"
#include "mdrun.h"
*/
#include "gromacs/analysisdata/modules/displacement.h"
-#include "gromacs/legacyheaders/smalloc.h"
-#include "gromacs/math/utilities.h"
-
#include "gromacs/analysisdata/dataframe.h"
#include "gromacs/analysisdata/datamodulemanager.h"
#include "gromacs/analysisdata/modules/histogram.h"
+#include "gromacs/math/utilities.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
+#include "gromacs/utility/smalloc.h"
namespace gmx
{
#include <boost/scoped_ptr.hpp>
#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/commandline/cmdlinemodulemanager.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/init.h"
#include "gromacs/utility/programcontext.h"
+#include "gromacs/utility/smalloc.h"
namespace gmx
{
#include "gromacs/legacyheaders/gmx_fatal.h"
#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/string2.h"
#include "gromacs/commandline/cmdlinehelpcontext.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/programcontext.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/stringutil.h"
/* The source code in this file should be thread-safe.
#include "typedefs.h"
#include "string2.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "names.h"
#include "gromacs/fileio/confio.h"
#include "txtdump.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2009,2010,2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2009,2010,2012,2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <float.h>
#include <math.h>
#include <assert.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#ifndef __FLT_EPSILON__
#define __FLT_EPSILON__ FLT_EPSILON
#include "gromacs/math/gmxcomplex.h"
#include "gromacs/utility/gmxmpi.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "fft5d.h"
#include <math.h>
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "sysstuff.h"
#include <errno.h>
#include "macros.h"
#include "futil.h"
#include "gmx_fatal.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmxfio.h"
#include "enxio.h"
#include "vec.h"
#include "futil.h"
#include "gmx_fatal.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "string2.h"
#include "types/simple.h"
#include "types/commrec.h"
#include "gromacs/legacyheaders/gmx_fatal.h"
#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/string2.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/fileio/path.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/programcontext.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/stringutil.h"
/* we keep a linked list of all files opened through pipes (i.e.
#include "gmx_fatal.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "futil.h"
#include "filenm.h"
#include "string2.h"
#include "gmx_fatal.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "futil.h"
#include "filenm.h"
#include "string2.h"
#include "gmx_fatal.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "futil.h"
#include "filenm.h"
#include "gmxfio.h"
#include "gmx_fatal.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "futil.h"
#include "filenm.h"
#include "gmxfio.h"
#include "gmx_fatal.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "futil.h"
#include "filenm.h"
#include "gmxfio.h"
#include "futil.h"
#include "string2.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "matio.h"
#include "gmxfio.h"
#include "gromacs/legacyheaders/xvgr.h"
#include "gromacs/legacyheaders/mdrun.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/legacyheaders/mvdata.h"
#include "gromacs/legacyheaders/domdec.h"
#include "checkpoint.h"
#include "copyrite.h"
+#include "gromacs/utility/smalloc.h"
+
struct gmx_mdoutf {
t_fileio *fp_trn;
t_fileio *fp_xtc;
#include "sysstuff.h"
#include "string2.h"
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "symtab.h"
#include "pdbio.h"
#include <string.h>
#include "gmx_fatal.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "string2.h"
#include "gromacs/fileio/futil.h"
#include "../../external/tng_io/include/tng_io.h"
#endif
-#include "gromacs/utility/common.h"
#include "gromacs/legacyheaders/types/atoms.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/physics.h"
#include "gromacs/legacyheaders/gmx_fatal.h"
+#include "gromacs/utility/common.h"
+#include "gromacs/utility/smalloc.h"
+
void gmx_prepare_tng_writing(const char *filename,
char mode,
tng_trajectory_t *input,
#include <string.h>
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "string2.h"
#include "gmx_fatal.h"
#include "macros.h"
#endif
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "sysstuff.h"
#include "vec.h"
#include "sim_util.h"
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
- * Copyright (c) 2001-2004, The GROMACS development team,
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2001-2004, The GROMACS development team.
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <string.h>
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "txtdump.h"
#include "names.h"
#ifdef GMX_USE_PLUGINS
#include "vmdio.h"
#endif
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "pbc.h"
#include "gmxfio.h"
#include "trxio.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2009,2010,2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2009,2010,2012,2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <windows.h>
#include <shlobj.h>
#endif
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "futil.h"
#include "vmdio.h"
#include <stdio.h>
#include "gmx_fatal.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/fileio/gmxfio.h"
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
- * Copyright (c) 2001-2004, The GROMACS development team,
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2001-2004, The GROMACS development team.
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "typedefs.h"
#include "xdrf.h"
#include "gmx_fatal.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
int xdr_real(XDR *xdrs, real *r)
{
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
- * Copyright (c) 2001-2004, The GROMACS development team,
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2001-2004, The GROMACS development team.
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "xdrf.h"
#include "gmxfio.h"
#include "xtcio.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "futil.h"
#include "gmx_fatal.h"
#include <stdio.h>
#include <string.h>
#include "physics.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "txtdump.h"
#include "bondf.h"
#include "macros.h"
#include "typedefs.h"
#include "physics.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "xvgr.h"
#include "gromacs/fileio/futil.h"
#include "gstat.h"
#endif
#include "cmat.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "vec.h"
#include "xvgr.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2008, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <math.h>
#include "gromacs/fft/fft.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "correl.h"
#define SWAP(a, b) tempr = (a); (a) = (b); (b) = tempr
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2011,2013, by the GROMACS development team, led by
+ * Copyright (c) 2011,2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <math.h>
#include "typedefs.h"
#include "dens_filter.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#ifdef GMX_DOUBLE
#include <stdlib.h>
#include <string.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gstat.h"
#include "gmx_fatal.h"
#include "index.h"
#include <config.h>
#endif
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "symtab.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <config.h>
#endif
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "eigio.h"
#include "gromacs/fileio/trnio.h"
#include <string.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "xvgr.h"
#include "gromacs/fileio/futil.h"
#include "gstat.h"
#include "fitahx.h"
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/math/do_fit.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2010,2011,2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2010,2011,2012,2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <math.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "geminate.h"
#include "copyrite.h"
#include "gromacs/fileio/futil.h"
#include "gmx_fatal.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "string2.h"
#include "vec.h"
#include "gromacs/statistics/statistics.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gmx_fatal.h"
#include "vec.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gmx_fatal.h"
#include "vec.h"
#include "sysstuff.h"
#include "physics.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/commandline/pargs.h"
#include "copyrite.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/commandline/pargs.h"
#include "macros.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "vec.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/math/utilities.h"
#include "physics.h"
#include "index.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/tpxio.h"
#include <string.h>
#include <string.h>
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
#include "index.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "calcgrid.h"
#include "nrnb.h"
#include "physics.h"
#include <string.h>
#include "gromacs/fileio/filenm.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "typedefs.h"
#include "xvgr.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "vec.h"
#include "pbc.h"
#include "gromacs/commandline/pargs.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
#include <string.h>
#include "string2.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gstat.h"
#include "vec.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "vec.h"
#include "pbc.h"
#include "sysstuff.h"
#include "string2.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gstat.h"
#include "vec.h"
#include "copyrite.h"
#include "typedefs.h"
#include "gstat.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "xvgr.h"
#include "correl.h"
#include "macros.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "pbc.h"
#include "bondf.h"
#include "xvgr.h"
#include "vec.h"
#include "gromacs/fileio/confio.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "nrnb.h"
#include "disre.h"
#include "gromacs/commandline/pargs.h"
#include "string2.h"
#include "gromacs/fileio/strdb.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "mshift.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/pdbio.h"
#include "gromacs/math/utilities.h"
#include "physics.h"
#include "index.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/commandline/pargs.h"
#include <string.h>
#include "sysstuff.h"
#include "gromacs/fileio/filenm.h"
#include "macros.h"
#include "pbc.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/commandline/pargs.h"
#include "vec.h"
#include "xvgr.h"
#include "gromacs/math/3dview.h"
#include "gromacs/commandline/pargs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "index.h"
#include "gromacs/fileio/confio.h"
#include "gmx_fatal.h"
#include "gromacs/fileio/pdbio.h"
#include "gromacs/fileio/confio.h"
#include "symtab.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/strdb.h"
#include <math.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/commandline/pargs.h"
#include "disre.h"
#include "names.h"
#include "typedefs.h"
#include "gmx_fatal.h"
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/enxio.h"
#include "gromacs/commandline/pargs.h"
#include "names.h"
#include "gmx_fatal.h"
#include "vec.h"
#include "string2.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/enxio.h"
#include "gromacs/commandline/pargs.h"
#include "names.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "vec.h"
#include "index.h"
#include <string.h>
#include "string2.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "sysstuff.h"
#include "gromacs/fileio/confio.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "gromacs/commandline/pargs.h"
#include <string.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "gromacs/fileio/confio.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "vec.h"
#include "pbc.h"
#include "sysstuff.h"
#include <string.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "princ.h"
#include "rmpbc.h"
#include "macros.h"
#include "gmx_fatal.h"
#include "index.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "xvgr.h"
#include "gstat.h"
#include "gromacs/fileio/trxio.h"
#include "physics.h"
#include "index.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/commandline/pargs.h"
#include <string.h>
#include "sysstuff.h"
#include <math.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "xvgr.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
#include "gromacs/commandline/pargs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gstat.h"
#include "vec.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gmx_fatal.h"
#include "vec.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gmx_fatal.h"
#include "vec.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gmx_fatal.h"
#include "vec.h"
#include "gromacs/fileio/confio.h"
#include "typedefs.h"
#include "index.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "index.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/futil.h"
#include "gmx_fatal.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/matio.h"
#include "xvgr.h"
#include "index.h"
#include "sysstuff.h"
#include <string.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "vec.h"
#include "xvgr.h"
#include <math.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/commandline/pargs.h"
#include "macros.h"
#include "gromacs/fileio/futil.h"
#endif
#include "gromacs/commandline/pargs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gromacs/fileio/confio.h"
#include "xvgr.h"
#include <string.h>
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/math/utilities.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "vec.h"
#include "pbc.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gmx_fatal.h"
#include "vec.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gmx_fatal.h"
#include "vec.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gstat.h"
#include "vec.h"
#include "gromacs/commandline/pargs.h"
#include "typedefs.h"
#include "types/commrec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "copyrite.h"
#include "gromacs/fileio/tpxio.h"
#include "sysstuff.h"
#include "physics.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/commandline/pargs.h"
#include "vec.h"
#include "sysstuff.h"
#include <string.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "princ.h"
#include "rmpbc.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "vec.h"
#include "pbc.h"
#include "sysstuff.h"
#include <string.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "vec.h"
#include "xvgr.h"
#include "gromacs/fileio/trxio.h"
#include "physics.h"
#include "index.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "calcgrid.h"
#include "nrnb.h"
#include "coulomb.h"
#include <config.h>
#endif
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include <math.h>
#include "macros.h"
#include "typedefs.h"
#include <math.h>
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "names.h"
#include "gromacs/commandline/pargs.h"
#include <config.h>
#endif
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include <math.h>
#include "macros.h"
#include "typedefs.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "sysstuff.h"
#include "physics.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/commandline/pargs.h"
#include "index.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "vec.h"
#include "pbc.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/futil.h"
#include "gmx_fatal.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "pbc.h"
#include "xvgr.h"
#include "gmx_ana.h"
#include <config.h>
#endif
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "sysstuff.h"
#include "typedefs.h"
#include "macros.h"
#include "gromacs/fileio/tpxio.h"
#include "physics.h"
#include "index.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "calcgrid.h"
#include "nrnb.h"
#include "coulomb.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gmx_fatal.h"
#include "vec.h"
#include "xvgr.h"
#include "gromacs/fileio/pdbio.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "pbc.h"
#include "physics.h"
#include "macros.h"
#include "gromacs/commandline/pargs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gstat.h"
#include "vec.h"
#include "xvgr.h"
#include "gromacs/commandline/pargs.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
#include "macros.h"
#include "gromacs/commandline/pargs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gstat.h"
#include "vec.h"
#include "xvgr.h"
#include "gromacs/math/utilities.h"
#include "physics.h"
#include "index.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/commandline/pargs.h"
#include <string.h>
#include "sysstuff.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "vec.h"
#include "pbc.h"
#include <math.h>
#include "macros.h"
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/tpxio.h"
#include "copyrite.h"
#include "macros.h"
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "vec.h"
#include "pbc.h"
#include "gromacs/commandline/pargs.h"
#include "typedefs.h"
#include "types/commrec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "copyrite.h"
#include "gromacs/fileio/tpxio.h"
#include <string.h>
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/math/utilities.h"
#include "gromacs/math/utilities.h"
#include "physics.h"
#include "index.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/commandline/pargs.h"
#include <string.h>
#include "sysstuff.h"
#include "gromacs/commandline/pargs.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "copyrite.h"
#include "gromacs/fileio/tpxio.h"
#include "sysstuff.h"
#include "physics.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "vec.h"
#include "xvgr.h"
#include "typedefs.h"
#include "macros.h"
#include "gmx_fatal.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "viewit.h"
#include "gmx_ana.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "vec.h"
#include "index.h"
#include "hxprops.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "bondf.h"
real ellipticity(int nres, t_bb bb[])
#include "nrama.h"
#include <math.h>
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "bondf.h"
#include "gromacs/fileio/futil.h"
#include <string.h>
#include "gromacs/random/random.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "sysstuff.h"
#include "vec.h"
#include "nsfactor.h"
#include <config.h>
#endif
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fft/fft.h"
#include "gmx_fatal.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/fileio/futil.h"
#include "macros.h"
#include "physics.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gstat.h"
#include "gromacs/fileio/matio.h"
#include "copyrite.h"
#include <string.h>
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "string2.h"
#include "gmx_fatal.h"
#include "atomprop.h"
#include "gromacs/math/utilities.h"
#include "txtdump.h"
#include "bondf.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "pbc.h"
#include "ns.h"
#include "macros.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2012, by the GROMACS development team, led by
+ * Copyright (c) 2012,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <math.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "calcgrid.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "typedefs.h"
#include "vec.h"
#include "pbc.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "chargegroup.h"
#include "names.h"
#include "typedefs.h"
#include "types/commrec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "txtdump.h"
#include "vec.h"
#include "network.h"
/* This file is completely threadsafe - keep it that way! */
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/random/random.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/string2.h"
#include "gromacs/legacyheaders/vec.h"
#include "gromacs/fft/fft.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/fileio/strdb.h"
+#include "gromacs/random/random.h"
#include "gromacs/utility/baseversion.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/programcontext.h"
+#include "gromacs/utility/smalloc.h"
#include "buildinfo.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2012, by the GROMACS development team, led by
+ * Copyright (c) 2012,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <stdlib.h>
#include "gmx_fatal.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "cudautils.cuh"
#include "typedefs.h"
#include "types/commrec.h"
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "vec.h"
#include "gromacs/fileio/futil.h"
#include "types/commrec.h"
#include "vec.h"
#include "coulomb.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "physics.h"
#include "txtdump.h"
#include "gromacs/fileio/futil.h"
#include "gmx_fatal_collective.h"
#include "md_logging.h"
#include "gmx_cpuid.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gpu_utils.h"
#include "copyrite.h"
#include "gmx_detect_hardware.h"
#include "copyrite.h"
#include "macros.h"
#include "string2.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/fileio/gmxfio.h"
#include <stdlib.h>
#include <assert.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "types/hw_info.h"
#include "gpu_utils.h"
#include "string2.h"
#include "main.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "invblock.h"
#include "macros.h"
#include "index.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2010, by the GROMACS development team, led by
+ * Copyright (c) 2010,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#endif
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "invblock.h"
#include "gmx_fatal.h"
#include <sys/time.h>
#endif
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "types/commrec.h"
#include "gmx_fatal.h"
#include "network.h"
#endif
#include <string.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "macros.h"
#include "vec.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2008,2009,2010,2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2008,2009,2010,2012,2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#endif
#include <string.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "mtop_util.h"
#include "topsort.h"
#include "mvdata.h"
#include "types/commrec.h"
#include "network.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "symtab.h"
#include "vec.h"
#include <string.h>
#include "gmx_fatal.h"
#include "main.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "types/commrec.h"
#include "network.h"
#include "copyrite.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <string.h>
#include "nb_kernel.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "string2.h"
#include "gmx_fatal.h"
#include "types/simple.h"
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "nb_kernel_allvsall.h"
#include "nrnb.h"
#include "types/simple.h"
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "nb_kernel_allvsallgb.h"
#include "nrnb.h"
#include "typedefs.h"
#include "txtdump.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "ns.h"
#include "vec.h"
#include "gromacs/math/utilities.h"
#include "force.h"
#include "bondf.h"
#include "nrnb.h"
-#include "smalloc.h"
#include "nonbonded.h"
#include "gromacs/simd/simd.h"
#include "macros.h"
#include "nrnb.h"
#include "main.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
typedef struct {
const char *name;
*/
#include "oenv.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/programcontext.h"
#include "gromacs/utility/exceptions.h"
#endif
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "types/commrec.h"
#include "network.h"
#include "gromacs/math/utilities.h"
#include "main.h"
#include "pbc.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "txtdump.h"
#include "gmx_fatal.h"
#include "names.h"
#include "typedefs.h"
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "txtdump.h"
#include "princ.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2010, by the GROMACS development team, led by
+ * Copyright (c) 2010,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "main.h"
#include "network.h"
#include "rbin.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
t_bin *mk_bin(void)
{
#include "typedefs.h"
#include "string2.h"
#include "gromacs/fileio/futil.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "readinp.h"
#include "macros.h"
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/math/utilities.h"
#include "txtdump.h"
#include "bondf.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "pbc.h"
#include "ns.h"
#include "macros.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "mshift.h"
#include "pbc.h"
#include "rmpbc.h"
#endif
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/futil.h"
#include "gromacs/math/utilities.h"
#include "gmx_fatal.h"
#include <assert.h>
#include <string.h>
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "mshift.h"
#include "gmx_fatal.h"
#include <assert.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "macros.h"
#include "main.h"
#include "sysstuff.h"
#include "typedefs.h"
#include "gmx_fatal.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "txtdump.h"
#include "symtab.h"
#include "macros.h"
#include "typedefs.h"
#include "topsort.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
static gmx_bool ip_pert(int ftype, const t_iparams *ip)
/* This file is completely threadsafe - please keep it that way! */
#include <stdio.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "types/commrec.h"
#include "names.h"
#include "thread_mpi/threads.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "symtab.h"
#include "vec.h"
#include "pbc.h"
#include <string.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "copyrite.h"
#include "string2.h"
#include "gmx_fatal.h"
#include "gromacs/fileio/futil.h"
#include "copyrite.h"
#include "oenv.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "xvgr.h"
#include "viewit.h"
#include "vec.h"
#include <string.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "grompp-impl.h"
#include "macros.h"
#include "toputil.h"
#include <string.h>
#include "vec.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "types/commrec.h"
#include "force.h"
#include "names.h"
#include <math.h>
#include "typedefs.h"
#include "physics.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "macros.h"
#include "vec.h"
#include "sysstuff.h"
#include "physics.h"
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "gmx_fatal.h"
#include "topio.h"
#include "sysstuff.h"
#include "network.h"
#include "gmx_fatal.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#include "sysstuff.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "string2.h"
#include "gromacs/fileio/confio.h"
#include "vec.h"
#include <math.h>
#include "gromacs/random/random.h"
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "physics.h"
#include "typedefs.h"
#include "vec.h"
#include <math.h>
#include <string.h>
#include "gen_vsite.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "resall.h"
#include "add_par.h"
#include "vec.h"
#include "gromacs/math/utilities.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "sysstuff.h"
#include "gromacs/fileio/confio.h"
#include "gromacs/commandline/pargs.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/confio.h"
#include "symtab.h"
#include "vec.h"
#include <ctype.h>
#include "string2.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/futil.h"
#include "macros.h"
#include "gmx_fatal.h"
#include <math.h>
#include <string.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "sysstuff.h"
#include "macros.h"
#include "topdirs.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2011, by the GROMACS development team, led by
+ * Copyright (c) 2011,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <config.h>
#endif
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "sysstuff.h"
#include "macros.h"
#include "symtab.h"
#endif
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
/* #define DEBUG_NNB */
#include "gpp_nextnb.h"
#include <assert.h>
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "readir.h"
#include "toputil.h"
#include <string.h>
#include "string2.h"
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/futil.h"
#include "symtab.h"
#include "h_db.h"
#include <string.h>
#include "hackblock.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "macros.h"
#include <string.h>
#include "typedefs.h"
#include "gromacs/fileio/pdbio.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "physics.h"
#include "toputil.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/math/utilities.h"
#include "gromacs/fileio/confio.h"
#include "macros.h"
#include "macros.h"
#include "bondf.h"
#include "string2.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "sysstuff.h"
#include "gromacs/fileio/confio.h"
#include "physics.h"
#include "sysstuff.h"
#include "typedefs.h"
#include "gromacs/fileio/gmxfio.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "copyrite.h"
#include "string2.h"
#include "gromacs/fileio/confio.h"
#include <ctype.h>
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "symtab.h"
#include "gromacs/fileio/futil.h"
#include "string2.h"
#include "typedefs.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/confio.h"
#include "genhydro.h"
#include "atomprop.h"
#include "types/simple.h"
#include "types/atoms.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
real *makeExclusionDistances(const t_atoms *a, gmx_atomprop_t aps,
real defaultDistance, real scaleFactor)
#include "string2.h"
#include "readir.h"
#include "names.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#define MAXPTR 254
#include <stdlib.h>
#include <limits.h>
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "physics.h"
#include "names.h"
#include "princ.h"
#include "gromacs/fileio/futil.h"
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "names.h"
#include "gmx_fatal.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#endif
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "readir.h"
#include "names.h"
#include "gromacs/fileio/futil.h"
#include "sysstuff.h"
#include "string2.h"
#include "gromacs/fileio/futil.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "symtab.h"
#include "macros.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "string2.h"
#include "gromacs/fileio/confio.h"
#include "macros.h"
#include "typedefs.h"
#include "gromacs/random/random.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "sortwater.h"
#include "gromacs/fileio/pdbio.h"
#include "gromacs/fileio/strdb.h"
#include "string2.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "specbond.h"
#include "pdb2top.h"
#include "vec.h"
#include <string.h>
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "symtab.h"
#include "gromacs/fileio/futil.h"
#include "string2.h"
#include "grompp-impl.h"
#include "gromacs/fileio/futil.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "toputil.h"
#include "gmx_fatal.h"
#include "gpp_atomtype.h"
#include <stdarg.h>
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "string2.h"
#include "gmx_fatal.h"
#include "gromacs/fileio/futil.h"
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gromacs/fileio/gmxfio.h"
#include "txtdump.h"
#include <assert.h>
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "string2.h"
#include "names.h"
#include "toppush.h"
#include "toputil.h"
#include "topdirs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
static void copy_bond (t_params *pr, int to, int from)
#include <math.h>
#include <string.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "sysstuff.h"
#include "macros.h"
#include "topdirs.h"
#include <assert.h>
#include <string.h>
#include "vsite_parm.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "resall.h"
#include "add_par.h"
#include "vec.h"
#include "bondf.h"
#include "gromacs/fileio/gmxfio.h"
#include "string2.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "sysstuff.h"
#include "gromacs/fileio/confio.h"
#include "physics.h"
#include <string.h>
#include "typedefs.h"
#include "string2.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "symtab.h"
#include "index.h"
#include "gromacs/fileio/futil.h"
#include "imd.h"
#include "imdsocket.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "network.h"
#include "mdrun.h"
#include "sighandler.h"
#include <string.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "imdsocket.h"
#include "imd.h"
#include "typedefs.h"
#include "types/commrec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#ifdef __cplusplus
extern "C" {
#define _gmx_hash_h
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#ifdef __cplusplus
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/legacyheaders/gmx_fatal.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/linearalgebra/sparsematrix.h"
+#include "gromacs/utility/smalloc.h"
+
#include "gmx_lapack.h"
#include "gmx_arpack.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2008, The GROMACS development team.
- * Copyright (c) 2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <stdio.h>
#include "gromacs/legacyheaders/gmx_fatal.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/vec.h"
+#include "gromacs/utility/smalloc.h"
+
#include "gmx_lapack.h"
double **alloc_matrix(int n, int m)
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/legacyheaders/gmx_fatal.h"
#include "gromacs/fileio/gmxfio.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/fileio/xdrf.h"
#include "gromacs/linearalgebra/sparsematrix.h"
+#include "gromacs/utility/smalloc.h"
/* Just a number to identify our file type */
#define GMX_MTXIO_MAGIC_NUMBER 0x34ce8fd2
#include <math.h>
#include "gmx_fatal.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
static gmx_inline
void do_rotate(double **a, int i, int j, int k, int l, double tau, double s)
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2012, by the GROMACS development team, led by
+ * Copyright (c) 2012,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <stdlib.h>
#include <stdio.h>
-#include "gromacs/legacyheaders/smalloc.h"
-
-
-
+#include "gromacs/utility/smalloc.h"
gmx_sparsematrix_t *
gmx_sparsematrix_init(int nrow)
#include <math.h>
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "physics.h"
#include "pbc.h"
#include "typedefs.h"
#include "vec.h"
#include "txtdump.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/linearalgebra/nrjac.h"
#include "physics.h"
#include "vec.h"
#include "pbc.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "mdrun.h"
#include "nrnb.h"
#include "domdec.h"
#include "main.h"
#include "mdrun.h"
#include "nrnb.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "physics.h"
#include "names.h"
#include "typedefs.h"
#include "types/commrec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "update.h"
#include "vec.h"
#include "macros.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "vec.h"
#include "constr.h"
#include "gmx_fatal.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "pbc.h"
typedef struct
#include <assert.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "gmx_fatal_collective.h"
#include "vec.h"
#endif
#include <assert.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "constr.h"
#include "types/commrec.h"
#include "network.h"
#include "perf_est.h"
#include "physics.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "vec.h"
#include "names.h"
#include <string.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "types/commrec.h"
#include "domdec.h"
#include "domdec_network.h"
#include <math.h>
#include <string.h>
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "gmx_fatal.h"
#include "ebin.h"
#include "typedefs.h"
#include "types/commrec.h"
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "physics.h"
#include "coulomb.h"
#include <stdio.h>
#include <math.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "names.h"
#include "gromacs/fileio/confio.h"
#include "txtdump.h"
#include "sysstuff.h"
#include "typedefs.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "physics.h"
#include "force.h"
#include "vec.h"
#include "gromacs/math/utilities.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gmx_fatal.h"
#include "gmx_fatal_collective.h"
#include "typedefs.h"
#include "types/commrec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "genborn.h"
#include "vec.h"
#include "gromacs/fileio/pdbio.h"
#include "types/simple.h"
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "network.h"
#include "physics.h"
#include "types/simple.h"
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "network.h"
#include "physics.h"
#include "types/simple.h"
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "network.h"
#include "physics.h"
#include <string.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "genborn.h"
#include "vec.h"
#include "gromacs/fileio/pdbio.h"
#include <string.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "genborn.h"
#include "vec.h"
#include "gromacs/fileio/pdbio.h"
#include "network.h"
#include "pbc.h"
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_ga2la.h"
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
#include <stdio.h>
#include "typedefs.h"
#include "gromacs/fileio/tpxio.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "main.h"
#include "mvdata.h"
#include "typedefs.h"
#include "string2.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "mdrun.h"
#include "domdec.h"
#include "mtop_util.h"
#include "typedefs.h"
#include "mdatoms.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "main.h"
#include "qmmm.h"
#include "mtop_util.h"
#include <float.h>
#include "typedefs.h"
#include "mdebin.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "physics.h"
#include "gromacs/fileio/enxio.h"
#include "vec.h"
#include "typedefs.h"
#include "gmx_fatal.h"
#include "mdebin.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/enxio.h"
#include "gromacs/fileio/gmxfio.h"
#include "mdebin_bar.h"
#include "sysstuff.h"
#include "string2.h"
#include "network.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "nrnb.h"
#include "main.h"
#include "force.h"
#include <math.h>
#include <string.h>
#include <assert.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "vec.h"
#include "nbnxn_consts.h"
#include <cuda.h>
#include "gmx_fatal.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "tables.h"
#include "typedefs.h"
#include "types/enums.h"
#include "typedefs.h"
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "force.h"
#include "gmx_omp_nthreads.h"
#include "nbnxn_kernel_ref.h"
#include <assert.h>
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "types/commrec.h"
#include "macros.h"
#include "gromacs/math/utilities.h"
#include <math.h>
#include <string.h>
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "gromacs/math/utilities.h"
#include "vec.h"
#include "typedefs.h"
#include "types/commrec.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "nsgrid.h"
#include "gmx_fatal.h"
#include "vec.h"
#include "typedefs.h"
#include "txtdump.h"
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "coulomb.h"
#include "gmx_fatal.h"
#include "pme.h"
#include <math.h>
#include "typedefs.h"
#include "types/commrec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "vec.h"
#include "pme.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "sysstuff.h"
#include "typedefs.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "physics.h"
#include "macros.h"
#include "vec.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "sysstuff.h"
#include "typedefs.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "physics.h"
#include "macros.h"
#include "vec.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "sysstuff.h"
#include "typedefs.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "physics.h"
#include "macros.h"
#include "vec.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2008, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "sysstuff.h"
#include "typedefs.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "physics.h"
#include "macros.h"
#include "vec.h"
#include "typedefs.h"
#include "types/commrec.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "physics.h"
#include "macros.h"
#include "vec.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <math.h>
#include "sysstuff.h"
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "pbc.h"
#include "txtdump.h"
#include "vec.h"
#include <string.h>
#include "typedefs.h"
#include "types/commrec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "vec.h"
#include "txtdump.h"
#include "typedefs.h"
#include "string2.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "names.h"
#include "txtdump.h"
#include "pbc.h"
#include "main.h"
#include "force.h"
#include "vcm.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/futil.h"
#include "network.h"
#include "rbin.h"
#include "gromacs/math/utilities.h"
#include "typedefs.h"
#include "names.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "gromacs/fileio/futil.h"
#include "xvgr.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <math.h>
#include "macros.h"
#include "main.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/futil.h"
#include "tgroup.h"
#include "vec.h"
#include "network.h"
-#include "smalloc.h"
#include "update.h"
#include "rbin.h"
#include "mtop_util.h"
#include <math.h>
#include "sysstuff.h"
#include "network.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "nrnb.h"
#include "main.h"
#include "chargegroup.h"
#include "types/commrec.h"
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "nrnb.h"
#include "physics.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "macros.h"
#include "vcm.h"
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "names.h"
#include "txtdump.h"
#include "network.h"
#include "typedefs.h"
#include "vsite.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "nrnb.h"
#include "vec.h"
#include "network.h"
#include "sysstuff.h"
#include "typedefs.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "force.h"
#include "gromacs/fileio/filenm.h"
#include "nrnb.h"
#include <stdio.h>
#include <string.h>
#include "force.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "types/commrec.h"
#include "ns.h"
#include "nrnb.h"
#include "network.h"
#include "gromacs/fileio/filenm.h"
#include <string.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "pull.h"
#include "xvgr.h"
#include "names.h"
#include <string.h>
#include "domdec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "network.h"
#include "pbc.h"
#include "mdrun.h"
#include "princ.h"
#include "gromacs/fileio/futil.h"
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "types/commrec.h"
#include "names.h"
#include <math.h>
#include <stdarg.h>
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/vec.h"
#include "gromacs/selection/indexutil.h"
#include "gromacs/selection/selection.h"
#include "gromacs/selection/selmethod.h"
#include "gromacs/utility/exceptions.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/stringutil.h"
#include "evaluate.h"
*/
#include <string.h>
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/vec.h"
#include "gromacs/math/utilities.h"
#include "gromacs/selection/selmethod.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
+#include "gromacs/utility/smalloc.h"
#include "evaluate.h"
#include "mempool.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2009,2010,2011,2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2009,2010,2011,2012,2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "gromacs/legacyheaders/index.h"
#include "gromacs/legacyheaders/gmx_fatal.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/utility/smalloc.h"
/********************************************************************
* gmx_ana_indexgrps_t functions
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2010,2011,2012, by the GROMACS development team, led by
+ * Copyright (c) 2010,2011,2012,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <new>
-#include "gromacs/legacyheaders/smalloc.h"
-
#include "gromacs/selection/indexutil.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
+#include "gromacs/utility/smalloc.h"
#include "mempool.h"
#include "thread_mpi/mutex.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/pbc.h"
#include "gromacs/legacyheaders/vec.h"
#include "gromacs/selection/position.h"
#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/gmxassert.h"
+#include "gromacs/utility/smalloc.h"
namespace gmx
{
#include <algorithm>
#include <string>
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/vec.h"
#include "gromacs/selection/position.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/messagestringcollector.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/stringutil.h"
#include "parsetree.h"
#include <boost/shared_ptr.hpp>
#include "gromacs/fileio/futil.h"
-#include "gromacs/legacyheaders/smalloc.h"
-
#include "gromacs/selection/poscalc.h"
#include "gromacs/selection/selection.h"
#include "gromacs/selection/selmethod.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/file.h"
#include "gromacs/utility/messagestringcollector.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/stringutil.h"
#include "keywords.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2009,2010,2011,2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2009,2010,2011,2012,2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
*/
#include <string.h>
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/pbc.h"
#include "gromacs/legacyheaders/vec.h"
#include "gromacs/selection/position.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
+#include "gromacs/utility/smalloc.h"
namespace gmx
{
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2009,2010,2011,2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2009,2010,2011,2012,2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <string.h>
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/vec.h"
#include "gromacs/selection/indexutil.h"
#include "gromacs/utility/gmxassert.h"
+#include "gromacs/utility/smalloc.h"
gmx_ana_pos_t::gmx_ana_pos_t()
{
#include <string>
#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/string2.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/messagestringcollector.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/stringutil.h"
#include "parsetree.h"
#include <boost/shared_ptr.hpp>
#include "gromacs/legacyheaders/oenv.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/xvgr.h"
#include "gromacs/onlinehelp/helpmanager.h"
#include "gromacs/utility/file.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/messagestringcollector.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/stringutil.h"
#include "compiler.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2009,2010,2011,2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2009,2010,2011,2012,2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
*/
#include <cstring>
-#include "gromacs/legacyheaders/smalloc.h"
-
#include "gromacs/selection/indexutil.h"
#include "gromacs/selection/poscalc.h"
#include "gromacs/selection/position.h"
#include "gromacs/selection/selmethod.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/stringutil.h"
#include "keywords.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2009,2010,2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2009,2010,2012,2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
* \author Teemu Murtola <teemu.murtola@gmail.com>
* \ingroup module_selection
*/
-#include "gromacs/legacyheaders/smalloc.h"
-
#include "gromacs/selection/indexutil.h"
#include "gromacs/selection/position.h"
#include "gromacs/selection/selvalue.h"
#include "gromacs/utility/gmxassert.h"
+#include "gromacs/utility/smalloc.h"
/*!
* \param[out] val Output structure
#include <cmath>
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/math/utilities.h"
#include "gromacs/selection/selmethod.h"
#include "gromacs/utility/common.h"
#include "gromacs/utility/exceptions.h"
+#include "gromacs/utility/smalloc.h"
/** Defines the comparison operator for comparison expressions. */
typedef enum
#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/pbc.h"
#include "gromacs/legacyheaders/physics.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/vec.h"
#include "gromacs/math/utilities.h"
#include "gromacs/selection/selection.h"
#include "gromacs/selection/selmethod.h"
#include "gromacs/utility/exceptions.h"
+#include "gromacs/utility/smalloc.h"
#include "selelem.h"
#include <boost/shared_ptr.hpp>
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/string2.h"
#include "gromacs/selection/selmethod.h"
#include "gromacs/utility/gmxregex.h"
#include "gromacs/utility/messagestringcollector.h"
#include "gromacs/utility/stringutil.h"
+#include "gromacs/utility/smalloc.h"
#include "keywords.h"
#include "parsetree.h"
* \ingroup module_selection
*/
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/vec.h"
#include "gromacs/selection/position.h"
#include "gromacs/selection/selmethod.h"
#include "gromacs/utility/common.h"
#include "gromacs/utility/exceptions.h"
+#include "gromacs/utility/smalloc.h"
/*! \internal \brief
* Data structure for the merging selection modifiers.
* \ingroup module_selection
*/
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/vec.h"
#include "gromacs/selection/position.h"
#include "gromacs/selection/selmethod.h"
#include "gromacs/utility/exceptions.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/stringutil.h"
/*! \internal \brief
* \ingroup module_selection
*/
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/string2.h"
#include "gromacs/selection/indexutil.h"
#include "gromacs/selection/poscalc.h"
#include "gromacs/selection/position.h"
#include "gromacs/selection/selmethod.h"
+#include "gromacs/utility/smalloc.h"
#include "keywords.h"
#include "selelem.h"
#include <stdlib.h>
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/selection/selmethod.h"
#include "gromacs/utility/exceptions.h"
+#include "gromacs/utility/smalloc.h"
#include "keywords.h"
#include "parsetree.h"
#include <set>
#include <vector>
-#include "gromacs/random/random.h"
#include "gromacs/legacyheaders/pbc.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/vec.h"
#include "gromacs/selection/nbsearch.h"
+#include "gromacs/random/random.h"
+#include "gromacs/utility/smalloc.h"
#include "testutils/testasserts.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <vector>
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/vec.h"
#include "gromacs/selection/indexutil.h"
#include "gromacs/selection/poscalc.h"
#include "gromacs/selection/position.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/uniqueptr.h"
#include "testutils/refdata.h"
#include <cstring>
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/vec.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
#include "gromacs/utility/gmxassert.h"
+#include "gromacs/utility/smalloc.h"
#include "testutils/testfilemanager.h"
#endif
#include <math.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
static int gmx_dnint(double x)
#include <stdio.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "vec.h"
#include "gromacs/random/random.h"
#include "statistics.h"
#include <time.h>
#include "typedefs.h"
#include "string2.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/mdlib/groupcoord.h"
#include "mtop_util.h"
#include "macros.h"
#include <string.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "md_logging.h"
#include "string2.h"
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 2013, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <config.h>
#endif
-#include "gromacs/legacyheaders/smalloc.h"
-#include "gromacs/legacyheaders/types/simple.h"
-
#include <time.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#include <sys/time.h>
#endif
+#include "gromacs/legacyheaders/types/simple.h"
+
+#include "gromacs/utility/smalloc.h"
+
/* TODO in future: convert gmx_walltime_accounting to a class,
* resolve who should have responsibility for recording the number of
* steps done, consider whether parts of finish_time, print_perf,
#include "pbc.h"
#include "physics.h"
#include "index.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "names.h"
#include "mtop_util.h"
#include "gromacs/fileio/futil.h"
#include <string.h>
#include "main.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/futil.h"
#include "sysstuff.h"
#include "txtdump.h"
#include "index.h"
#include "gmx_fatal.h"
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "names.h"
#include "typedefs.h"
#include "sysstuff.h"
#include "txtdump.h"
#include "gmx_fatal.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "names.h"
#include "txtdump.h"
#include "gromacs/gmxpreprocess/gmxcpp.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2010,2011,2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2010,2011,2012,2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
*/
#include "analysissettings.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/vec.h"
#include "gromacs/fileio/trxio.h"
#include "gromacs/utility/exceptions.h"
+#include "gromacs/utility/smalloc.h"
#include "analysissettings-impl.h"
#include "pbc.h"
#include "macros.h"
#include "vec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "nsc.h"
#define TEST_NSC 0
#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/legacyheaders/pbc.h"
#include "gromacs/legacyheaders/physics.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/symtab.h"
#include "gromacs/legacyheaders/vec.h"
#include "gromacs/trajectoryanalysis/analysissettings.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/scoped_ptr_sfree.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/stringutil.h"
#include "nsc.h"
#include <string>
#include <vector>
-#include "gromacs/legacyheaders/smalloc.h"
-
#include "gromacs/analysisdata/analysisdata.h"
#include "gromacs/analysisdata/dataframe.h"
#include "gromacs/analysisdata/datamodule.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/scoped_ptr_sfree.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/stringutil.h"
namespace gmx
#include "gromacs/legacyheaders/oenv.h"
#include "gromacs/legacyheaders/rmpbc.h"
-#include "gromacs/legacyheaders/smalloc.h"
#include "gromacs/legacyheaders/vec.h"
#include "gromacs/fileio/timecontrol.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/programcontext.h"
+#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/stringutil.h"
#include "analysissettings-impl.h"
gmxassert.h
init.h
programcontext.h
+ smalloc.h
stringutil.h
uniqueptr.h)
gmx_install_headers(utility ${UTILITY_PUBLIC_HEADERS})
#ifndef GMX_UTILITY_SCOPED_PTR_SFREE_H
#define GMX_UTILITY_SCOPED_PTR_SFREE_H
-#include "../legacyheaders/smalloc.h"
#include "common.h"
+#include "gromacs/utility/smalloc.h"
namespace gmx
{
* 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/utility/smalloc.h"
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-/* This file is completely threadsafe - keep it that way! */
-
-#include "gromacs/utility/gmxmpi.h"
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "gmx_fatal.h"
-#include "smalloc.h"
-#include "main.h"
+
#ifdef WITH_DMALLOC
#include <dmalloc.h>
#endif
+#include "gromacs/legacyheaders/gmx_fatal.h"
+
+#ifdef PRINT_ALLOC_KB
+#include "gromacs/utility/gmxmpi.h"
+#endif
+
#ifdef DEBUG
#include "thread_mpi/threads.h"
* \endif
*
* \inpublicapi
+ * \ingroup module_utility
*/
-#ifndef _smalloc_h
-#define _smalloc_h
+#ifndef GMX_UTILITY_SMALLOC_H
+#define GMX_UTILITY_SMALLOC_H
#include <stddef.h>
* \param[in] size Number of bytes to allocate.
*
* Allocates memory for \p size bytes and sets this to \p ptr.
- * The allocated memory is not initialized.
+ * The allocated memory is initialized to zero.
*
* \hideinitializer
*/
#endif
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "sysstuff.h"
#include "vec.h"
#include "vcm.h"
#include <stdlib.h>
#include "typedefs.h"
#include "types/commrec.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "sysstuff.h"
#include "vec.h"
#include "macros.h"
#include <config.h>
#endif
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "types/commrec.h"
#include "network.h"
#include "calcgrid.h"
#include "repl_ex.h"
#include "network.h"
#include "gromacs/random/random.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "physics.h"
#include "copyrite.h"
#include "macros.h"
#include <assert.h>
#include "typedefs.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "sysstuff.h"
#include "copyrite.h"
#include "force.h"
#include <algorithm>
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "sysstuff.h"
#include "x11.h"
#include <unistd.h> // for fork()
#endif
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "sysstuff.h"
#include "macros.h"
#include "string2.h"
#include <string.h>
#include <ctype.h>
#include "string2.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "fgrid.h"
#include "gromacs/fileio/futil.h"
#include "sysstuff.h"
#include "gromacs/fileio/futil.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "index.h"
#include "xdlghi.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2013, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "macros.h"
#include "xutil.h"
#include "Xstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "copyrite.h"
#include "logo.h"
#endif
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
-#include "smalloc.h"
#include "macros.h"
#include "atomprop.h"
#include "names.h"
#include <math.h>
#include "sysstuff.h"
#include <string.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "xutil.h"
#include "gmx_fatal.h"
#include <algorithm>
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "buttons.h"
#include "nleg.h"
#include <math.h>
#include "sysstuff.h"
#include <string.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "xutil.h"
#include "gromacs/math/3dview.h"
#include <algorithm>
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "x11.h"
#include "xutil.h"
#include <algorithm>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "x11.h"
#include "sysstuff.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "gmx_fatal.h"
#include "typedefs.h"
#include "gromacs/commandline/pargs.h"
#include <string.h>
#include "typedefs.h"
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "Xstuff.h"
#include "x11.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <string.h>
#include "string2.h"
#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "Xstuff.h"
#include "xutil.h"
#include "xdlg.h"
#include "gmx_fatal.h"
#include "string2.h"
#include "sysstuff.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "xutil.h"
#include "xdlghi.h"
#include <algorithm>
#include "gmx_fatal.h"
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "macros.h"
#include "Xstuff.h"
#include "xdlgitem.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "smalloc.h"
+#include "gromacs/utility/smalloc.h"
#include "typedefs.h"
#include "xutil.h"
#include "Xstuff.h"