/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2010,2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 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.
#ifndef GMX_ANALYSISDATA_H
#define GMX_ANALYSISDATA_H
-#include "analysisdata/analysisdata.h"
-#include "analysisdata/arraydata.h"
-#include "analysisdata/dataframe.h"
-#include "analysisdata/modules/average.h"
-#include "analysisdata/modules/displacement.h"
-#include "analysisdata/modules/histogram.h"
-#include "analysisdata/modules/lifetime.h"
-#include "analysisdata/modules/plot.h"
+#include "gromacs/analysisdata/analysisdata.h"
+#include "gromacs/analysisdata/arraydata.h"
+#include "gromacs/analysisdata/dataframe.h"
+#include "gromacs/analysisdata/modules/average.h"
+#include "gromacs/analysisdata/modules/displacement.h"
+#include "gromacs/analysisdata/modules/histogram.h"
+#include "gromacs/analysisdata/modules/lifetime.h"
+#include "gromacs/analysisdata/modules/plot.h"
#endif
*/
#include "gmxpre.h"
-#include "gromacs/analysisdata/abstractdata.h"
+#include "abstractdata.h"
#include <vector>
#include <boost/shared_ptr.hpp>
-#include "../utility/common.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
*/
#include "gmxpre.h"
-#include "gromacs/analysisdata/analysisdata.h"
+#include "analysisdata.h"
#include "gromacs/analysisdata/dataframe.h"
#include "gromacs/analysisdata/datastorage.h"
#ifndef GMX_ANALYSISDATA_ANALYSISDATA_H
#define GMX_ANALYSISDATA_ANALYSISDATA_H
-#include "../utility/real.h"
-
-#include "abstractdata.h"
+#include "gromacs/analysisdata/abstractdata.h"
+#include "gromacs/utility/real.h"
namespace gmx
{
*/
#include "gmxpre.h"
-#include "gromacs/analysisdata/arraydata.h"
+#include "arraydata.h"
#include <algorithm>
#include <vector>
-#include "../utility/gmxassert.h"
-
-#include "abstractdata.h"
-#include "dataframe.h"
+#include "gromacs/analysisdata/abstractdata.h"
+#include "gromacs/analysisdata/dataframe.h"
+#include "gromacs/utility/gmxassert.h"
namespace gmx
{
#include <vector>
-#include "../utility/arrayref.h"
-#include "../utility/flags.h"
-#include "../utility/gmxassert.h"
-#include "../utility/real.h"
+#include "gromacs/utility/arrayref.h"
+#include "gromacs/utility/flags.h"
+#include "gromacs/utility/gmxassert.h"
+#include "gromacs/utility/real.h"
namespace gmx
{
*/
#include "gmxpre.h"
-#include "gromacs/analysisdata/datamodule.h"
+#include "datamodule.h"
#include "gromacs/analysisdata/paralleloptions.h"
*/
#include "gmxpre.h"
-#include "gromacs/analysisdata/datamodulemanager.h"
+#include "datamodulemanager.h"
#include <vector>
/*
* 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.
#ifndef GMX_ANALYSISDATA_DATAMODULEMANAGER_H
#define GMX_ANALYSISDATA_DATAMODULEMANAGER_H
-#include "abstractdata.h"
-
-#include "../utility/common.h"
+#include "gromacs/analysisdata/abstractdata.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
/*
* 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.
#ifndef GMX_ANALYSISDATA_DATAPROXY_H
#define GMX_ANALYSISDATA_DATAPROXY_H
-#include "abstractdata.h"
-#include "datamodule.h"
+#include "gromacs/analysisdata/abstractdata.h"
+#include "gromacs/analysisdata/datamodule.h"
namespace gmx
{
#include <vector>
-#include "../utility/common.h"
-#include "../utility/gmxassert.h"
-#include "../utility/real.h"
-
-#include "dataframe.h"
+#include "gromacs/analysisdata/dataframe.h"
+#include "gromacs/utility/common.h"
+#include "gromacs/utility/gmxassert.h"
+#include "gromacs/utility/real.h"
namespace gmx
{
#include <vector>
-#include "../abstractdata.h"
-#include "../arraydata.h"
-#include "../datamodule.h"
-#include "../../utility/common.h"
+#include "gromacs/analysisdata/abstractdata.h"
+#include "gromacs/analysisdata/arraydata.h"
+#include "gromacs/analysisdata/datamodule.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
*/
#include "gmxpre.h"
-#include "gromacs/analysisdata/modules/displacement.h"
+#include "displacement.h"
#include "gromacs/analysisdata/dataframe.h"
#include "gromacs/analysisdata/datamodulemanager.h"
#ifndef GMX_ANALYSISDATA_MODULES_DISPLACEMENT_H
#define GMX_ANALYSISDATA_MODULES_DISPLACEMENT_H
-#include "../../utility/real.h"
-
-#include "../abstractdata.h"
-#include "../datamodule.h"
+#include "gromacs/analysisdata/abstractdata.h"
+#include "gromacs/analysisdata/datamodule.h"
+#include "gromacs/utility/real.h"
namespace gmx
{
#include <vector>
-#include "../../utility/gmxassert.h"
-#include "../../utility/real.h"
+#include "gromacs/utility/gmxassert.h"
+#include "gromacs/utility/real.h"
namespace gmx
{
*/
#include "gmxpre.h"
-#include "gromacs/analysisdata/modules/histogram.h"
+#include "histogram.h"
#include <cmath>
#include <boost/shared_ptr.hpp>
-#include "../abstractdata.h"
-#include "../arraydata.h"
-#include "../datamodule.h"
+#include "gromacs/analysisdata/abstractdata.h"
+#include "gromacs/analysisdata/arraydata.h"
+#include "gromacs/analysisdata/datamodule.h"
namespace gmx
{
/*
* 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.
#ifndef GMX_ANALYSISDATA_MODULES_LIFETIME_H
#define GMX_ANALYSISDATA_MODULES_LIFETIME_H
-#include "../arraydata.h"
-#include "../datamodule.h"
-#include "../../utility/common.h"
+#include "gromacs/analysisdata/arraydata.h"
+#include "gromacs/analysisdata/datamodule.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
*/
#include "gmxpre.h"
-#include "gromacs/analysisdata/modules/plot.h"
-
-#include <string>
-#include <vector>
+#include "plot.h"
#include <cstdio>
#include <cstring>
-#include <boost/shared_ptr.hpp>
+#include <string>
+#include <vector>
-#include "gromacs/legacyheaders/oenv.h"
+#include <boost/shared_ptr.hpp>
#include "gromacs/analysisdata/dataframe.h"
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/legacyheaders/oenv.h"
#include "gromacs/math/vec.h"
#include "gromacs/options/basicoptions.h"
#include "gromacs/options/options.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 <boost/shared_ptr.hpp>
-#include "../datamodule.h"
-#include "../../options/timeunitmanager.h"
-#include "../../utility/common.h"
+#include "gromacs/analysisdata/datamodule.h"
+#include "gromacs/options/timeunitmanager.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
*/
#include "gmxpre.h"
+#include "gromacs/analysisdata/analysisdata.h"
+
#include <gmock/gmock.h>
#include <gtest/gtest.h>
-#include "gromacs/analysisdata/analysisdata.h"
#include "gromacs/analysisdata/paralleloptions.h"
#include "gromacs/utility/exceptions.h"
*/
#include "gmxpre.h"
-#include <gtest/gtest.h>
-
#include "gromacs/analysisdata/arraydata.h"
+#include <gtest/gtest.h>
+
#include "gromacs/analysisdata/tests/datatest.h"
#include "testutils/testasserts.h"
*/
#include "gmxpre.h"
+#include "gromacs/analysisdata/modules/average.h"
+
#include <gtest/gtest.h>
#include "gromacs/analysisdata/analysisdata.h"
-#include "gromacs/analysisdata/modules/average.h"
#include "gromacs/analysisdata/tests/datatest.h"
#include "testutils/testasserts.h"
*/
#include "gmxpre.h"
+#include "gromacs/analysisdata/modules/histogram.h"
+
#include <gtest/gtest.h>
#include "gromacs/analysisdata/analysisdata.h"
-#include "gromacs/analysisdata/modules/histogram.h"
#include "gromacs/analysisdata/tests/datatest.h"
#include "testutils/testasserts.h"
*/
#include "gmxpre.h"
+#include "gromacs/analysisdata/modules/lifetime.h"
+
#include <gtest/gtest.h>
#include "gromacs/analysisdata/analysisdata.h"
-#include "gromacs/analysisdata/modules/lifetime.h"
#include "gromacs/analysisdata/tests/datatest.h"
#include "testutils/testasserts.h"
#include "config.h"
#include <assert.h>
+
#include <cmath>
#include <algorithm>
-#include "gromacs/math/units.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/math/utilities.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/legacyheaders/ns.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/names.h"
+#include "gromacs/bonded/restcbt.h"
#include "gromacs/legacyheaders/disre.h"
-#include "gromacs/legacyheaders/orires.h"
#include "gromacs/legacyheaders/force.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/nonbonded.h"
-
+#include "gromacs/legacyheaders/ns.h"
+#include "gromacs/legacyheaders/orires.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/utilities.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/pbcutil/mshift.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
-#include "restcbt.h"
-
/* Find a better place for this? */
const int cmap_coeff_matrix[] = {
1, 0, -3, 2, 0, 0, 0, 0, -3, 0, 9, -6, 2, 0, -6, 4,
#include <stdio.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/nrnb.h"
#include "gromacs/legacyheaders/genborn.h"
+#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/typedefs.h"
#ifdef __cplusplus
extern "C" {
#define GMX_BONDED_RESTCBT_H
#include "gromacs/legacyheaders/types/simple.h"
-#include "gromacs/topology/idef.h"
#include "gromacs/math/vec.h"
+#include "gromacs/topology/idef.h"
#ifdef __cplusplus
extern "C" {
#ifndef GMX_COMMANDLINE_H
#define GMX_COMMANDLINE_H
-#include "commandline/cmdlinehelpwriter.h"
-#include "commandline/cmdlineinit.h"
-#include "commandline/cmdlinemodule.h"
-#include "commandline/cmdlineparser.h"
-#include "commandline/pargs.h"
+#include "gromacs/commandline/cmdlinehelpwriter.h"
+#include "gromacs/commandline/cmdlineinit.h"
+#include "gromacs/commandline/cmdlinemodule.h"
+#include "gromacs/commandline/cmdlineparser.h"
+#include "gromacs/commandline/pargs.h"
#endif
#include "cmdlinehelpcontext.h"
-#include "gromacs/commandline/shellcompletions.h"
#include "gromacs/utility/gmxassert.h"
+#include "shellcompletions.h"
+
namespace gmx
{
#ifndef GMX_COMMANDLINE_CMDLINEHELPCONTEXT_H
#define GMX_COMMANDLINE_CMDLINEHELPCONTEXT_H
-#include "../onlinehelp/helpwritercontext.h"
-#include "../utility/common.h"
+#include "gromacs/onlinehelp/helpwritercontext.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
*/
#include "gmxpre.h"
-#include "gromacs/commandline/cmdlinehelpmodule.h"
+#include "cmdlinehelpmodule.h"
#include <string>
#include <vector>
#include "gromacs/commandline/cmdlinehelpcontext.h"
#include "gromacs/commandline/cmdlinehelpwriter.h"
#include "gromacs/commandline/cmdlineparser.h"
-#include "gromacs/commandline/shellcompletions.h"
#include "gromacs/onlinehelp/helpformat.h"
#include "gromacs/onlinehelp/helpmanager.h"
#include "gromacs/onlinehelp/helptopic.h"
#include "gromacs/utility/programcontext.h"
#include "gromacs/utility/stringutil.h"
+#include "shellcompletions.h"
+
namespace gmx
{
#ifndef GMX_COMMANDLINE_CMDLINEHELPMODULE_H
#define GMX_COMMANDLINE_CMDLINEHELPMODULE_H
-#include "cmdlinemodule.h"
-#include "cmdlinemodulemanager-impl.h"
-
+#include "gromacs/commandline/cmdlinemodule.h"
#include "gromacs/onlinehelp/helptopicinterface.h"
#include "gromacs/utility/common.h"
+#include "cmdlinemodulemanager-impl.h"
+
namespace gmx
{
#include <boost/scoped_ptr.hpp>
#include "gromacs/commandline/cmdlinehelpcontext.h"
-#include "gromacs/commandline/shellcompletions.h"
#include "gromacs/onlinehelp/helpformat.h"
#include "gromacs/onlinehelp/helpwritercontext.h"
#include "gromacs/options/basicoptions.h"
#include "gromacs/utility/file.h"
#include "gromacs/utility/stringutil.h"
+#include "shellcompletions.h"
+
namespace gmx
{
#ifndef GMX_COMMANDLINE_CMDLINEHELPWRITER_H
#define GMX_COMMANDLINE_CMDLINEHELPWRITER_H
-#include "../utility/common.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
*/
#include "gmxpre.h"
-#include "gromacs/commandline/cmdlineinit.h"
+#include "cmdlineinit.h"
+
+#include "config.h"
#include <cstring>
#include <boost/scoped_ptr.hpp>
-#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-
#include "gromacs/commandline/cmdlinemodulemanager.h"
#include "gromacs/commandline/cmdlineprogramcontext.h"
+#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/init.h"
#include "gromacs/utility/programcontext.h"
#include "gromacs/utility/smalloc.h"
-#include "config.h"
-
namespace gmx
{
// Forward declaration of class CommandLineProgramContext is not sufficient for
// MSVC if the return value of initForCommandLine() is ignored(!)
-#include "cmdlineprogramcontext.h"
+#include "gromacs/commandline/cmdlineprogramcontext.h"
namespace gmx
{
#include <string>
#include <vector>
-#include "cmdlinemodule.h"
-#include "cmdlinemodulemanager.h"
-
+#include "gromacs/commandline/cmdlinemodule.h"
+#include "gromacs/commandline/cmdlinemodulemanager.h"
#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/options/options.h"
#include "gromacs/utility/common.h"
#include "cmdlinemodulemanager.h"
+#include "config.h"
+
#include <cstdio>
#include <string>
#include <utility>
-#include "config.h"
-
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
-#include "gromacs/legacyheaders/copyrite.h"
-
#include "gromacs/commandline/cmdlinehelpcontext.h"
-#include "gromacs/commandline/cmdlinehelpmodule.h"
#include "gromacs/commandline/cmdlineinit.h"
#include "gromacs/commandline/cmdlinemodule.h"
-#include "gromacs/commandline/cmdlinemodulemanager-impl.h"
#include "gromacs/commandline/cmdlineparser.h"
#include "gromacs/commandline/cmdlineprogramcontext.h"
+#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/options/basicoptions.h"
#include "gromacs/options/options.h"
#include "gromacs/utility/basenetwork.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/stringutil.h"
+#include "cmdlinehelpmodule.h"
+#include "cmdlinemodulemanager-impl.h"
+
namespace gmx
{
#ifndef GMX_COMMANDLINE_CMDLINEMODULEMANAGER_H
#define GMX_COMMANDLINE_CMDLINEMODULEMANAGER_H
-#include "../onlinehelp/helptopicinterface.h"
-#include "../utility/common.h"
-#include "../utility/uniqueptr.h"
+#include "gromacs/onlinehelp/helptopicinterface.h"
+#include "gromacs/utility/common.h"
+#include "gromacs/utility/uniqueptr.h"
namespace gmx
{
/*
* 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 <string>
#include <vector>
-#include "../utility/common.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
#include <boost/shared_ptr.hpp>
-#include "../utility/common.h"
-#include "../utility/programcontext.h"
+#include "gromacs/utility/common.h"
+#include "gromacs/utility/programcontext.h"
namespace gmx
{
*/
#include "gmxpre.h"
-#include "gromacs/commandline/pargs.h"
+#include "pargs.h"
#include <cstdlib>
#include <cstring>
#ifndef GMX_COMMANDLINE_PARGS_H
#define GMX_COMMANDLINE_PARGS_H
-#include "../legacyheaders/oenv.h"
-#include "../fileio/filenm.h"
-#include "../math/vectypes.h"
-#include "../utility/basedefinitions.h"
-#include "../utility/real.h"
+#include "gromacs/fileio/filenm.h"
+#include "gromacs/legacyheaders/oenv.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C"
*/
#include "gmxpre.h"
-#include "gromacs/commandline/shellcompletions.h"
+#include "shellcompletions.h"
#include <cstdio>
#include "gromacs/commandline/cmdlinehelpcontext.h"
#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/filenm.h"
#include "gromacs/options/basicoptions.h"
#include "gromacs/options/filenameoption.h"
#include "gromacs/options/optionsvisitor.h"
-#include "gromacs/fileio/filenm.h"
#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/file.h"
*/
#include "gmxpre.h"
+#include "gromacs/commandline/cmdlinehelpwriter.h"
+
#include <gtest/gtest.h>
#include "gromacs/commandline/cmdlinehelpcontext.h"
-#include "gromacs/commandline/cmdlinehelpwriter.h"
#include "gromacs/math/vectypes.h"
#include "gromacs/options/basicoptions.h"
#include "gromacs/options/filenameoption.h"
// For GMX_BINARY_SUFFIX
#include "gmxpre.h"
+#include "gromacs/commandline/cmdlinemodulemanager.h"
+
#include "config.h"
#include <vector>
#include "gromacs/commandline/cmdlinehelpcontext.h"
#include "gromacs/commandline/cmdlinemodule.h"
-#include "gromacs/commandline/cmdlinemodulemanager.h"
#include "gromacs/commandline/cmdlineprogramcontext.h"
#include "gromacs/utility/file.h"
*/
#include "gmxpre.h"
+#include "gromacs/commandline/cmdlineparser.h"
+
#include <vector>
#include <gtest/gtest.h>
-#include "gromacs/commandline/cmdlineparser.h"
#include "gromacs/options/basicoptions.h"
#include "gromacs/options/options.h"
*/
#include "gmxpre.h"
+#include "gromacs/commandline/cmdlineprogramcontext.h"
+
+#include "config.h"
+
#include <string>
#include <vector>
#include <boost/shared_ptr.hpp>
#include <gtest/gtest.h>
-#include "gromacs/commandline/cmdlineprogramcontext.h"
#include "gromacs/utility/common.h"
#include "gromacs/utility/path.h"
#include "testutils/cmdlinetest.h"
-#include "config.h"
-
using gmx::test::CommandLine;
using gmx::Path;
*/
#include "gmxpre.h"
+#include "edsam.h"
+
#include <stdio.h>
#include <string.h>
#include <time.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/cstringutil.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/names.h"
#include "gromacs/fileio/confio.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/nrnb.h"
-#include "gromacs/legacyheaders/mdrun.h"
-#include "gromacs/legacyheaders/update.h"
-#include "gromacs/topology/mtop_util.h"
-#include "gromacs/essentialdynamics/edsam.h"
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/xvgr.h"
-#include "gromacs/mdlib/groupcoord.h"
-
+#include "gromacs/legacyheaders/mdrun.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/update.h"
#include "gromacs/linearalgebra/nrjac.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/mdlib/groupcoord.h"
#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/topology/mtop_util.h"
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
/* We use the same defines as in mvdata.c here */
#define block_bc(cr, d) gmx_bcast( sizeof(d), &(d), (cr))
#ifndef GMX_ESSENTIALDYNAMICS_EDSAM_H
#define GMX_ESSENTIALDYNAMICS_EDSAM_H
-#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/fileio/filenm.h"
+#include "gromacs/legacyheaders/typedefs.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
-#include "gromacs/fft/fft.h"
+#include "fft.h"
#include "config.h"
#include <stdio.h>
-#include "../math/gmxcomplex.h"
-#include "../utility/real.h"
+#include "gromacs/math/gmxcomplex.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
#include "fft5d.h"
+#include "config.h"
+
#include <assert.h>
#include <float.h>
#include <math.h>
#include "gromacs/utility/gmxmpi.h"
#include "gromacs/utility/smalloc.h"
-#include "config.h"
-
#ifdef NOGMX
#define GMX_PARALLEL_ENV_INITIALIZED 1
#else
*/
#include "gmxpre.h"
-#include "gromacs/fft/fft.h"
-
#include <errno.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
+#include "external/fftpack/fftpack.h"
+
+#include "gromacs/fft/fft.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/real.h"
-#include "external/fftpack/fftpack.h"
-
/*! \internal
* \brief
* Contents of the FFTPACK fft datatype.
*/
#include "gmxpre.h"
+#include "config.h"
+
#include <errno.h>
#include <stdlib.h>
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/fatalerror.h"
-#include "config.h"
-
#ifdef GMX_DOUBLE
#define FFTWPREFIX(name) fftw_ ## name
#else
*/
#include "gmxpre.h"
+#include "parallel_3dfft.h"
+
+#include <errno.h>
#include <stdlib.h>
#include <string.h>
-#include <errno.h>
#include "gromacs/fft/fft.h"
-#include "gromacs/fft/parallel_3dfft.h"
+#include "gromacs/fft/fft5d.h"
#include "gromacs/math/gmxcomplex.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/gmxmpi.h"
-
#include "gromacs/utility/smalloc.h"
-#include "gromacs/utility/fatalerror.h"
-
-#include "fft5d.h"
struct gmx_parallel_3dfft {
fft5d_plan p1, p2;
#ifndef GMX_FFT_PARALLEL_3DFFT_H
#define GMX_FFT_PARALLEL_3DFFT_H
-#include "../math/gmxcomplex.h"
-#include "../timing/wallcycle.h"
-#include "../utility/basedefinitions.h"
-#include "../utility/gmxmpi.h"
-#include "../utility/real.h"
-
-#include "fft.h"
+#include "gromacs/fft/fft.h"
+#include "gromacs/math/gmxcomplex.h"
+#include "gromacs/timing/wallcycle.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/gmxmpi.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
+#include "gromacs/fft/fft.h"
+
#include <vector>
#include <gtest/gtest.h>
-#include "gromacs/fft/fft.h"
#include "gromacs/fft/parallel_3dfft.h"
#include "gromacs/utility/stringutil.h"
#include <math.h>
#include <stdio.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/futil.h"
-#include "xdrf.h"
-#include "filenm.h"
-#include "pdbio.h"
-#include "tpxio.h"
-#include "trxio.h"
-#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/topology/mtop_util.h"
-#include "gmxfio.h"
-
+#include "gromacs/fileio/filenm.h"
+#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/fileio/pdbio.h"
+#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trx.h"
+#include "gromacs/fileio/trxio.h"
+#include "gromacs/fileio/xdrf.h"
+#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/topology/symtab.h"
#include "gromacs/topology/topology.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
#define CHAR_SHIFT 24
#include <stdio.h>
-#include "../legacyheaders/types/simple.h"
-
-#include "trx.h"
+#include "gromacs/fileio/trx.h"
+#include "gromacs/legacyheaders/types/simple.h"
/* For reading coordinate files it is assumed that enough memory
* has been allocated beforehand.
#include <stdlib.h>
#include <string.h>
-#include "gromacs/utility/futil.h"
-#include "gromacs/legacyheaders/macros.h"
-
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/xdrf.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/topology/topology.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
/* The source code in this file should be thread-safe.
#ifndef GMX_FILEIO_ENXIO_H
#define GMX_FILEIO_ENXIO_H
-#include "../legacyheaders/types/energy.h"
-#include "../legacyheaders/types/inputrec.h"
-#include "../legacyheaders/types/state.h"
-#include "gmxfio.h"
-#include "xdr_datatype.h"
+#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/fileio/xdr_datatype.h"
+#include "gromacs/legacyheaders/types/energy.h"
+#include "gromacs/legacyheaders/types/inputrec.h"
+#include "gromacs/legacyheaders/types/state.h"
#ifdef __cplusplus
extern "C" {
#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/types/commrec.h"
-
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
#ifndef GMX_FILEIO_FILENM_H
#define GMX_FILEIO_FILENM_H
-#include "../legacyheaders/types/commrec_fwd.h"
-#include "../utility/basedefinitions.h"
+#include "gromacs/legacyheaders/types/commrec_fwd.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
#ifdef GMX_INTERNAL_XDR
-#include <stdlib.h>
+#include "gmx_system_xdr.h"
+
#include <limits.h>
+#include <stdlib.h>
#include <string.h>
-#include "gmx_system_xdr.h"
-
/* NB - THIS FILE IS ONLY USED ON MICROSOFT WINDOWS, since that
* system doesn't provide any standard XDR system libraries. It will
#include "gmxfio.h"
+#include "config.h"
+
#include <errno.h>
#include <stdio.h>
#include <string.h>
-#include "config.h"
-
#ifdef HAVE_IO_H
#include <io.h>
#endif
#include <stdio.h>
-#include "../utility/cstringutil.h"
-#include "../utility/futil.h"
-#include "../utility/real.h"
-#include "../math/vectypes.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/cstringutil.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
+#include "config.h"
+
#include <ctype.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
-#include "config.h"
-
#ifdef HAVE_IO_H
#include <io.h>
#endif
*/
#include "gmxpre.h"
+#include "config.h"
+
#include <errno.h>
#include <stdio.h>
#include <string.h>
-#include "config.h"
-
#ifdef HAVE_IO_H
#include <io.h>
#endif
#include "thread_mpi/lock.h"
-#include "xdrf.h"
+#include "gromacs/fileio/xdrf.h"
/* the reader/writer functions for t_iotype */
typedef gmx_bool read_func (t_fileio *fio, void *item, int nitem, int eio,
*/
#include "gmxpre.h"
+#include "config.h"
+
#include <errno.h>
#include <stdio.h>
-#include "config.h"
-
#ifdef HAVE_IO_H
#include <io.h>
#endif
*/
#include "gmxpre.h"
+#include "config.h"
+
#include <errno.h>
#include <stdio.h>
#include <string.h>
-#include "config.h"
-
#ifdef HAVE_IO_H
#include <io.h>
#endif
#include <stdlib.h>
#include <string.h>
-#include "xdrf.h"
-#include "xdr_datatype.h"
+#include "gromacs/fileio/xdr_datatype.h"
+#include "gromacs/fileio/xdrf.h"
#include "gromacs/utility/futil.h"
/* This is just for clarity - it can never be anything but 4! */
#include <stdio.h>
-#include "../legacyheaders/types/rgb.h"
-#include "../utility/basedefinitions.h"
-#include "../utility/real.h"
+#include "gromacs/legacyheaders/types/rgb.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
*/
#include "md5.h"
+
#include <string.h>
#undef BYTE_ORDER /* 1 = big-endian, -1 = little-endian, 0 = unknown */
#include "mdoutf.h"
-#include "gromacs/legacyheaders/mdrun.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/mvdata.h"
-#include "gromacs/legacyheaders/domdec.h"
-#include "trnio.h"
-#include "xtcio.h"
-#include "tngio.h"
-#include "trajectory_writing.h"
+#include "gromacs/fileio/tngio.h"
+#include "gromacs/fileio/trajectory_writing.h"
+#include "gromacs/fileio/trnio.h"
+#include "gromacs/fileio/xtcio.h"
+#include "gromacs/fileio/xvgr.h"
#include "gromacs/legacyheaders/checkpoint.h"
#include "gromacs/legacyheaders/copyrite.h"
-
-#include "gromacs/fileio/xvgr.h"
+#include "gromacs/legacyheaders/domdec.h"
+#include "gromacs/legacyheaders/mdrun.h"
+#include "gromacs/legacyheaders/mvdata.h"
+#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/math/vec.h"
+#include "gromacs/timing/wallcycle.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
-#include "gromacs/timing/wallcycle.h"
struct gmx_mdoutf {
t_fileio *fp_trn;
#include <stdio.h>
-#include "../legacyheaders/types/inputrec.h"
-#include "../legacyheaders/types/oenv.h"
-#include "../legacyheaders/network.h"
-
-#include "../math/vectypes.h"
-#include "../timing/wallcycle.h"
-#include "../utility/basedefinitions.h"
-#include "filenm.h"
-#include "enxio.h"
+#include "gromacs/fileio/enxio.h"
+#include "gromacs/fileio/filenm.h"
+#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/types/inputrec.h"
+#include "gromacs/legacyheaders/types/oenv.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/timing/wallcycle.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
#ifndef GMX_FILEIO_MTXIO_H
#define GMX_FILEIO_MTXIO_H
-#include "../linearalgebra/sparsematrix.h"
-#include "../utility/real.h"
+#include "gromacs/linearalgebra/sparsematrix.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
#include <stdlib.h>
#include <string.h>
+#include "gromacs/fileio/gmxfio.h"
#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/legacyheaders/types/ifunc.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/futil.h"
-
-#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/legacyheaders/types/ifunc.h"
#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/topology/topology.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
typedef struct {
#include <stdio.h>
-#include "../legacyheaders/types/simple.h"
+#include "gromacs/legacyheaders/types/simple.h"
#ifdef __cplusplus
extern "C" {
#include <stdlib.h>
#include <string.h>
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/cstringutil.h"
-
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
gmx_bool get_a_line(FILE *fp, char line[], int n)
{
#include <stdio.h>
-#include "../utility/basedefinitions.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
-#include <gtest/gtest.h>
+#include "gromacs/fileio/tngio.h"
+
#include <string>
-#include "gromacs/fileio/tngio.h"
+#include <gtest/gtest.h>
+
#include "gromacs/fileio/tngio_for_tools.h"
#include "gromacs/utility/path.h"
*/
#include "gmxpre.h"
-#include "gromacs/fileio/timecontrol.h"
+#include "timecontrol.h"
#include "thread_mpi/threads.h"
#include "tng/tng_io.h"
#endif
+#include "gromacs/fileio/gmxfio.h"
#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/legacyheaders/types/ifunc.h"
-
-#include "gromacs/fileio/gmxfio.h"
#include "gromacs/math/units.h"
#include "gromacs/math/utilities.h"
#include "gromacs/topology/topology.h"
#include "tngio_for_tools.h"
-#include <math.h>
-
#include "config.h"
+#include <math.h>
+
#ifdef GMX_USE_TNG
#include "tng/tng_io.h"
#endif
/* This file is completely threadsafe - keep it that way! */
+#include "tpxio.h"
+
#include <stdlib.h>
#include <string.h>
+#include "gromacs/fileio/confio.h"
+#include "gromacs/fileio/filenm.h"
+#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
-#include "gromacs/utility/futil.h"
-#include "filenm.h"
-#include "gmxfio.h"
-#include "tpxio.h"
#include "gromacs/legacyheaders/txtdump.h"
-#include "confio.h"
-#include "gromacs/legacyheaders/copyrite.h"
-
#include "gromacs/math/vec.h"
#include "gromacs/topology/atomprop.h"
#include "gromacs/topology/block.h"
#include "gromacs/topology/topology.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
#define TPX_TAG_RELEASE "release"
* can also be used with the routines in gmxfio.h
*
**************************************************************/
-#include "../legacyheaders/types/inputrec.h"
-#include "../legacyheaders/types/state.h"
-#include "gmxfio.h"
+#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/legacyheaders/types/inputrec.h"
+#include "gromacs/legacyheaders/types/state.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/sim_util.h"
-#include "gromacs/legacyheaders/mdrun.h"
-#include "confio.h"
#include "trajectory_writing.h"
-#include "mdoutf.h"
+#include "gromacs/fileio/confio.h"
+#include "gromacs/fileio/mdoutf.h"
+#include "gromacs/legacyheaders/mdrun.h"
+#include "gromacs/legacyheaders/sim_util.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/math/vec.h"
#include "gromacs/timing/wallcycle.h"
+#include "gromacs/utility/smalloc.h"
void
do_md_trajectory_writing(FILE *fplog,
#include <stdio.h>
-#include "../legacyheaders/types/commrec_fwd.h"
-#include "../legacyheaders/mdebin.h"
-#include "../timing/wallcycle.h"
-
-#include "filenm.h"
-#include "mdoutf.h"
+#include "gromacs/fileio/filenm.h"
+#include "gromacs/fileio/mdoutf.h"
+#include "gromacs/legacyheaders/mdebin.h"
+#include "gromacs/legacyheaders/types/commrec_fwd.h"
+#include "gromacs/timing/wallcycle.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
+#include "trnio.h"
+
#include <string.h>
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/txtdump.h"
+
+#include "gromacs/fileio/gmxfio.h"
#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/futil.h"
-#include "trnio.h"
-#include "gmxfio.h"
+#include "gromacs/utility/smalloc.h"
#define BUFSIZE 128
#define GROMACS_MAGIC 1993
*
**************************************************************/
-#include "gmxfio.h"
+#include "gromacs/fileio/gmxfio.h"
#ifdef __cplusplus
extern "C" {
#ifndef GMX_FILEIO_TRX_H
#define GMX_FILEIO_TRX_H
-#include "../math/vectypes.h"
-#include "../utility/basedefinitions.h"
-#include "../utility/real.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
#include "trxio.h"
+#include "config.h"
+
#include <assert.h>
#include <math.h>
#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
-#include "config.h"
-
#ifdef GMX_USE_PLUGINS
#include "gromacs/fileio/vmdio.h"
#endif
#ifndef GMX_FILEIO_TRXIO_H
#define GMX_FILEIO_TRXIO_H
-#include "../legacyheaders/readinp.h"
-#include "../legacyheaders/oenv.h"
-
-#include "filenm.h"
-#include "gmxfio.h"
-#include "pdbio.h"
+#include "gromacs/fileio/filenm.h"
+#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/fileio/pdbio.h"
+#include "gromacs/legacyheaders/oenv.h"
+#include "gromacs/legacyheaders/readinp.h"
#ifdef __cplusplus
extern "C" {
/* */
/*****************************************************************************/
-#include <stdlib.h>
+#include <assert.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
-#include <assert.h>
/*
* Plugin header files; get plugin source from www.ks.uiuc.edu/Research/vmd"
#ifndef _WIN32_IE
#define _WIN32_IE 0x0500 /* SHGetFolderPath is available since WinXP/IE5 */
#endif
-#include <windows.h>
#include <shlobj.h>
+#include <windows.h>
#endif
#include "gromacs/fileio/gmxfio.h"
#include <stdio.h>
+#include "gromacs/fileio/gmxfio.h"
#include "gromacs/utility/fatalerror.h"
-#include "gromacs/utility/smalloc.h"
-
#include "gromacs/utility/futil.h"
-#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/utility/smalloc.h"
const char *fontnm[efontNR] = {
"Times-Roman", "Times-Italic", "Times-Bold", "Times-BoldItalic",
#include <stdio.h>
-#include "../legacyheaders/types/rgb.h"
-#include "../utility/basedefinitions.h"
-#include "../utility/real.h"
+#include "gromacs/legacyheaders/types/rgb.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
-#include "xdrf.h"
-
+#include "gromacs/fileio/xdrf.h"
#include "gromacs/math/vectypes.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "config.h"
#ifdef GMX_INTERNAL_XDR
-#include "gmx_system_xdr.h"
+#include "gromacs/fileio/gmx_system_xdr.h"
#else
#include <rpc/rpc.h>
#include <rpc/xdr.h>
#ifndef GMX_FILEIO_XTCIO_H
#define GMX_FILEIO_XTCIO_H
-#include "../math/vectypes.h"
-#include "../utility/basedefinitions.h"
-#include "../utility/real.h"
-#include "gmxfio.h"
+#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
-#include "gromacs/fileio/xvgr.h"
+#include "xvgr.h"
#include "config.h"
-#include <string.h>
#include <ctype.h>
+#include <string.h>
#include <time.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
+#include "gromacs/fileio/gmxfio.h"
#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/legacyheaders/oenv.h"
-
-#include "gromacs/fileio/gmxfio.h"
#include "gromacs/math/vec.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/exceptions.h"
#include <stdio.h>
-#include "../legacyheaders/types/oenv.h"
-#include "../utility/basedefinitions.h"
-#include "../utility/real.h"
+#include "gromacs/legacyheaders/types/oenv.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
#include <math.h>
#include <stdio.h>
#include <string.h>
-#include "gromacs/math/units.h"
-#include "gromacs/utility/smalloc.h"
+
+#include "gromacs/bonded/bonded.h"
+#include "gromacs/fileio/confio.h"
+#include "gromacs/fileio/trxio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/fileio/xvgr.h"
#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
-#include "gstat.h"
-#include "gromacs/fileio/confio.h"
-#include "gromacs/fileio/trxio.h"
-
-#include "gromacs/bonded/bonded.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
void print_one(const output_env_t oenv, const char *base, const char *name,
const char *title, const char *ylabel, int nf, real time[],
#include <stdio.h>
#include <string.h>
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/xvgr.h"
-#include "gromacs/utility/futil.h"
-#include "gstat.h"
+#include "gromacs/gmxana/correl.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
-#include "gromacs/utility/fatalerror.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/vec.h"
-#include "correl.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
#define MODE(x) ((mode & (x)) == (x))
#include "gmxpre.h"
#include "cmat.h"
-#include "gromacs/utility/smalloc.h"
+
+#include "gromacs/fileio/matio.h"
+#include "gromacs/fileio/xvgr.h"
#include "gromacs/legacyheaders/macros.h"
#include "gromacs/math/vec.h"
-#include "gromacs/fileio/xvgr.h"
-#include "gromacs/fileio/matio.h"
#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
t_mat *init_mat(int n1, gmx_bool b1D)
{
#include "gmxpre.h"
+#include "correl.h"
+
+#include <math.h>
#include <stdio.h>
#include <stdlib.h>
-#include <math.h>
#include "gromacs/fft/fft.h"
#include "gromacs/utility/smalloc.h"
-#include "correl.h"
#define SWAP(a, b) tempr = (a); (a) = (b); (b) = tempr
#ifndef _correl_h
#define _correl_h
-#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/fft/fft.h"
+#include "gromacs/legacyheaders/typedefs.h"
typedef struct {
int n;
* Routines for Filters and convolutions
*/
+#include "dens_filter.h"
+
#include <math.h>
+
#include "gromacs/legacyheaders/typedefs.h"
-#include "dens_filter.h"
-#include "gromacs/utility/smalloc.h"
#include "gromacs/math/vec.h"
+#include "gromacs/utility/smalloc.h"
#ifdef GMX_DOUBLE
#define EXP(x) (exp(x))
#include <stdlib.h>
#include <string.h>
-#include "gstat.h"
-
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/topology/residuetypes.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/topology/symtab.h"
-#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
void replace_atom(t_topology *top, int inr, char *anm, char *resnm,
real q, real m, int type)
*/
#include "gmxpre.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/math/vec.h"
#include "eigio.h"
-#include "gromacs/fileio/trnio.h"
+
#include "gromacs/fileio/tpxio.h"
+#include "gromacs/fileio/trnio.h"
+#include "gromacs/math/vec.h"
#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
void read_eigenvectors(const char *file, int *natoms, gmx_bool *bFit,
rvec **xref, gmx_bool *bDMR,
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/xvgr.h"
-#include "gromacs/utility/futil.h"
-#include "gstat.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/vec.h"
-
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
const int nfp_ffn[effnNR] = { 0, 1, 2, 3, 2, 5, 7, 9, 4, 3};
#include "gmxpre.h"
#include "fitahx.h"
-#include "gromacs/math/vec.h"
#include "gromacs/math/do_fit.h"
+#include "gromacs/math/vec.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#define _fitahx_h
+#include "gromacs/gmxana/hxprops.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "hxprops.h"
extern real fit_ahx(int nres, t_bb bb[], int natoms, int nall, atom_id allindex[],
rvec x[], int nca, atom_id caindex[], gmx_bool bFit);
*/
#include "gmxpre.h"
+#include "geminate.h"
+
#include <math.h>
#include <stdlib.h>
#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
#include "gromacs/math/vec.h"
-#include "geminate.h"
-
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/gmxomp.h"
+#include "gromacs/utility/smalloc.h"
static void missing_code_message()
{
#include <stdlib.h>
#include <string.h>
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/confio.h"
+#include "gromacs/fileio/xvgr.h"
#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/utility/cstringutil.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/vec.h"
#include "gromacs/statistics/statistics.h"
-#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/fileio/xvgr.h"
-#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/utility/cstringutil.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static const char *etitles[] = { "E-docked", "Free Energy" };
#include <string.h>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/fileio/pdbio.h"
#include "gromacs/fileio/confio.h"
+#include "gromacs/fileio/matio.h"
+#include "gromacs/fileio/pdbio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/fileio/matio.h"
#include "gromacs/fileio/xvgr.h"
-#include "gromacs/legacyheaders/viewit.h"
-#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/gmxana/eigio.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/txtdump.h"
-#include "eigio.h"
-#include "gromacs/math/units.h"
-#include "gmx_ana.h"
-
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/viewit.h"
#include "gromacs/math/do_fit.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static void calc_entropy_qh(FILE *fp, int n, real eigval[], real temp, int nskip)
{
#include <string.h>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/math/vec.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/geminate.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/utility/futil.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/readinp.h"
#include "gromacs/legacyheaders/txtdump.h"
-#include "gstat.h"
-#include "gromacs/statistics/statistics.h"
-#include "gromacs/fileio/xvgr.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/viewit.h"
-#include "gmx_ana.h"
-#include "geminate.h"
-
#include "gromacs/linearalgebra/matrix.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/statistics/statistics.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
/* must correspond to char *avbar_opt[] declared in main() */
enum {
#include <math.h>
#include <string.h>
-#include "gromacs/math/units.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/utility/futil.h"
#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/trnio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
#include "gromacs/topology/index.h"
-#include "gromacs/legacyheaders/macros.h"
#include "gromacs/utility/fatalerror.h"
-#include "gromacs/fileio/xvgr.h"
-#include "gromacs/legacyheaders/viewit.h"
-#include "gstat.h"
-#include "gromacs/fileio/trnio.h"
-#include "gmx_ana.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static void dump_dih_trn(int nframes, int nangles, real **dih, const char *fn,
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/utility/futil.h"
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/macros.h"
#include "gromacs/fileio/enxio.h"
-#include "gromacs/math/units.h"
-#include "gromacs/utility/fatalerror.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/mdebin.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/viewit.h"
-#include "gmx_ana.h"
+#include "gromacs/math/units.h"
#include "gromacs/math/utilities.h"
#include "gromacs/utility/cstringutil.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/legacyheaders/mdebin.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
/* Structure for the names of lambda vector components */
#include <string.h>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/fileio/xvgr.h"
-#include "gromacs/pbcutil/rmpbc.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/units.h"
-#include "gmx_ana.h"
-
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
#define MAX_ENDS 3
#include <stdio.h>
#include <string.h>
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/confio.h"
+#include "gromacs/fileio/matio.h"
#include "gromacs/fileio/pdbio.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/utility/futil.h"
-#include "gstat.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/utilities.h"
-#include "gromacs/math/units.h"
-#include "gromacs/topology/residuetypes.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/tpxio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/fileio/xvgr.h"
#include "gromacs/legacyheaders/viewit.h"
-#include "gromacs/fileio/matio.h"
-#include "gmx_ana.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/utilities.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/topology/residuetypes.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static gmx_bool bAllowed(real phi, real psi)
{
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/matio.h"
#include "gromacs/fileio/tpxio.h"
+#include "gromacs/fileio/trnio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/utility/cstringutil.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/random/random.h"
-#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/pbcutil/rmpbc.h"
#include "gromacs/fileio/xvgr.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/fileio/matio.h"
-#include "cmat.h"
-#include "gromacs/fileio/trnio.h"
+#include "gromacs/gmxana/cmat.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/viewit.h"
-#include "gmx_ana.h"
-
#include "gromacs/linearalgebra/eigensolver.h"
#include "gromacs/math/do_fit.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/random/random.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
/* print to two file pointers at once (i.e. stderr and log) */
static gmx_inline
#include <math.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/pbcutil/pbc.h"
#include "gromacs/commandline/pargs.h"
-#include "gromacs/fileio/xvgr.h"
-#include "gromacs/utility/futil.h"
+#include "gromacs/fileio/matio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/nrnb.h"
-#include "gromacs/math/units.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/coulomb.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/nrnb.h"
#include "gromacs/legacyheaders/pme.h"
-#include "gstat.h"
-#include "gromacs/fileio/matio.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/topology/index.h"
#include "gromacs/topology/mtop_util.h"
-#include "gmx_ana.h"
-
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static void clust_size(const char *ndx, const char *trx, const char *xpm,
const char *xpmw, const char *ncl, const char *acl,
#include <math.h>
#include <string.h>
+#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/confio.h"
#include "gromacs/fileio/filenm.h"
-#include "gromacs/utility/smalloc.h"
+#include "gromacs/fileio/pdbio.h"
+#include "gromacs/fileio/tpxio.h"
+#include "gromacs/gmxana/gmx_ana.h"
#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/commandline/pargs.h"
-#include "gromacs/fileio/tpxio.h"
+#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/math/do_fit.h"
#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/rmpbc.h"
#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/futil.h"
-#include "gromacs/fileio/confio.h"
-#include "gromacs/fileio/pdbio.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/legacyheaders/viewit.h"
-#include "gromacs/pbcutil/rmpbc.h"
-#include "gmx_ana.h"
-
-#include "gromacs/math/do_fit.h"
+#include "gromacs/utility/smalloc.h"
void calc_rm_cm(int isize, atom_id index[], t_atoms *atoms, rvec x[], rvec xcm)
{
#endif
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/topology/index.h"
#include "gromacs/fileio/confio.h"
+#include "gromacs/fileio/matio.h"
#include "gromacs/fileio/trnio.h"
+#include "gromacs/fileio/trxio.h"
#include "gromacs/fileio/xvgr.h"
-#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/gmxana/eigio.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/fileio/matio.h"
-#include "eigio.h"
-#include "gmx_ana.h"
-#include "gromacs/utility/cstringutil.h"
-#include "gromacs/fileio/trxio.h"
-
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/linearalgebra/eigensolver.h"
#include "gromacs/math/do_fit.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
int gmx_covar(int argc, char *argv[])
{
#include <stdlib.h>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/math/vec.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
#include "gromacs/fileio/xvgr.h"
-#include "gromacs/pbcutil/rmpbc.h"
-#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/units.h"
-#include "gromacs/topology/index.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/pbcutil/rmpbc.h"
#include "gromacs/statistics/statistics.h"
-#include "gmx_ana.h"
-#include "gromacs/legacyheaders/macros.h"
-
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
#define SQR(x) (pow(x, 2.0))
#define EPSI0 (EPSILON0*E_CHARGE*E_CHARGE*AVOGADRO/(KILO*NANO)) /* EPSILON0 in SI units */
#include <stdlib.h>
#include <string.h>
-#include "gromacs/utility/cstringutil.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gstat.h"
-#include "gromacs/legacyheaders/viewit.h"
-#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/topology/index.h"
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/math/units.h"
-#include "gmx_ana.h"
-#include "gromacs/legacyheaders/macros.h"
-
-#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
#include <string.h>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
+#include "gromacs/fileio/matio.h"
+#include "gromacs/fileio/tpxio.h"
+#include "gromacs/fileio/trxio.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/viewit.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/utility/futil.h"
#include "gromacs/topology/index.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/fileio/tpxio.h"
-#include "gromacs/fileio/trxio.h"
-#include "gstat.h"
-#include "gromacs/fileio/matio.h"
-#include "gromacs/legacyheaders/viewit.h"
-#include "gmx_ana.h"
-
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
int gmx_densmap(int argc, char *argv[])
{
#include <math.h>
#include <string.h>
-#include "gromacs/utility/cstringutil.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gstat.h"
-#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/fileio/tpxio.h"
-#include "gromacs/fileio/trxio.h"
-#include "gromacs/math/units.h"
-#include "dens_filter.h"
-#include "binsearch.h"
-#include "powerspect.h"
-#include "gmx_ana.h"
-#include "gromacs/legacyheaders/copyrite.h"
-
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/matio.h"
+#include "gromacs/fileio/tpxio.h"
+#include "gromacs/fileio/trxio.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/binsearch.h"
+#include "gromacs/gmxana/dens_filter.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/gmxana/powerspect.h"
+#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
#ifdef GMX_DOUBLE
#include <stdio.h>
#include <stdlib.h>
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/correl.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gstat.h"
-#include "gromacs/utility/smalloc.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/fileio/xvgr.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/viewit.h"
-#include "correl.h"
-#include "gmx_ana.h"
-#include "gromacs/utility/fatalerror.h"
-
-#include "gromacs/utility/futil.h"
#include "gromacs/math/gmxcomplex.h"
#include "gromacs/math/utilities.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
/* Determines at which point in the array the fit should start */
int calc_nbegin(int nx, real x[], real tbegin)
*/
#include "gmxpre.h"
-#include <string.h>
#include <math.h>
+#include <string.h>
#include <algorithm>
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/legacyheaders/viewit.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/statistics/statistics.h"
-#include "gstat.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/random/random.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/math/units.h"
-#include "gromacs/legacyheaders/calcmu.h"
-#include "gromacs/fileio/enxio.h"
-#include "gmx_ana.h"
-#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/fileio/trxio.h"
-
#include "gromacs/bonded/bonded.h"
#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/enxio.h"
#include "gromacs/fileio/matio.h"
+#include "gromacs/fileio/trxio.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/legacyheaders/calcmu.h"
+#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/viewit.h"
#include "gromacs/linearalgebra/nrjac.h"
+#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/random/random.h"
+#include "gromacs/statistics/statistics.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
#define e2d(x) ENM2DEBYE*(x)
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/pbcutil/mshift.h"
-#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/confio.h"
-#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/fileio/matio.h"
+#include "gromacs/fileio/pdbio.h"
+#include "gromacs/fileio/tpxio.h"
+#include "gromacs/fileio/trxio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/disre.h"
#include "gromacs/legacyheaders/force.h"
-#include "gstat.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/main.h"
-#include "gromacs/fileio/pdbio.h"
-#include "gromacs/topology/index.h"
#include "gromacs/legacyheaders/mdatoms.h"
-#include "gromacs/fileio/tpxio.h"
-#include "gromacs/fileio/trxio.h"
#include "gromacs/legacyheaders/mdrun.h"
#include "gromacs/legacyheaders/names.h"
-#include "gromacs/topology/mtop_util.h"
-#include "gmx_ana.h"
-
-#include "gromacs/commandline/pargs.h"
-#include "gromacs/fileio/matio.h"
-#include "gromacs/fileio/xvgr.h"
+#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/viewit.h"
#include "gromacs/math/do_fit.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/ishift.h"
+#include "gromacs/pbcutil/mshift.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include <stdlib.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/fileio/pdbio.h"
-#include "gromacs/topology/index.h"
-#include "gstat.h"
-#include "gromacs/fileio/tpxio.h"
-#include "gromacs/fileio/trxio.h"
-#include "gromacs/legacyheaders/viewit.h"
-
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/matio.h"
+#include "gromacs/fileio/pdbio.h"
#include "gromacs/fileio/strdb.h"
+#include "gromacs/fileio/tpxio.h"
+#include "gromacs/fileio/trxio.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/viewit.h"
#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include <stdlib.h>
#include <string.h>
+#include "gromacs/commandline/pargs.h"
+#include "gromacs/fft/fft.h"
#include "gromacs/fileio/confio.h"
+#include "gromacs/fileio/trxio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/correl.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/utility/futil.h"
-#include "gstat.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/utilities.h"
-#include "gromacs/math/units.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/commandline/pargs.h"
#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/fileio/xvgr.h"
#include "gromacs/legacyheaders/viewit.h"
-#include "correl.h"
-#include "gmx_ana.h"
-#include "gromacs/fft/fft.h"
-#include "gromacs/fileio/trxio.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/utilities.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
enum {
VACF, MVACF, DOS, DOS_SOLID, DOS_DIFF, DOS_CP, DOS_S, DOS_A, DOS_E, DOS_NR
*/
#include "gmxpre.h"
-#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/fileio/filenm.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-
#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/filenm.h"
#include "gromacs/fileio/trx.h"
#include "gromacs/fileio/trxio.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
*/
#include "gmxpre.h"
-#include "gromacs/topology/index.h"
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/confio.h"
-#include "gromacs/math/units.h"
-#include "gmx_ana.h"
-#include "gromacs/legacyheaders/macros.h"
#include "gromacs/fileio/trxio.h"
-
-#include "gromacs/commandline/pargs.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/math/3dtransforms.h"
+#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
#include "gromacs/topology/atoms.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include <math.h>
#include <string.h>
-#include "gromacs/fileio/pdbio.h"
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/confio.h"
-#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/fileio/pdbio.h"
#include "gromacs/fileio/strdb.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/gmxlib/conformation-utilities.h"
-#include "gromacs/math/units.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "princ.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/princ.h"
+#include "gromacs/gmxlib/conformation-utilities.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/viewit.h"
-#include "gmx_ana.h"
-
-#include "gromacs/commandline/pargs.h"
+#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/pbcutil/rmpbc.h"
#include "gromacs/topology/atomprop.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/enxio.h"
+#include "gromacs/fileio/trxio.h"
+#include "gromacs/gmxana/gmx_ana.h"
#include "gromacs/legacyheaders/disre.h"
-#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/fileio/enxio.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/vec.h"
-#include "gmx_ana.h"
-#include "gromacs/fileio/trxio.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
#define TIME_EXPLICIT 0
#define TIME_CONTINUE 1
*/
#include "gmxpre.h"
-#include <string.h>
#include <math.h>
+#include <string.h>
-#include "gromacs/utility/cstringutil.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/fileio/enxio.h"
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/fileio/xvgr.h"
-#include "gstat.h"
-#include "gromacs/math/units.h"
+#include "gromacs/fileio/enxio.h"
#include "gromacs/fileio/matio.h"
#include "gromacs/fileio/strdb.h"
-#include "gmx_ana.h"
#include "gromacs/fileio/trxio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/utility/cstringutil.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
static int search_str2(int nstr, char **str, char *key)
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/cstringutil.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/fileio/enxio.h"
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/fileio/xvgr.h"
-#include "gstat.h"
-#include "gromacs/math/units.h"
+#include "gromacs/fileio/enxio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/mdebin.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
#include "gromacs/topology/mtop_util.h"
-#include "gmx_ana.h"
-#include "gromacs/legacyheaders/mdebin.h"
+#include "gromacs/utility/cstringutil.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
static real minthird = -1.0/3.0, minsixth = -1.0/6.0;
#include <string.h>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/topology/index.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "princ.h"
-#include "gromacs/pbcutil/rmpbc.h"
-#include "gmx_ana.h"
-
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/princ.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/do_fit.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/smalloc.h"
int gmx_filter(int argc, char *argv[])
{
#include <stdlib.h>
#include <string.h>
-#include "gromacs/utility/cstringutil.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/fileio/confio.h"
#include "gromacs/commandline/pargs.h"
-#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/fileio/confio.h"
+#include "gromacs/fileio/tpxio.h"
+#include "gromacs/gmxana/gmx_ana.h"
#include "gromacs/legacyheaders/force.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/math/utilities.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/fileio/tpxio.h"
#include "gromacs/legacyheaders/mdrun.h"
+#include "gromacs/math/utilities.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
#include "gromacs/random/random.h"
#include "gromacs/topology/index.h"
-#include "gmx_ana.h"
+#include "gromacs/utility/cstringutil.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static void insert_ion(int nsa, int *nwater,
gmx_bool bSet[], int repl[], atom_id index[],
#include <string.h>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/fileio/confio.h"
-#include "gromacs/utility/futil.h"
+#include "gromacs/gmxana/gmx_ana.h"
#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/vec.h"
#include "gromacs/topology/index.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
-#include "gmx_ana.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
int gmx_genpr(int argc, char *argv[])
{
#include <string.h>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/topology/index.h"
+#include "gromacs/fileio/tpxio.h"
+#include "gromacs/fileio/trxio.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/gmxana/princ.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/viewit.h"
-#include "princ.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/rmpbc.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/fileio/tpxio.h"
-#include "gromacs/fileio/trxio.h"
-#include "gstat.h"
-#include "gmx_ana.h"
-
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
real calc_gyro(rvec x[], int gnx, atom_id index[], t_atom atom[], real tm,
rvec gvec, rvec d, gmx_bool bQ, gmx_bool bRot, gmx_bool bMOI, matrix trans)
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "princ.h"
-#include "gromacs/pbcutil/rmpbc.h"
-#include "gromacs/math/vec.h"
+#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/trxio.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/princ.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/viewit.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/commandline/pargs.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/rmpbc.h"
#include "gromacs/topology/index.h"
-#include "gmx_ana.h"
-#include "gromacs/fileio/trxio.h"
-
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
/****************************************************************************/
/* This program calculates the ordering of water molecules across a box, as */
*/
#include "gmxpre.h"
+#include "config.h"
+
#include <math.h>
#include "gromacs/commandline/pargs.h"
#include "gromacs/utility/gmxomp.h"
#include "gromacs/utility/smalloc.h"
-#include "config.h"
-
/*#define HAVE_NN_LOOPS*/
typedef short int t_E;
#include <math.h>
#include <string.h>
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/confio.h"
-#include "fitahx.h"
-#include "gromacs/utility/futil.h"
-#include "gstat.h"
-#include "hxprops.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/utilities.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/utility/smalloc.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/fitahx.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/gmxana/hxprops.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/math/vec.h"
#include "gromacs/legacyheaders/viewit.h"
-#include "gmx_ana.h"
-
-#include "gromacs/commandline/pargs.h"
-#include "gromacs/fileio/xvgr.h"
+#include "gromacs/math/utilities.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/rmpbc.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
int gmx_helix(int argc, char *argv[])
{
#include <math.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/topology/index.h"
-#include "gstat.h"
-#include "gmx_ana.h"
-
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/trxio.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/do_fit.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gstat.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/fileio/tpxio.h"
-#include "gromacs/fileio/trxio.h"
-#include "binsearch.h"
-#include "powerspect.h"
-
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/matio.h"
+#include "gromacs/fileio/tpxio.h"
+#include "gromacs/fileio/trxio.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/binsearch.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/gmxana/powerspect.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
/* Print name of first atom in all groups in index file */
#include <string.h>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/fileio/enxio.h"
-#include "gstat.h"
+#include "gromacs/fileio/trxio.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/viewit.h"
-#include "gmx_ana.h"
-#include "gromacs/fileio/trxio.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
typedef struct {
int nlj, nqq;
*/
#include "gmxpre.h"
+#include <ctype.h>
#include <math.h>
#include <stdlib.h>
-#include <ctype.h>
#include <string.h>
-#include "gromacs/legacyheaders/readinp.h"
+
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/fileio/pdbio.h"
#include "gromacs/fileio/confio.h"
+#include "gromacs/fileio/pdbio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/eigio.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/readinp.h"
#include "gromacs/legacyheaders/txtdump.h"
-#include "eigio.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/vec.h"
#include "gromacs/topology/index.h"
#include "gromacs/utility/cstringutil.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
typedef struct
{
#include <ctype.h>
#include <string.h>
-#include "gromacs/utility/futil.h"
-#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/confio.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/topology/index.h"
#include "gromacs/math/vec.h"
-
-#include "gromacs/commandline/pargs.h"
#include "gromacs/topology/block.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
/* It's not nice to have size limits, but we should not spend more time
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/fileio/filenm.h"
#include "gromacs/commandline/pargs.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/utility/smalloc.h"
+#include "gromacs/fileio/filenm.h"
#include "gromacs/fileio/matio.h"
-#include "gromacs/fileio/xvgr.h"
-#include "gromacs/topology/index.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
-#include "gmx_ana.h"
+#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
#define FARAWAY 10000
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/fileio/xvgr.h"
-#include "gromacs/legacyheaders/viewit.h"
-#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/utility/futil.h"
#include "gromacs/commandline/pargs.h"
-#include "gromacs/topology/index.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/pbcutil/rmpbc.h"
-#include "gmx_ana.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static void periodic_dist(int ePBC,
#include "gmxpre.h"
#include <math.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
+
#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/trxio.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/futil.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/utility/fatalerror.h"
-#include "gromacs/fileio/trxio.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static int calc_ntype(int nft, int *ft, t_idef *idef)
{
*/
#include "gmxpre.h"
-#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/confio.h"
-#include "gromacs/legacyheaders/viewit.h"
-#include "gromacs/topology/index.h"
-#include "gmx_ana.h"
#include "gromacs/fileio/trxio.h"
-
-#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/viewit.h"
#include "gromacs/math/do_fit.h"
#include "gromacs/topology/atoms.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include <math.h>
#include <string.h>
+#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/confio.h"
+#include "gromacs/fileio/tpxio.h"
+#include "gromacs/fileio/trxio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/utilities.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/topology/index.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/viewit.h"
-#include "gstat.h"
-#include "gromacs/statistics/statistics.h"
-#include "gromacs/fileio/tpxio.h"
-#include "gromacs/fileio/trxio.h"
+#include "gromacs/math/utilities.h"
#include "gromacs/math/vec.h"
-#include "gromacs/fileio/confio.h"
-#include "gmx_ana.h"
-
-#include "gromacs/commandline/pargs.h"
-#include "gromacs/fileio/xvgr.h"
#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/statistics/statistics.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
#define FACTOR 1000.0 /* Convert nm^2/ps to 10e-5 cm^2/s */
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/utility/futil.h"
-#include "gstat.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "eigio.h"
-#include "gromacs/topology/mtop_util.h"
-#include "gromacs/math/units.h"
-#include "gmx_ana.h"
-
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/mtxio.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/eigio.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/linearalgebra/eigensolver.h"
#include "gromacs/linearalgebra/sparsematrix.h"
+#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
+#include "gromacs/topology/mtop_util.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
static double cv_corr(double nu, double T)
#include <string.h>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/topology/index.h"
#include "gromacs/fileio/pdbio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
+#include "gromacs/gmxana/eigio.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
#include "gromacs/random/random.h"
-#include "eigio.h"
-#include "gmx_ana.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
int gmx_nmens(int argc, char *argv[])
#include <string.h>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/futil.h"
#include "gromacs/fileio/pdbio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
+#include "gromacs/gmxana/eigio.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/units.h"
-#include "eigio.h"
-#include "gmx_ana.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
int gmx_nmtraj(int argc, char *argv[])
*/
#include "gmxpre.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
#include "gromacs/commandline/pargs.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
/*
* This program is needed to create the files:
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gstat.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/viewit.h"
-#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/topology/index.h"
+#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/confio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/fileio/confio.h"
-#include "cmat.h"
-#include "gmx_ana.h"
-
-#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/cmat.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
/****************************************************************************/
*/
#include "gmxpre.h"
+#include "config.h"
+
#include <algorithm>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/fileio/tpxio.h"
-#include "gromacs/legacyheaders/readinp.h"
+#include "gromacs/gmxana/gmx_ana.h"
#include "gromacs/legacyheaders/calcgrid.h"
#include "gromacs/legacyheaders/checkpoint.h"
-#include "gmx_ana.h"
-#include "gromacs/random/random.h"
-#include "gromacs/math/units.h"
-#include "gromacs/legacyheaders/mdatoms.h"
+#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/legacyheaders/coulomb.h"
-#include "gromacs/topology/mtop_util.h"
-#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/main.h"
#include "gromacs/legacyheaders/macros.h"
-
+#include "gromacs/legacyheaders/main.h"
+#include "gromacs/legacyheaders/mdatoms.h"
+#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/readinp.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/random/random.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/fatalerror.h"
-
-#include "config.h"
+#include "gromacs/utility/smalloc.h"
/* We use the same defines as in mvdata.c here */
#define block_bc(cr, d) gmx_bcast( sizeof(d), &(d), (cr))
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/utility/futil.h"
#include "gromacs/commandline/pargs.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/fileio/xvgr.h"
-#include "gromacs/legacyheaders/viewit.h"
-#include "gromacs/pbcutil/rmpbc.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gmx_ana.h"
-
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/viewit.h"
#include "gromacs/linearalgebra/nrjac.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static void gyro_eigen(double **gyr, double *eig, double **eigv, int *ord)
{
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "princ.h"
-#include "gromacs/pbcutil/rmpbc.h"
-#include "gromacs/math/vec.h"
+#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/trxio.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/princ.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/viewit.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/commandline/pargs.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/rmpbc.h"
#include "gromacs/topology/index.h"
-#include "gmx_ana.h"
#include "gromacs/utility/cstringutil.h"
-#include "gromacs/fileio/trxio.h"
-
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
#define EPS0 8.85419E-12
#define ELC 1.60219E-19
#include <string.h>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/topology/index.h"
-#include "princ.h"
-#include "gromacs/pbcutil/rmpbc.h"
-#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
#include "gromacs/fileio/xvgr.h"
-#include "gstat.h"
-#include "gmx_ana.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/gmxana/princ.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
void
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/nrama.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/viewit.h"
#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
#include "gromacs/utility/futil.h"
-#include "gromacs/commandline/pargs.h"
-#include "nrama.h"
-#include "gmx_ana.h"
+#include "gromacs/utility/smalloc.h"
static void plot_rama(FILE *out, t_xrama *xr)
#include <math.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/legacyheaders/viewit.h"
-#include "gromacs/utility/futil.h"
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/coulomb.h"
-#include "gstat.h"
-#include "gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
-
-#include "gromacs/commandline/pargs.h"
-#include "gromacs/fileio/xvgr.h"
+#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
static void check_box_c(matrix box)
#include <math.h>
#include <stdlib.h>
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/fileio/xvgr.h"
-#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/commandline/pargs.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/utility/futil.h"
-#include "princ.h"
-#include "gromacs/pbcutil/rmpbc.h"
#include "gromacs/fileio/matio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "cmat.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/cmat.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/princ.h"
+#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/viewit.h"
-#include "gmx_ana.h"
-
#include "gromacs/math/do_fit.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static void norm_princ(t_atoms *atoms, int isize, atom_id *index, int natoms,
rvec *x)
#include <math.h>
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/names.h"
#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/matio.h"
+#include "gromacs/fileio/strdb.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/fileio/strdb.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/pbcutil/pbc.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/futil.h"
-#include "gromacs/fileio/matio.h"
-#include "gmx_ana.h"
+#include "gromacs/utility/smalloc.h"
static void calc_dist(int nind, atom_id index[], rvec x[], int ePBC, matrix box,
#include <math.h>
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/fileio/xvgr.h"
-#include "gromacs/legacyheaders/viewit.h"
#include "gromacs/commandline/pargs.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/topology/index.h"
+#include "gromacs/fileio/confio.h"
#include "gromacs/fileio/pdbio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/utility/futil.h"
-#include "princ.h"
-#include "gromacs/pbcutil/rmpbc.h"
-#include "gromacs/fileio/confio.h"
-#include "gmx_ana.h"
-
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/princ.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/viewit.h"
#include "gromacs/linearalgebra/eigensolver.h"
#include "gromacs/math/do_fit.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static real find_pdb_bfac(t_atoms *atoms, t_resinfo *ri, char *atomnm)
{
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/topology/index.h"
+#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/trxio.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gstat.h"
-#include "gromacs/math/vec.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/viewit.h"
-#include "gmx_ana.h"
-#include "gromacs/fileio/trxio.h"
-
-#include "gromacs/commandline/pargs.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
int gmx_rotacf(int argc, char *argv[])
#include <string.h>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/fileio/xvgr.h"
-#include "gromacs/legacyheaders/viewit.h"
-#include "gromacs/pbcutil/rmpbc.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gmx_ana.h"
-
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/viewit.h"
#include "gromacs/math/do_fit.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static void get_refx(output_env_t oenv, const char *trxfn, int nfitdim, int skip,
int gnx, int *index,
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/filenm.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/commandline/pargs.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/pbcutil/pbc.h"
#include "gromacs/fileio/xvgr.h"
-#include "gmx_ana.h"
-
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
typedef struct {
char *label;
#include "config.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/topology/index.h"
-#include "gstat.h"
-#include "gmx_ana.h"
-#include "nsfactor.h"
-
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/gmxana/nsfactor.h"
+#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/futil.h"
#include "gromacs/utility/gmxomp.h"
#include <math.h>
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/copyrite.h"
-#include "gmx_ana.h"
-#include "sfactor.h"
-
#include "gromacs/commandline/pargs.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/sfactor.h"
+#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/utility/smalloc.h"
int gmx_saxs(int argc, char *argv[])
#include <string.h>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
+#include "gromacs/fileio/matio.h"
+#include "gromacs/fileio/pdbio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/futil.h"
#include "gromacs/legacyheaders/readinp.h"
#include "gromacs/legacyheaders/txtdump.h"
-#include "gstat.h"
-#include "gromacs/fileio/xvgr.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/units.h"
-#include "gromacs/fileio/pdbio.h"
-#include "gromacs/fileio/matio.h"
-#include "gmx_ana.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static int index2(int *ibox, int x, int y)
#include <math.h>
#include <stdio.h>
-#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/commandline/pargs.h"
-#include "gromacs/fileio/xvgr.h"
-#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/fileio/confio.h"
#include "gromacs/fileio/pdbio.h"
+#include "gromacs/fileio/trnio.h"
+#include "gromacs/fileio/xvgr.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/math/units.h"
#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/fileio/trnio.h"
-#include "gromacs/fileio/confio.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/utility/smalloc.h"
real pot(real x, real qq, real c6, real cn, int npow)
{
*/
#include "gmxpre.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gstat.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/viewit.h"
-#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/topology/index.h"
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gmx_ana.h"
-
-#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include <stdlib.h>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/math/vec.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/topology/index.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/pbcutil/rmpbc.h"
-#include "gmx_ana.h"
-#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/smalloc.h"
static const double bohr = 0.529177249; /* conversion factor to compensate for VMD plugin conversion... */
*/
#include "gmxpre.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gstat.h"
-#include "gromacs/legacyheaders/viewit.h"
-#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/topology/index.h"
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/math/units.h"
-#include "gmx_ana.h"
-
-#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include <stdio.h>
#include <string.h>
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/confio.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/utility/futil.h"
-#include "gstat.h"
+#include "gromacs/fileio/trxio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/utilities.h"
-#include "gromacs/math/units.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/commandline/pargs.h"
#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/fileio/xvgr.h"
#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/utilities.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
-#include "gmx_ana.h"
-#include "gromacs/fileio/trxio.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
#define NK 24
#include <string.h>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/fileio/xvgr.h"
-#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/fileio/confio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/pbcutil/rmpbc.h"
-#include "gromacs/math/units.h"
-#include "gromacs/fileio/confio.h"
-#include "gmx_ana.h"
-
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/viewit.h"
#include "gromacs/linearalgebra/nrjac.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static void low_print_data(FILE *fp, real time, rvec x[], int n, atom_id *index,
gmx_bool bDim[], const char *sffmt)
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/confio.h"
#include "gromacs/fileio/gmxfio.h"
-#include "gromacs/fileio/tpxio.h"
-#include "gromacs/fileio/trxio.h"
-#include "gromacs/fileio/trnio.h"
+#include "gromacs/fileio/pdbio.h"
#include "gromacs/fileio/tngio.h"
#include "gromacs/fileio/tngio_for_tools.h"
-#include "gromacs/commandline/pargs.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/fileio/pdbio.h"
-#include "gromacs/fileio/confio.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/math/vec.h"
+#include "gromacs/fileio/tpxio.h"
+#include "gromacs/fileio/trnio.h"
+#include "gromacs/fileio/trxio.h"
#include "gromacs/fileio/xtcio.h"
#include "gromacs/fileio/xvgr.h"
-#include "gmx_ana.h"
-
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
#define TIME_EXPLICIT 0
#define TIME_CONTINUE 1
*/
#include "gmxpre.h"
+#include "config.h"
+
#include <math.h>
#include <stdlib.h>
#include <string.h>
-#include "config.h"
-
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <string.h>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
+#include "gromacs/fileio/tpxio.h"
+#include "gromacs/fileio/trxio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/fileio/xvgr.h"
-
#include "gromacs/pbcutil/rmpbc.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/fileio/tpxio.h"
-#include "gromacs/fileio/trxio.h"
-#include "gmx_ana.h"
-
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
typedef struct {
atom_id i;
*/
#include "gmxpre.h"
+#include "config.h"
+
#include <stdlib.h>
#include <time.h>
-#include "config.h"
-
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#include <stdlib.h>
#include <string.h>
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
#include "gromacs/commandline/pargs.h"
-#include "gromacs/math/utilities.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/fileio/xvgr.h"
-#include "gromacs/legacyheaders/viewit.h"
-#include "gstat.h"
+#include "gromacs/fileio/matio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/math/utilities.h"
#include "gromacs/math/vec.h"
-#include "gromacs/fileio/matio.h"
-#include "gmx_ana.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
int gmx_vanhove(int argc, char *argv[])
#include <stdio.h>
#include <string.h>
+#include "gromacs/commandline/pargs.h"
+#include "gromacs/fft/fft.h"
#include "gromacs/fileio/confio.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/utility/futil.h"
-#include "gstat.h"
+#include "gromacs/fileio/trxio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/utilities.h"
-#include "gromacs/math/units.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/commandline/pargs.h"
#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/fileio/xvgr.h"
#include "gromacs/legacyheaders/viewit.h"
-#include "gmx_ana.h"
-#include "gromacs/fft/fft.h"
-#include "gromacs/fileio/trxio.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/utilities.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static void index_atom2mol(int *n, atom_id *index, t_block *mols)
{
#include <sstream>
#include "gromacs/commandline/pargs.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/fileio/tpxio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/vec.h"
#include "gromacs/random/random.h"
-#include "gmx_ana.h"
-#include "gromacs/legacyheaders/macros.h"
#include "gromacs/utility/cstringutil.h"
-#include "gromacs/fileio/xvgr.h"
-
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
//! longest file names allowed in input files
#define WHAM_MAXFILELEN 2048
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
+#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/strdb.h"
+#include "gromacs/fileio/writeps.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/vec.h"
-#include "gstat.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gmx_ana.h"
-
-#include "gromacs/commandline/pargs.h"
#include "gromacs/utility/cstringutil.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/futil.h"
-#include "gromacs/fileio/strdb.h"
-#include "gromacs/fileio/writeps.h"
+#include "gromacs/utility/smalloc.h"
static gmx_bool *bPhobics(int nres, char *resnm[])
{
*/
#include "gmxpre.h"
+#include <math.h>
#include <stdio.h>
#include <stdlib.h>
-#include <math.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/viewit.h"
-#include "gmx_ana.h"
#include "gromacs/commandline/pargs.h"
-#include "gromacs/utility/futil.h"
#include "gromacs/fileio/matio.h"
#include "gromacs/fileio/trxio.h"
#include "gromacs/fileio/writeps.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
#define FUDGE 1.2
#define DDD 2
#ifndef GMX_GMXANA_GSTAT_H
#define GMX_GMXANA_GSTAT_H
-#include "../legacyheaders/typedefs.h"
-#include "../legacyheaders/oenv.h"
-#include "../commandline/pargs.h"
-#include "../topology/index.h"
+#include "gromacs/commandline/pargs.h"
+#include "gromacs/legacyheaders/oenv.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/topology/index.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
+#include "hxprops.h"
+
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/bonded/bonded.h"
#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
#include "gromacs/topology/index.h"
-#include "hxprops.h"
-#include "gromacs/utility/smalloc.h"
-
-#include "gromacs/bonded/bonded.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
real ellipticity(int nres, t_bb bb[])
{
#define _hxprops_h
#include <stdio.h>
+
#include "gromacs/legacyheaders/typedefs.h"
#define PHI_AHX (-55.0)
#include "gmxpre.h"
+#include "config.h"
+
#include "gromacs/gmxana/gmx_ana.h"
-#include "testutils/integrationtests.h"
-#include "testutils/cmdlinetest.h"
#include "gromacs/utility/arrayref.h"
-#include "config.h"
+#include "testutils/cmdlinetest.h"
+#include "testutils/integrationtests.h"
namespace
{
*/
#include "gmxpre.h"
+#include "nrama.h"
+
#include <math.h>
#include <stdlib.h>
-#include "nrama.h"
-
#include "gromacs/bonded/bonded.h"
-#include "gromacs/utility/futil.h"
+#include "gromacs/pbcutil/rmpbc.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
-#include "gromacs/pbcutil/rmpbc.h"
static const char *pp_pat[] = { "C", "N", "CA", "C", "N" };
#define NPP (sizeof(pp_pat)/sizeof(pp_pat[0]))
#ifndef GMX_GMXANA_NRAMA_H
#define GMX_GMXANA_NRAMA_H
-#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/fileio/trxio.h"
#include "gromacs/legacyheaders/oenv.h"
-#include "../fileio/trxio.h"
+#include "gromacs/legacyheaders/typedefs.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
-#include <stdio.h>
#include <math.h>
+#include <stdio.h>
+
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/utility/fatalerror.h"
-#include "gstat.h"
real LegendreP(real x, unsigned long m)
#include "gmxpre.h"
-#include "gromacs/utility/smalloc.h"
+#include "powerspect.h"
+
#include "gromacs/fft/fft.h"
+#include "gromacs/gmxana/interf.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/futil.h"
-#include "interf.h"
-#include "powerspect.h"
+#include "gromacs/utility/smalloc.h"
void addtoavgenergy(t_complex *list, real *result, int size, int tsteps)
{
#ifndef _powerspect_h
#define _powerspect_h
+#include "gromacs/gmxana/interf.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "interf.h"
#ifdef __cplusplus
extern "C"
*/
#include "gmxpre.h"
-#include <stdlib.h>
#include <math.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/units.h"
-#include "gromacs/utility/smalloc.h"
-#include "gstat.h"
+#include <stdlib.h>
+
#include "gromacs/fileio/matio.h"
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/units.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
typedef struct {
int nx, ny;
/* This file is completely threadsafe - keep it that way! */
#include "gmxpre.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/txtdump.h"
#include "princ.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/linearalgebra/nrjac.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/utility/smalloc.h"
static void m_op(matrix mat, rvec x)
{
*/
#include "gmxpre.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/math/utilities.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/topology/index.h"
+#include "sfactor.h"
+
+#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/strdb.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/oenv.h"
-#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
-#include "sfactor.h"
+#include "gromacs/legacyheaders/oenv.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/utilities.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
typedef struct gmx_structurefactors {
#ifndef _sfactor_h
#define _sfactor_h
-#include "gromacs/legacyheaders/types/simple.h"
-#include "../math/gmxcomplex.h"
#include "gromacs/legacyheaders/oenv.h"
+#include "gromacs/legacyheaders/types/simple.h"
+#include "gromacs/math/gmxcomplex.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
+#include "gromacs/legacyheaders/calcgrid.h"
+
#include <math.h>
#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/calcgrid.h"
+#include "gromacs/utility/smalloc.h"
/* The grid sizes below are based on timing of a 3D cubic grid in fftw
* compiled with SSE using 4 threads in fft5d.c.
*/
#include "gmxpre.h"
+#include "gromacs/legacyheaders/chargegroup.h"
+
#include <math.h>
+
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/chargegroup.h"
+#include "gromacs/utility/smalloc.h"
void calc_chargegroup_radii(const gmx_mtop_t *mtop, rvec *x,
#include "gromacs/legacyheaders/checkpoint.h"
+#include "config.h"
+
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
-#include "config.h"
-
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#include "conformation-utilities.h"
#include <math.h>
+
#include "gromacs/legacyheaders/macros.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
#ifndef GMX_CONFORMATION_UTILITIES_H
#define GMX_CONFORMATION_UTILITIES_H
-#include "../math/vectypes.h"
-#include "../utility/basedefinitions.h"
-#include "../utility/real.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
#include "gromacs/legacyheaders/copyrite.h"
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
-#include "config.h"
-
#ifdef HAVE_LIBMKL
#include <mkl.h>
#endif
#include "gmxpre.h"
#include <stdio.h>
+
#include <cuda.h>
#include <cuda_runtime_api.h>
#include "gmxpre.h"
+#include "cudautils.cuh"
+
#include <stdlib.h>
-#include "gromacs/utility/smalloc.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "cudautils.cuh"
+#include "gromacs/utility/smalloc.h"
/*** Generic CUDA data operation wrappers ***/
#include "gmxpre.h"
-#include <stdlib.h>
-
-#include "cudautils.cuh"
#include "gromacs/legacyheaders/pmalloc_cuda.h"
+#include <stdlib.h>
+
+#include "gromacs/gmxlib/cuda_tools/cudautils.cuh"
#include "gromacs/utility/cstringutil.h"
/*! Allocates nbytes of page-locked memory.
/* This file is completely threadsafe - keep it that way! */
#include "gmxpre.h"
+#include "gromacs/legacyheaders/disre.h"
+
#include "config.h"
#include <math.h>
#include <stdlib.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/futil.h"
#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/legacyheaders/disre.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/main.h"
-#include "gromacs/topology/mtop_util.h"
-
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/pbcutil/mshift.h"
#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
void init_disres(FILE *fplog, const gmx_mtop_t *mtop,
*/
#include "gmxpre.h"
-#include <stdio.h>
#include <math.h>
-#include "gromacs/math/utilities.h"
+#include <stdio.h>
+
+#include "gromacs/legacyheaders/coulomb.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/coulomb.h"
-#include "gromacs/utility/smalloc.h"
#include "gromacs/math/units.h"
-#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/math/utilities.h"
+#include "gromacs/math/vec.h"
#include "gromacs/utility/futil.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/utility/smalloc.h"
real calc_ewaldcoeff_q(real rc, real dtol)
{
# include <sched.h>
#endif
+#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <ctype.h>
#ifdef GMX_NATIVE_WINDOWS
/* MSVC definition for __cpuid() */
#ifdef _MSC_VER
#include "gromacs/legacyheaders/gmx_detect_hardware.h"
+#include "config.h"
+
#include <assert.h>
#include <errno.h>
#include <stdlib.h>
#include <string>
#include <vector>
-#include "config.h"
-
#ifdef HAVE_UNISTD_H
/* For sysconf */
#include <unistd.h>
#include "gmxpre.h"
+#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
+
+#include "config.h"
+
+#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <assert.h>
-
-#include "config.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/network.h"
#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/md_logging.h"
-
+#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/gmxomp.h"
#include "gmxpre.h"
+#include "gromacs/legacyheaders/gpu_utils.h"
+
+#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
-#include <assert.h>
+#include "gromacs/gmxlib/cuda_tools/cudautils.cuh"
#include "gromacs/legacyheaders/types/hw_info.h"
-
-#include "gromacs/legacyheaders/gpu_utils.h"
-#include "../cuda_tools/cudautils.cuh"
-
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/smalloc.h"
#include "gmxpre.h"
#include "gromacs/bonded/bonded.h"
-#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/disre.h"
-#include "gromacs/legacyheaders/orires.h"
#include "gromacs/legacyheaders/genborn.h"
+#include "gromacs/legacyheaders/orires.h"
+#include "gromacs/legacyheaders/typedefs.h"
#define def_bonded(str, lstr, nra, nrpa, nrpb, ind, func) \
{str, lstr, (nra), (nrpa), (nrpb), IF_BOND, (ind), (func)}
*/
#include "gmxpre.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/inputrec.h"
+
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/legacyheaders/main.h"
+#include "config.h"
+
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
-#include "config.h"
-
#ifdef GMX_NATIVE_WINDOWS
#include <process.h>
#endif
*/
#include "gmxpre.h"
-#include <stdio.h>
+#include "gromacs/legacyheaders/md_logging.h"
+
#include <stdarg.h>
+#include <stdio.h>
+
#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/md_logging.h"
void md_print_info(const t_commrec *cr, FILE *fplog,
/* This file is completely threadsafe - keep it that way! */
#include "gmxpre.h"
+#include "gromacs/legacyheaders/mvdata.h"
+
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/main.h"
-#include "gromacs/legacyheaders/mvdata.h"
-#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/legacyheaders/network.h"
-#include "gromacs/math/vec.h"
#include "gromacs/legacyheaders/tgroup.h"
-
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/math/vec.h"
#include "gromacs/topology/symtab.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
*/
#include "gmxpre.h"
-#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/typedefs.h"
+
/* note: these arrays should correspond to enums in include/types/enums.h */
const char *epbc_names[epbcNR+1] =
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/legacyheaders/macros.h"
-
+#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/utility/basenetwork.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
*/
#include "gmxpre.h"
+#include "nb_free_energy.h"
+
#include <math.h>
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/nonbonded.h"
-#include "nb_kernel.h"
#include "gromacs/legacyheaders/nrnb.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "nb_free_energy.h"
-
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/vec.h"
#include "gromacs/utility/fatalerror.h"
void
#ifndef _nb_free_energy_h_
#define _nb_free_energy_h_
-#include "nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
#include "gromacs/legacyheaders/typedefs.h"
void
*/
#include "gmxpre.h"
+#include "nb_generic.h"
+
#include <math.h>
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
+#include "gromacs/legacyheaders/nonbonded.h"
+#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "nb_generic.h"
-#include "gromacs/legacyheaders/nrnb.h"
-
#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/nonbonded.h"
-#include "nb_kernel.h"
-
void
gmx_nb_generic_kernel(t_nblist * nlist,
rvec * xx,
#ifndef _nb_generic_h_
#define _nb_generic_h_
-#include "nb_kernel.h"
-#include "gromacs/legacyheaders/types/simple.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/simple.h"
void
gmx_nb_generic_kernel(t_nblist * nlist,
*/
#include "gmxpre.h"
+#include "nb_generic_adress.h"
+
#include <math.h>
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
+#include "gromacs/legacyheaders/nonbonded.h"
+#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "nb_generic_adress.h"
-#include "gromacs/legacyheaders/nrnb.h"
-
#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/nonbonded.h"
-#include "nb_kernel.h"
-
#define ALMOST_ZERO 1e-30
#define ALMOST_ONE 1-(1e-30)
void
#ifndef _nb_generic_adress_h_
#define _nb_generic_adress_h_
-#include "nb_kernel.h"
-#include "gromacs/legacyheaders/types/simple.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/simple.h"
void
gmx_nb_generic_adress_kernel(t_nblist * nlist,
*/
#include "gmxpre.h"
+#include "nb_generic_cg.h"
+
#include <math.h>
-#include "gromacs/legacyheaders/types/simple.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "nb_generic_cg.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
#include "gromacs/legacyheaders/nonbonded.h"
-#include "nb_kernel.h"
#include "gromacs/legacyheaders/nrnb.h"
-
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/simple.h"
+#include "gromacs/math/vec.h"
#include "gromacs/utility/fatalerror.h"
void
#ifndef _nb_generic_cg_h_
#define _nb_generic_cg_h_
-#include "gromacs/legacyheaders/types/simple.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/simple.h"
void
gmx_nb_generic_cg_kernel(t_nblist * nlist,
*/
#include "gmxpre.h"
+#include "nb_kernel.h"
+
#include <stdio.h>
#include <string.h>
-#include "nb_kernel.h"
-#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
/* Static data structures to find kernels */
#endif
-#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/simple.h"
/* Structure to collect kernel data not available in forcerec or mdatoms structures.
* This is only used inside the nonbonded module.
#define _kernelutil_x86_avx_128_fma_double_h_
#include <math.h>
+
#include <immintrin.h>
#ifdef _MSC_VER
# include <intrin.h>
*/
#include "gmxpre.h"
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_VF_avx_128_fma_double;
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_F_avx_128_fma_double;
/*
* 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.
#ifndef nb_kernel_avx_128_fma_double_h
#define nb_kernel_avx_128_fma_double_h
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
/* List of kernels for this architecture with metadata about them */
#include "config.h"
#include <math.h>
+
#include <immintrin.h>
#ifdef _MSC_VER
# include <intrin.h>
*/
#include "gmxpre.h"
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_VF_avx_128_fma_single;
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_F_avx_128_fma_single;
/*
* 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.
#ifndef nb_kernel_avx_128_fma_single_h
#define nb_kernel_avx_128_fma_single_h
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
/* List of kernels for this architecture with metadata about them */
*/
#include "gmxpre.h"
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_VF_avx_256_double;
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_F_avx_256_double;
/*
* 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.
#ifndef nb_kernel_avx_256_double_h
#define nb_kernel_avx_256_double_h
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
/* List of kernels for this architecture with metadata about them */
*/
#include "gmxpre.h"
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_VF_avx_256_single;
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_F_avx_256_single;
/*
* 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.
#ifndef nb_kernel_avx_256_single_h
#define nb_kernel_avx_256_single_h
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
/* List of kernels for this architecture with metadata about them */
*/
#include "gmxpre.h"
+#include "nb_kernel_allvsall.h"
+
#include "config.h"
#include <math.h>
+#include "gromacs/legacyheaders/nrnb.h"
#include "gromacs/legacyheaders/types/simple.h"
-
#include "gromacs/math/vec.h"
#include "gromacs/utility/smalloc.h"
-#include "nb_kernel_allvsall.h"
-#include "gromacs/legacyheaders/nrnb.h"
-
typedef struct
{
real ** pvdwparam;
#include "config.h"
-#include "gromacs/legacyheaders/types/simple.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "../nb_kernel.h"
+#include "gromacs/legacyheaders/types/simple.h"
void
nb_kernel_allvsall(t_nblist * nlist,
*/
#include "gmxpre.h"
+#include "nb_kernel_allvsallgb.h"
+
#include "config.h"
#include <math.h>
+#include "gromacs/legacyheaders/nrnb.h"
#include "gromacs/legacyheaders/types/simple.h"
-
#include "gromacs/math/vec.h"
#include "gromacs/utility/smalloc.h"
-#include "nb_kernel_allvsallgb.h"
-#include "gromacs/legacyheaders/nrnb.h"
-
typedef struct
{
real ** pvdwparam;
#include "config.h"
-#include "gromacs/legacyheaders/types/simple.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "../nb_kernel.h"
+#include "gromacs/legacyheaders/types/simple.h"
void
nb_kernel_allvsallgb(t_nblist * nlist,
*/
#include "gmxpre.h"
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_VF_c;
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_F_c;
/*
* 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.
#ifndef nb_kernel_c_h
#define nb_kernel_c_h
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
/* List of kernels for this architecture with metadata about them */
*/
#include "gmxpre.h"
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_VF_sparc64_hpc_ace_double;
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_F_sparc64_hpc_ace_double;
/*
* 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.
#ifndef nb_kernel_sparc64_hpc_ace_double_h
#define nb_kernel_sparc64_hpc_ace_double_h
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
/* List of kernels for this architecture with metadata about them */
#ifndef _kernelutil_x86_sse2_double_h_
#define _kernelutil_x86_sse2_double_h_
+#include "config.h"
+
#include <math.h>
#include <stdio.h>
-#include "config.h"
-
/* Normal sum of four ymm registers */
#define gmx_mm_sum4_pd(t0, t1, t2, t3) _mm_add_pd(_mm_add_pd(t0, t1), _mm_add_pd(t2, t3))
*/
#include "gmxpre.h"
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_VF_sse2_double;
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_F_sse2_double;
/*
* 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.
#ifndef nb_kernel_sse2_double_h
#define nb_kernel_sse2_double_h
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
/* List of kernels for this architecture with metadata about them */
/* We require SSE2 now! */
-#include <math.h>
-
#include "config.h"
+#include <math.h>
+
#define gmx_mm_castsi128_ps _mm_castsi128_ps
#define gmx_mm_extract_epi32(x, imm) _mm_cvtsi128_si32(_mm_srli_si128((x), 4 * (imm)))
*/
#include "gmxpre.h"
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_VF_sse2_single;
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_F_sse2_single;
/*
* 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.
#ifndef nb_kernel_sse2_single_h
#define nb_kernel_sse2_single_h
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
/* List of kernels for this architecture with metadata about them */
#ifndef _kernelutil_x86_sse4_1_double_h_
#define _kernelutil_x86_sse4_1_double_h_
+#include "config.h"
+
#include <math.h>
#include <stdio.h>
-#include "config.h"
-
#define gmx_mm_extract_epi32(x, imm) _mm_extract_epi32((x), (imm))
#define gmx_mm_castsi128_pd(a) _mm_castsi128_pd(a)
*/
#include "gmxpre.h"
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_VF_sse4_1_double;
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_F_sse4_1_double;
/*
* 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.
#ifndef nb_kernel_sse4_1_double_h
#define nb_kernel_sse4_1_double_h
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
/* List of kernels for this architecture with metadata about them */
#ifndef _kernelutil_x86_sse4_1_single_h_
#define _kernelutil_x86_sse4_1_single_h_
-#include <math.h>
-
#include "config.h"
+#include <math.h>
+
#undef gmx_restrict
#define gmx_restrict
*/
#include "gmxpre.h"
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_VF_sse4_1_single;
nb_kernel_t nb_kernel_ElecNone_VdwLJEw_GeomP1P1_F_sse4_1_single;
/*
* 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.
#ifndef nb_kernel_sse4_1_single_h
#define nb_kernel_sse4_1_single_h
-#include "../nb_kernel.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
/* List of kernels for this architecture with metadata about them */
*/
#include "gmxpre.h"
+#include "gromacs/legacyheaders/nonbonded.h"
+
#include "config.h"
#include <stdio.h>
#include "thread_mpi/threads.h"
#include "gromacs/bonded/bonded.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/legacyheaders/ns.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/math/utilities.h"
-#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/gmxlib/nonbonded/nb_free_energy.h"
+#include "gromacs/gmxlib/nonbonded/nb_generic.h"
+#include "gromacs/gmxlib/nonbonded/nb_generic_adress.h"
+#include "gromacs/gmxlib/nonbonded/nb_generic_cg.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel.h"
#include "gromacs/legacyheaders/force.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
-#include "gromacs/legacyheaders/force.h"
#include "gromacs/legacyheaders/nrnb.h"
-#include "gromacs/legacyheaders/nonbonded.h"
-#include "gromacs/simd/simd.h"
-
+#include "gromacs/legacyheaders/ns.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/utilities.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/pbcutil/mshift.h"
#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/simd/simd.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
-#include "nb_kernel.h"
-#include "nb_free_energy.h"
-#include "nb_generic.h"
-#include "nb_generic_cg.h"
-#include "nb_generic_adress.h"
-
/* Different default (c) and SIMD instructions interaction-specific kernels */
-#include "nb_kernel_c/nb_kernel_c.h"
+#include "gromacs/gmxlib/nonbonded/nb_kernel_c/nb_kernel_c.h"
#if (defined GMX_SIMD_X86_SSE2) && !(defined GMX_DOUBLE)
-# include "nb_kernel_sse2_single/nb_kernel_sse2_single.h"
+# include "gromacs/gmxlib/nonbonded/nb_kernel_sse2_single/nb_kernel_sse2_single.h"
#endif
#if (defined GMX_SIMD_X86_SSE4_1) && !(defined GMX_DOUBLE)
-# include "nb_kernel_sse4_1_single/nb_kernel_sse4_1_single.h"
+# include "gromacs/gmxlib/nonbonded/nb_kernel_sse4_1_single/nb_kernel_sse4_1_single.h"
#endif
#if (defined GMX_SIMD_X86_AVX_128_FMA) && !(defined GMX_DOUBLE)
-# include "nb_kernel_avx_128_fma_single/nb_kernel_avx_128_fma_single.h"
+# include "gromacs/gmxlib/nonbonded/nb_kernel_avx_128_fma_single/nb_kernel_avx_128_fma_single.h"
#endif
#if (defined GMX_SIMD_X86_AVX_256_OR_HIGHER) && !(defined GMX_DOUBLE)
-# include "nb_kernel_avx_256_single/nb_kernel_avx_256_single.h"
+# include "gromacs/gmxlib/nonbonded/nb_kernel_avx_256_single/nb_kernel_avx_256_single.h"
#endif
#if (defined GMX_SIMD_X86_SSE2 && defined GMX_DOUBLE)
-# include "nb_kernel_sse2_double/nb_kernel_sse2_double.h"
+# include "gromacs/gmxlib/nonbonded/nb_kernel_sse2_double/nb_kernel_sse2_double.h"
#endif
#if (defined GMX_SIMD_X86_SSE4_1 && defined GMX_DOUBLE)
-# include "nb_kernel_sse4_1_double/nb_kernel_sse4_1_double.h"
+# include "gromacs/gmxlib/nonbonded/nb_kernel_sse4_1_double/nb_kernel_sse4_1_double.h"
#endif
#if (defined GMX_SIMD_X86_AVX_128_FMA && defined GMX_DOUBLE)
-# include "nb_kernel_avx_128_fma_double/nb_kernel_avx_128_fma_double.h"
+# include "gromacs/gmxlib/nonbonded/nb_kernel_avx_128_fma_double/nb_kernel_avx_128_fma_double.h"
#endif
#if (defined GMX_SIMD_X86_AVX_256_OR_HIGHER && defined GMX_DOUBLE)
-# include "nb_kernel_avx_256_double/nb_kernel_avx_256_double.h"
+# include "gromacs/gmxlib/nonbonded/nb_kernel_avx_256_double/nb_kernel_avx_256_double.h"
#endif
#if (defined GMX_SIMD_SPARC64_HPC_ACE && defined GMX_DOUBLE)
-# include "nb_kernel_sparc64_hpc_ace_double/nb_kernel_sparc64_hpc_ace_double.h"
+# include "gromacs/gmxlib/nonbonded/nb_kernel_sparc64_hpc_ace_double/nb_kernel_sparc64_hpc_ace_double.h"
#endif
*/
#include "gmxpre.h"
+#include "gromacs/legacyheaders/nrnb.h"
+
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/utility/smalloc.h"
typedef struct {
#include "gromacs/legacyheaders/oenv.h"
-#include "gromacs/utility/smalloc.h"
-
-#include "gromacs/utility/programcontext.h"
#include "gromacs/utility/exceptions.h"
+#include "gromacs/utility/programcontext.h"
+#include "gromacs/utility/smalloc.h"
struct output_env
{
*/
#include "gmxpre.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/network.h"
#include "gromacs/legacyheaders/orires.h"
-#include "gromacs/legacyheaders/main.h"
-#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/topology/mtop_util.h"
+#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/main.h"
+#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/linearalgebra/nrjac.h"
#include "gromacs/math/do_fit.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/pbcutil/mshift.h"
+#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
/* This file is completely threadsafe - keep it that way! */
#include "gmxpre.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/network.h"
#include "gromacs/legacyheaders/rbin.h"
+
+#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/utility/smalloc.h"
t_bin *mk_bin(void)
*/
#include "gmxpre.h"
+#include "gromacs/legacyheaders/readinp.h"
+
#include <stdio.h>
#include <stdlib.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/cstringutil.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/readinp.h"
-#include "gromacs/legacyheaders/macros.h"
+
#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/warninp.h"
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
t_inpfile *read_inpfile(const char *fn, int *ninp,
warninp_t wi)
*/
#include "gmxpre.h"
+#include "gromacs/legacyheaders/sighandler.h"
+
#include "config.h"
#include <stdlib.h>
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/sighandler.h"
const char *gmx_stop_cond_name[] =
{
#include <string.h>
#include "gromacs/legacyheaders/macros.h"
-
#include "gromacs/pbcutil/mshift.h"
#include "gromacs/topology/block.h"
#include "gromacs/topology/idef.h"
/* This file is completely threadsafe - please keep it that way! */
+#include "gromacs/legacyheaders/txtdump.h"
+
#include <stdio.h>
#include <stdlib.h>
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/macros.h"
-
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/oenv.h"
-#include "gromacs/legacyheaders/macros.h"
#include "gromacs/fileio/filenm.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/oenv.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
*/
#include "gmxpre.h"
+#include "gromacs/legacyheaders/warninp.h"
+
#include <string.h>
-#include "gromacs/utility/smalloc.h"
#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/warninp.h"
+#include "gromacs/utility/smalloc.h"
typedef struct warninp {
gmx_bool bAllowWarnings;
#include "gmxpre.h"
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "grompp-impl.h"
+
+#include "gromacs/gmxpreprocess/grompp-impl.h"
+#include "gromacs/gmxpreprocess/hackblock.h"
+#include "gromacs/gmxpreprocess/toputil.h"
#include "gromacs/legacyheaders/macros.h"
-#include "toputil.h"
-#include "hackblock.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
static void clear_atom_list(int i0, atom_id a[])
{
#ifndef GMX_GMXPREPROCESS_ADD_PAR_H
#define GMX_GMXPREPROCESS_ADD_PAR_H
+#include "gromacs/gmxpreprocess/pdb2top.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "pdb2top.h"
#ifdef __cplusplus
extern "C"
#include <stdlib.h>
#include <string.h>
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/legacyheaders/chargegroup.h"
#include "gromacs/legacyheaders/force.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/legacyheaders/nsgrid.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/mdatoms.h"
+#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/nrnb.h"
#include "gromacs/legacyheaders/ns.h"
-#include "gromacs/topology/mtop_util.h"
-#include "gromacs/legacyheaders/chargegroup.h"
-
+#include "gromacs/legacyheaders/nsgrid.h"
+#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/topology/block.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/topology/topology.h"
#include "gromacs/utility/smalloc.h"
*/
#include "gmxpre.h"
+#include "calc_verletbuf.h"
+
#include <assert.h>
#include <math.h>
#include <stdlib.h>
#include <sys/types.h>
+#include "gromacs/legacyheaders/coulomb.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/units.h"
-#include "gromacs/legacyheaders/macros.h"
#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/coulomb.h"
-#include "calc_verletbuf.h"
-#include "../mdlib/nbnxn_consts.h"
-
+#include "gromacs/mdlib/nbnxn_consts.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
*/
#include "gmxpre.h"
-#include "gromacs/legacyheaders/macros.h"
#include "calch.h"
+
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/math/units.h"
#include "gromacs/math/utilities.h"
#include "gromacs/math/vec.h"
-#include "gromacs/math/units.h"
-
#include "gromacs/utility/fatalerror.h"
#define xAI xa[0]
#include <signal.h>
#include <stdlib.h>
+
#include "gromacs/legacyheaders/typedefs.h"
static int div_nsteps(int nsteps, int nst)
/* This file is completely threadsafe - keep it that way! */
#include "gmxpre.h"
+#include "convparm.h"
+
#include <math.h>
#include <string.h>
+#include "gromacs/gmxpreprocess/gpp_atomtype.h"
+#include "gromacs/gmxpreprocess/topio.h"
+#include "gromacs/gmxpreprocess/toputil.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/units.h"
+#include "gromacs/math/utilities.h"
#include "gromacs/math/vec.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/utility/fatalerror.h"
-#include "topio.h"
-#include "toputil.h"
-#include "convparm.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gpp_atomtype.h"
-#include "gromacs/math/utilities.h"
+#include "gromacs/utility/smalloc.h"
static int round_check(real r, int limit, int ftype, const char *name)
{
#include "fflibutil.h"
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
-#include "config.h"
-
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#define GMX_GMXPREPROCESS_FFLIBUTIL_H
#include <stdio.h>
+
#include "gromacs/legacyheaders/typedefs.h"
#ifdef __cplusplus
/* This file is completely threadsafe - keep it that way! */
#include "gmxpre.h"
+#include "gen_ad.h"
+
#include <ctype.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/utility/cstringutil.h"
#include "gromacs/fileio/confio.h"
-#include "gromacs/math/vec.h"
-#include "toputil.h"
-#include "topio.h"
-#include "gpp_nextnb.h"
+#include "gromacs/gmxpreprocess/gpp_nextnb.h"
+#include "gromacs/gmxpreprocess/pgutil.h"
+#include "gromacs/gmxpreprocess/resall.h"
+#include "gromacs/gmxpreprocess/topio.h"
+#include "gromacs/gmxpreprocess/toputil.h"
#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
-#include "pgutil.h"
-#include "resall.h"
-#include "gen_ad.h"
+#include "gromacs/utility/smalloc.h"
#define DIHEDRAL_WAS_SET_IN_RTP 0
static gmx_bool was_dihedral_set_in_rtp(t_param *dih)
#ifndef GMX_GMXPREPROCESS_GEN_AD_H
#define GMX_GMXPREPROCESS_GEN_AD_H
+#include "gromacs/gmxpreprocess/gpp_nextnb.h"
+#include "gromacs/gmxpreprocess/resall.h"
+#include "gromacs/gmxpreprocess/toputil.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "toputil.h"
-#include "gpp_nextnb.h"
-#include "resall.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
+#include "gen_maxwell_velocities.h"
+
#include <math.h>
-#include "gromacs/random/random.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/math/units.h"
+
#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
-#include "gen_maxwell_velocities.h"
+#include "gromacs/random/random.h"
#include "gromacs/topology/mtop_util.h"
+#include "gromacs/utility/smalloc.h"
static void low_mspeed(real tempi,
gmx_mtop_t *mtop, rvec v[], gmx_rng_t rng)
*/
#include "gmxpre.h"
+#include "gen_vsite.h"
+
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "gen_vsite.h"
-#include "resall.h"
-#include "add_par.h"
-#include "gromacs/math/vec.h"
-#include "toputil.h"
-#include "gromacs/math/units.h"
+#include "gromacs/gmxpreprocess/add_par.h"
+#include "gromacs/gmxpreprocess/fflibutil.h"
+#include "gromacs/gmxpreprocess/gpp_atomtype.h"
+#include "gromacs/gmxpreprocess/resall.h"
+#include "gromacs/gmxpreprocess/toputil.h"
#include "gromacs/legacyheaders/names.h"
-#include "gromacs/utility/futil.h"
-#include "gpp_atomtype.h"
-#include "fflibutil.h"
-
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
#include "gromacs/topology/residuetypes.h"
#include "gromacs/topology/symtab.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
#define MAXNAME 32
#ifndef GMX_GMXPREPROCESS_GEN_VSITE_H
#define GMX_GMXPREPROCESS_GEN_VSITE_H
+#include "gromacs/gmxpreprocess/gpp_atomtype.h"
+#include "gromacs/gmxpreprocess/grompp-impl.h"
+#include "gromacs/gmxpreprocess/hackblock.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "grompp-impl.h"
-#include "gpp_atomtype.h"
-#include "hackblock.h"
#ifdef __cplusplus
extern "C"
#include "genconf.h"
-#include "gromacs/math/utilities.h"
-#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/confio.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/legacyheaders/readinp.h"
-#include "gromacs/legacyheaders/names.h"
-#include "sortwater.h"
#include "gromacs/fileio/trxio.h"
-
-#include "gromacs/commandline/pargs.h"
+#include "gromacs/gmxpreprocess/sortwater.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/readinp.h"
+#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/math/3dtransforms.h"
+#include "gromacs/math/utilities.h"
#include "gromacs/math/vec.h"
#include "gromacs/random/random.h"
#include "gromacs/utility/fatalerror.h"
*/
#include "gmxpre.h"
+#include "genhydro.h"
+
#include <string.h>
#include <time.h>
-#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/fileio/confio.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/futil.h"
-#include "calch.h"
-#include "genhydro.h"
-#include "h_db.h"
-#include "ter_db.h"
-#include "resall.h"
-#include "pgutil.h"
+#include "gromacs/gmxpreprocess/calch.h"
+#include "gromacs/gmxpreprocess/h_db.h"
+#include "gromacs/gmxpreprocess/pgutil.h"
+#include "gromacs/gmxpreprocess/resall.h"
+#include "gromacs/gmxpreprocess/ter_db.h"
#include "gromacs/legacyheaders/network.h"
-
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/vec.h"
#include "gromacs/topology/symtab.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
static void copy_atom(t_atoms *atoms1, int a1, t_atoms *atoms2, int a2)
#define GMX_GMXPREPROCESS_GENHYDRO_H
#include "gromacs/fileio/pdbio.h"
-#include "hackblock.h"
+#include "gromacs/gmxpreprocess/hackblock.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
-#include <sys/types.h>
+#include "gmxcpp.h"
+
+#include <ctype.h>
+#include <errno.h>
+#include <limits.h>
+#include <math.h>
#include <stdio.h>
#include <stdlib.h>
-#include <math.h>
#include <string.h>
-#include <errno.h>
-#include <limits.h>
-#include <ctype.h>
-#include "gromacs/utility/cstringutil.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/utility/futil.h"
+#include <sys/types.h>
+
#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
-#include "gmxcpp.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
typedef struct {
char *name;
*/
#include "gmxpre.h"
+#include "gpp_atomtype.h"
+
#include <math.h>
#include <string.h>
-#include "topdirs.h"
-#include "toputil.h"
+#include "gromacs/gmxpreprocess/topdirs.h"
+#include "gromacs/gmxpreprocess/toputil.h"
#include "gromacs/legacyheaders/txtdump.h"
-#include "gpp_atomtype.h"
-
#include "gromacs/topology/symtab.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#define GMX_GMXPREPROCESS_GPP_ATOMTYPE_H
#include <stdio.h>
+
+#include "gromacs/gmxpreprocess/grompp-impl.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "grompp-impl.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
-#include "gromacs/legacyheaders/macros.h"
#include "gpp_bond_atomtype.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/topology/symtab.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/smalloc.h"
#define GMX_GMXPREPROCESS_GPP_BONDATOMTYPE_H
#include <stdio.h>
+
#include "gromacs/legacyheaders/typedefs.h"
#ifdef __cplusplus
#ifndef GMX_GMXPREPROCESS_GPP_NEXTNB_H
#define GMX_GMXPREPROCESS_GPP_NEXTNB_H
-#include "grompp-impl.h"
+#include "gromacs/gmxpreprocess/grompp-impl.h"
#ifdef __cplusplus
extern "C" {
#include "grompp.h"
-#include <sys/types.h>
-#include <math.h>
-#include <string.h>
+#include <assert.h>
#include <errno.h>
#include <limits.h>
-#include <assert.h>
+#include <math.h>
+#include <string.h>
-#include "gromacs/legacyheaders/macros.h"
-#include "readir.h"
-#include "toputil.h"
-#include "topio.h"
+#include <sys/types.h>
+
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/confio.h"
-#include "readir.h"
-#include "gromacs/legacyheaders/names.h"
-#include "grompp-impl.h"
-#include "gromacs/gmxpreprocess/gen_maxwell_velocities.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/legacyheaders/splitter.h"
-#include "gromacs/gmxpreprocess/sortwater.h"
-#include "convparm.h"
-#include "gromacs/legacyheaders/warninp.h"
+#include "gromacs/fileio/enxio.h"
#include "gromacs/fileio/gmxfio.h"
-#include "gromacs/fileio/trnio.h"
#include "gromacs/fileio/tpxio.h"
+#include "gromacs/fileio/trnio.h"
#include "gromacs/fileio/trxio.h"
-#include "vsite_parm.h"
-#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/gmxpreprocess/add_par.h"
+#include "gromacs/gmxpreprocess/calc_verletbuf.h"
+#include "gromacs/gmxpreprocess/compute_io.h"
+#include "gromacs/gmxpreprocess/convparm.h"
+#include "gromacs/gmxpreprocess/gen_maxwell_velocities.h"
+#include "gromacs/gmxpreprocess/gpp_atomtype.h"
+#include "gromacs/gmxpreprocess/grompp-impl.h"
+#include "gromacs/gmxpreprocess/readir.h"
+#include "gromacs/gmxpreprocess/sortwater.h"
+#include "gromacs/gmxpreprocess/tomorse.h"
+#include "gromacs/gmxpreprocess/topio.h"
+#include "gromacs/gmxpreprocess/toputil.h"
+#include "gromacs/gmxpreprocess/vsite_parm.h"
+#include "gromacs/imd/imd.h"
#include "gromacs/legacyheaders/calcgrid.h"
-#include "add_par.h"
-#include "gromacs/fileio/enxio.h"
-#include "gromacs/legacyheaders/perf_est.h"
-#include "compute_io.h"
-#include "gpp_atomtype.h"
-#include "gromacs/topology/mtop_util.h"
#include "gromacs/legacyheaders/genborn.h"
-#include "calc_verletbuf.h"
-#include "tomorse.h"
-#include "gromacs/imd/imd.h"
-#include "gromacs/utility/cstringutil.h"
-
-#include "gromacs/commandline/pargs.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/perf_est.h"
+#include "gromacs/legacyheaders/splitter.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/warninp.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/random/random.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/topology/symtab.h"
#include "gromacs/topology/topology.h"
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
static int rm_interactions(int ifunc, int nrmols, t_molinfo mols[])
/* This file is completely threadsafe - keep it that way! */
#include "gmxpre.h"
+#include "h_db.h"
+
#include <stdlib.h>
#include <string.h>
-#include "gromacs/utility/cstringutil.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/utility/futil.h"
-#include "h_db.h"
#include "gromacs/fileio/gmxfio.h"
-#include "fflibutil.h"
-#include "gromacs/utility/fatalerror.h"
+#include "gromacs/gmxpreprocess/fflibutil.h"
#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/utility/cstringutil.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
/* Number of control atoms for each 'add' type.
*
#include <stdio.h>
-#include "hackblock.h"
+#include "gromacs/gmxpreprocess/hackblock.h"
#ifdef __cplusplus
extern "C" {
/* This file is completely threadsafe - keep it that way! */
#include "gmxpre.h"
-#include <string.h>
#include "hackblock.h"
+
+#include <string.h>
+
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/math/vec.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/smalloc.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/names.h"
/* these MUST correspond to the enum in hackblock.h */
const char *btsNames[ebtsNR] = { "bonds", "angles", "dihedrals", "impropers", "exclusions", "cmap" };
#ifndef GMX_GMXPREPROCESS_HACKBLOCK_H
#define GMX_GMXPREPROCESS_HACKBLOCK_H
-#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/fileio/pdbio.h"
-#include "grompp-impl.h"
-#include "gpp_atomtype.h"
+#include "gromacs/gmxpreprocess/gpp_atomtype.h"
+#include "gromacs/gmxpreprocess/grompp-impl.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/topology/symtab.h"
#ifdef __cplusplus
#include <stdio.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
+
#include "gromacs/fileio/pdbio.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/math/units.h"
-#include "toputil.h"
-#include "pdb2top.h"
-#include "gromacs/utility/cstringutil.h"
+#include "gromacs/gmxpreprocess/pdb2top.h"
+#include "gromacs/gmxpreprocess/toputil.h"
#include "gromacs/legacyheaders/macros.h"
-
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
#include "gromacs/topology/block.h"
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "insert-molecules.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/math/utilities.h"
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/confio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxlib/conformation-utilities.h"
+#include "gromacs/gmxpreprocess/addconf.h"
+#include "gromacs/gmxpreprocess/read-conformation.h"
#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/utilities.h"
#include "gromacs/math/vec.h"
-#include "gromacs/gmxlib/conformation-utilities.h"
-#include "addconf.h"
-#include "read-conformation.h"
-
-#include "gromacs/commandline/pargs.h"
-#include "gromacs/fileio/xvgr.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/random/random.h"
/* This file is completely threadsafe - keep it that way! */
#include "gmxpre.h"
+#include "nm2type.h"
+
#include <string.h>
-#include "gromacs/math/utilities.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/cstringutil.h"
-#include "gromacs/utility/smalloc.h"
#include "gromacs/fileio/confio.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/legacyheaders/readinp.h"
+#include "gromacs/gmxpreprocess/fflibutil.h"
+#include "gromacs/gmxpreprocess/gpp_atomtype.h"
+#include "gromacs/gmxpreprocess/gpp_nextnb.h"
+#include "gromacs/gmxpreprocess/pdb2top.h"
+#include "gromacs/gmxpreprocess/toppush.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
-#include "toppush.h"
-#include "pdb2top.h"
-#include "gpp_nextnb.h"
-#include "gpp_atomtype.h"
-#include "fflibutil.h"
-
-#include "nm2type.h"
-
+#include "gromacs/legacyheaders/readinp.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/math/utilities.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
static void rd_nm2type_file(const char *fn, int *nnm, t_nm2type **nmp)
{
#include <string.h>
#include <time.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/fileio/gmxfio.h"
-#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/utility/cstringutil.h"
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/confio.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/futil.h"
+#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/pdbio.h"
-#include "toputil.h"
-#include "h_db.h"
-#include "pgutil.h"
-#include "resall.h"
-#include "pdb2top.h"
-#include "ter_db.h"
+#include "gromacs/fileio/strdb.h"
#include "gromacs/gmxlib/conformation-utilities.h"
-#include "genhydro.h"
-#include "gromacs/legacyheaders/readinp.h"
-#include "gromacs/topology/index.h"
-#include "fflibutil.h"
+#include "gromacs/gmxpreprocess/fflibutil.h"
+#include "gromacs/gmxpreprocess/genhydro.h"
+#include "gromacs/gmxpreprocess/h_db.h"
+#include "gromacs/gmxpreprocess/hizzie.h"
+#include "gromacs/gmxpreprocess/pdb2top.h"
+#include "gromacs/gmxpreprocess/pgutil.h"
+#include "gromacs/gmxpreprocess/resall.h"
+#include "gromacs/gmxpreprocess/specbond.h"
+#include "gromacs/gmxpreprocess/ter_db.h"
+#include "gromacs/gmxpreprocess/toputil.h"
+#include "gromacs/gmxpreprocess/xlate.h"
+#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/legacyheaders/macros.h"
-
-#include "gromacs/commandline/pargs.h"
-#include "gromacs/fileio/strdb.h"
+#include "gromacs/legacyheaders/readinp.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/vec.h"
#include "gromacs/topology/atomprop.h"
#include "gromacs/topology/block.h"
#include "gromacs/topology/index.h"
#include "gromacs/topology/residuetypes.h"
#include "gromacs/topology/symtab.h"
-#include "gromacs/utility/smalloc.h"
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
-
-#include "hizzie.h"
-#include "specbond.h"
-#include "xlate.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
typedef struct {
char gmx[6];
*/
#include "gmxpre.h"
-#include <stdio.h>
-#include <math.h>
+#include "pdb2top.h"
+
#include <ctype.h>
+#include <math.h>
+#include <stdio.h>
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/futil.h"
-#include "pdb2top.h"
-#include "gpp_nextnb.h"
-#include "topdirs.h"
-#include "toputil.h"
-#include "h_db.h"
-#include "pgutil.h"
-#include "resall.h"
-#include "topio.h"
-#include "gromacs/utility/cstringutil.h"
-#include "gromacs/fileio/pdbio.h"
-#include "gen_ad.h"
#include "gromacs/fileio/filenm.h"
-#include "gen_vsite.h"
-#include "add_par.h"
-#include "toputil.h"
-#include "fflibutil.h"
-#include "gromacs/legacyheaders/copyrite.h"
-
+#include "gromacs/fileio/pdbio.h"
#include "gromacs/fileio/strdb.h"
+#include "gromacs/gmxpreprocess/add_par.h"
+#include "gromacs/gmxpreprocess/fflibutil.h"
+#include "gromacs/gmxpreprocess/gen_ad.h"
+#include "gromacs/gmxpreprocess/gen_vsite.h"
+#include "gromacs/gmxpreprocess/gpp_nextnb.h"
+#include "gromacs/gmxpreprocess/h_db.h"
+#include "gromacs/gmxpreprocess/pgutil.h"
+#include "gromacs/gmxpreprocess/resall.h"
+#include "gromacs/gmxpreprocess/topdirs.h"
+#include "gromacs/gmxpreprocess/topio.h"
+#include "gromacs/gmxpreprocess/toputil.h"
+#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/math/vec.h"
#include "gromacs/topology/residuetypes.h"
#include "gromacs/topology/symtab.h"
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/programcontext.h"
#include "gromacs/utility/smalloc.h"
#ifndef GMX_GMXPREPROCESS_PDB2TOP_H
#define GMX_GMXPREPROCESS_PDB2TOP_H
+#include "gromacs/gmxpreprocess/gpp_atomtype.h"
+#include "gromacs/gmxpreprocess/grompp-impl.h"
+#include "gromacs/gmxpreprocess/hackblock.h"
+#include "gromacs/gmxpreprocess/toputil.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "grompp-impl.h"
-#include "gpp_atomtype.h"
-#include "toputil.h"
-#include "hackblock.h"
#ifdef __cplusplus
extern "C"
#include "gmxpre.h"
-#include "gromacs/utility/cstringutil.h"
#include "pgutil.h"
+
#include <string.h>
+
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
#define BUFSIZE 1024
#include "protonate.h"
#include <math.h>
-#include "gromacs/utility/cstringutil.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/smalloc.h"
+
#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/confio.h"
-#include "genhydro.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/topology/index.h"
+#include "gromacs/gmxpreprocess/genhydro.h"
+#include "gromacs/gmxpreprocess/hackblock.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/vec.h"
-#include "hackblock.h"
-
+#include "gromacs/topology/index.h"
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
int gmx_protonate(int argc, char *argv[])
{
#include "read-conformation.h"
#include "gromacs/fileio/confio.h"
-#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/topology/atomprop.h"
#include "gromacs/topology/atoms.h"
#include "gromacs/utility/cstringutil.h"
#include <stdlib.h>
#include <string.h>
-#include "readir.h"
+#include "gromacs/gmxpreprocess/readir.h"
#include "gromacs/legacyheaders/names.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
*/
#include "gmxpre.h"
+#include "readir.h"
+
#include <ctype.h>
#include <limits.h>
#include <stdlib.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/math/units.h"
-#include "gromacs/legacyheaders/names.h"
+#include "gromacs/gmxpreprocess/calc_verletbuf.h"
+#include "gromacs/gmxpreprocess/toputil.h"
+#include "gromacs/legacyheaders/chargegroup.h"
+#include "gromacs/legacyheaders/inputrec.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/utility/cstringutil.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/network.h"
#include "gromacs/legacyheaders/readinp.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/warninp.h"
-#include "readir.h"
-#include "toputil.h"
-#include "gromacs/legacyheaders/network.h"
+#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/topology/mtop_util.h"
-#include "gromacs/legacyheaders/chargegroup.h"
-#include "gromacs/legacyheaders/inputrec.h"
-#include "calc_verletbuf.h"
-
#include "gromacs/topology/block.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/topology/symtab.h"
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#ifndef GMX_GMXPREPROCESS_READIR_H
#define GMX_GMXPREPROCESS_READIR_H
-#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/gmxpreprocess/grompp-impl.h"
#include "gromacs/legacyheaders/readinp.h"
-#include "grompp-impl.h"
+#include "gromacs/legacyheaders/typedefs.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
-#include <string.h>
#include <stdlib.h>
+#include <string.h>
-#include "gromacs/utility/cstringutil.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/utility/fatalerror.h"
+#include "gromacs/gmxpreprocess/readir.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/readinp.h"
-#include "readir.h"
#include "gromacs/legacyheaders/mdatoms.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/readinp.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/pulling/pull.h"
+#include "gromacs/utility/cstringutil.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static char pulldim[STRLEN];
*/
#include "gmxpre.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/smalloc.h"
-#include "readir.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/utility/futil.h"
#include "gromacs/fileio/trnio.h"
+#include "gromacs/gmxpreprocess/readir.h"
+#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/txtdump.h"
-
+#include "gromacs/math/vec.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static char *RotStr = {"Enforced rotation:"};
*/
#include "gmxpre.h"
+#include "resall.h"
+
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/macros.h"
-#include "resall.h"
-#include "pgutil.h"
-#include "fflibutil.h"
-
#include "gromacs/fileio/strdb.h"
+#include "gromacs/gmxpreprocess/fflibutil.h"
+#include "gromacs/gmxpreprocess/pgutil.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/topology/symtab.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
#ifndef GMX_GMXPREPROCESS_RESALL_H
#define GMX_GMXPREPROCESS_RESALL_H
+#include "gromacs/gmxpreprocess/gpp_atomtype.h"
+#include "gromacs/gmxpreprocess/grompp-impl.h"
+#include "gromacs/gmxpreprocess/hackblock.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "hackblock.h"
-#include "gpp_atomtype.h"
-#include "grompp-impl.h"
#ifdef __cplusplus
extern "C" {
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/confio.h"
+#include "gromacs/fileio/pdbio.h"
+#include "gromacs/gmxlib/conformation-utilities.h"
+#include "gromacs/gmxpreprocess/addconf.h"
+#include "gromacs/gmxpreprocess/read-conformation.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/futil.h"
#include "gromacs/legacyheaders/names.h"
-#include "gromacs/gmxlib/conformation-utilities.h"
-#include "addconf.h"
-#include "read-conformation.h"
-#include "gromacs/fileio/pdbio.h"
-
-#include "gromacs/commandline/pargs.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/vec.h"
#include "gromacs/topology/atomprop.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
#ifdef DEBUG
*/
#include "gmxpre.h"
+#include "sortwater.h"
+
#include <stdlib.h>
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/vec.h"
-#include "sortwater.h"
-
#include "gromacs/random/random.h"
#include "gromacs/utility/smalloc.h"
*/
#include "gmxpre.h"
+#include "specbond.h"
+
#include <ctype.h>
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/fileio/pdbio.h"
#include "gromacs/fileio/strdb.h"
+#include "gromacs/gmxpreprocess/pdb2top.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/vec.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/smalloc.h"
-#include "specbond.h"
-#include "pdb2top.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/macros.h"
gmx_bool yesno(void)
{
#ifndef GMX_GMXPREPROCESS_SPECBOND_H
#define GMX_GMXPREPROCESS_SPECBOND_H
-#include "pdb2top.h"
+#include "gromacs/gmxpreprocess/pdb2top.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
+#include "ter_db.h"
+
#include <ctype.h>
#include <string.h>
-#include "gromacs/utility/smalloc.h"
+#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/fileio/strdb.h"
+#include "gromacs/gmxpreprocess/fflibutil.h"
+#include "gromacs/gmxpreprocess/h_db.h"
+#include "gromacs/gmxpreprocess/resall.h"
+#include "gromacs/gmxpreprocess/toputil.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/futil.h"
-#include "resall.h"
-#include "h_db.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
-#include "ter_db.h"
-#include "toputil.h"
-#include "gromacs/fileio/gmxfio.h"
-#include "fflibutil.h"
-
-#include "gromacs/fileio/strdb.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
/* use bonded types definitions in hackblock.h */
#define ekwRepl ebtsNR+1
#ifndef GMX_GMXPREPROCESS_TER_DB_H
#define GMX_GMXPREPROCESS_TER_DB_H
-#include "hackblock.h"
-#include "grompp-impl.h"
+#include "gromacs/gmxpreprocess/grompp-impl.h"
+#include "gromacs/gmxpreprocess/hackblock.h"
#ifdef __cplusplus
extern "C" {
#include "gmxpre.h"
-#include "../insert-molecules.h"
-#include "testutils/integrationtests.h"
-#include "testutils/cmdlinetest.h"
+#include "gromacs/gmxpreprocess/insert-molecules.h"
+
#include "gromacs/utility/futil.h"
+#include "testutils/cmdlinetest.h"
+#include "testutils/integrationtests.h"
+
namespace
{
#include "gmxpre.h"
-#include "../solvate.h"
-#include "testutils/integrationtests.h"
-#include "testutils/cmdlinetest.h"
+#include "gromacs/gmxpreprocess/solvate.h"
+
#include "gromacs/utility/futil.h"
+#include "testutils/cmdlinetest.h"
+#include "testutils/integrationtests.h"
+
namespace
{
/* This file is completely threadsafe - keep it that way! */
#include "gmxpre.h"
+#include "tomorse.h"
+
#include <ctype.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
+#include "gromacs/gmxpreprocess/gpp_atomtype.h"
+#include "gromacs/gmxpreprocess/grompp-impl.h"
+#include "gromacs/gmxpreprocess/toputil.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/utility/cstringutil.h"
-#include "grompp-impl.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
-#include "toputil.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gpp_atomtype.h"
-
-#include "tomorse.h"
typedef struct {
char *ai, *aj;
#define GMX_GMXPREPROCESS_TOMORSE_H
#include <stdio.h>
+
#include "gromacs/gmxpreprocess/gpp_atomtype.h"
#include "gromacs/gmxpreprocess/grompp-impl.h"
#include "gromacs/legacyheaders/typedefs.h"
*/
#include "gmxpre.h"
-#include <stdio.h>
+#include "topdirs.h"
+
#include <stdarg.h>
+#include <stdio.h>
-#include "gromacs/utility/smalloc.h"
#include "gromacs/legacyheaders/macros.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
-#include "topdirs.h"
+#include "gromacs/utility/smalloc.h"
/* Must correspond to the directive enum in grompp-impl.h */
static const char *directive_names[d_maxdir+1] = {
#ifndef GMX_GMXPREPROCESS_TOPDIRS_H
#define GMX_GMXPREPROCESS_TOPDIRS_H
-#include "grompp-impl.h"
+#include "gromacs/gmxpreprocess/grompp-impl.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
+#include "topio.h"
+
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <sys/types.h>
-#include "gromacs/utility/futil.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/macros.h"
#include "gromacs/fileio/gmxfio.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/math/units.h"
+#include "gromacs/gmxpreprocess/gmxcpp.h"
+#include "gromacs/gmxpreprocess/gpp_bond_atomtype.h"
+#include "gromacs/gmxpreprocess/gpp_nextnb.h"
+#include "gromacs/gmxpreprocess/grompp-impl.h"
+#include "gromacs/gmxpreprocess/topdirs.h"
+#include "gromacs/gmxpreprocess/toppush.h"
+#include "gromacs/gmxpreprocess/topshake.h"
+#include "gromacs/gmxpreprocess/toputil.h"
+#include "gromacs/gmxpreprocess/vsite_parm.h"
+#include "gromacs/legacyheaders/genborn.h"
#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
-#include "gromacs/utility/cstringutil.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/warninp.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/utilities.h"
#include "gromacs/topology/block.h"
#include "gromacs/topology/symtab.h"
#include "gromacs/topology/topology.h"
+#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/warninp.h"
-#include "vsite_parm.h"
-
-#include "grompp-impl.h"
-#include "toputil.h"
-#include "toppush.h"
-#include "topdirs.h"
-#include "gpp_nextnb.h"
-#include "topio.h"
-#include "topshake.h"
-#include "gmxcpp.h"
-#include "gpp_bond_atomtype.h"
-#include "gromacs/legacyheaders/genborn.h"
-#include "gromacs/math/utilities.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
#define OPENDIR '[' /* starting sign for directive */
#define CLOSEDIR ']' /* ending sign for directive */
#ifndef GMX_GMXPREPROCESS_TOPIO_H
#define GMX_GMXPREPROCESS_TOPIO_H
+#include "gromacs/gmxpreprocess/gpp_atomtype.h"
+#include "gromacs/gmxpreprocess/grompp-impl.h"
+#include "gromacs/gmxpreprocess/readir.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "readir.h"
-#include "grompp-impl.h"
-#include "gpp_atomtype.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
+#include "toppush.h"
+
#include <assert.h>
#include <ctype.h>
#include <math.h>
#include <stdlib.h>
+#include "gromacs/gmxpreprocess/gpp_atomtype.h"
+#include "gromacs/gmxpreprocess/gpp_bond_atomtype.h"
+#include "gromacs/gmxpreprocess/readir.h"
+#include "gromacs/gmxpreprocess/topdirs.h"
+#include "gromacs/gmxpreprocess/toputil.h"
#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
-#include "toputil.h"
-#include "toppush.h"
-#include "topdirs.h"
-#include "readir.h"
#include "gromacs/legacyheaders/warninp.h"
-#include "gpp_atomtype.h"
-#include "gpp_bond_atomtype.h"
-
#include "gromacs/topology/symtab.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
#ifndef GMX_GMXPREPROCESS_TOPPUSH_H
#define GMX_GMXPREPROCESS_TOPPUSH_H
+#include "gromacs/gmxpreprocess/gpp_atomtype.h"
+#include "gromacs/gmxpreprocess/gpp_bond_atomtype.h"
+#include "gromacs/gmxpreprocess/toputil.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "toputil.h"
-#include "gpp_atomtype.h"
-#include "gpp_bond_atomtype.h"
#include "gromacs/legacyheaders/warninp.h"
#ifdef __cplusplus
/* This file is completely threadsafe - keep it that way! */
#include "gmxpre.h"
+#include "topshake.h"
+
#include <ctype.h>
#include <math.h>
-#include "gromacs/math/units.h"
-#include "readir.h"
+#include "gromacs/gmxpreprocess/readir.h"
+#include "gromacs/gmxpreprocess/topdirs.h"
+#include "gromacs/gmxpreprocess/toppush.h"
+#include "gromacs/gmxpreprocess/toputil.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "topshake.h"
-#include "toppush.h"
-#include "toputil.h"
-#include "topdirs.h"
-#include "gromacs/utility/smalloc.h"
+#include "gromacs/math/units.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
static void copy_bond (t_params *pr, int to, int from)
/* copies an entry in a bond list to another position.
#ifndef GMX_GMXPREPROCESS_TOPSHAKE_H
#define GMX_GMXPREPROCESS_TOPSHAKE_H
-#include "topio.h"
+#include "gromacs/gmxpreprocess/topio.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
+#include "toputil.h"
+
#include <assert.h>
#include <math.h>
#include <string.h>
+#include "gromacs/gmxpreprocess/gpp_atomtype.h"
+#include "gromacs/gmxpreprocess/topdirs.h"
#include "gromacs/legacyheaders/macros.h"
-#include "topdirs.h"
-#include "toputil.h"
-#include "gpp_atomtype.h"
-
#include "gromacs/topology/block.h"
#include "gromacs/topology/symtab.h"
#include "gromacs/utility/fatalerror.h"
#ifndef GMX_GMXPREPROCESS_TOPUTIL_H
#define GMX_GMXPREPROCESS_TOPUTIL_H
-#include "grompp-impl.h"
-#include "gpp_atomtype.h"
+#include "gromacs/gmxpreprocess/gpp_atomtype.h"
+#include "gromacs/gmxpreprocess/grompp-impl.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
+#include "vsite_parm.h"
+
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
-#include "vsite_parm.h"
-#include "gromacs/utility/smalloc.h"
-#include "resall.h"
-#include "add_par.h"
-#include "gromacs/math/vec.h"
-#include "toputil.h"
-#include "gromacs/math/units.h"
+#include "gromacs/gmxpreprocess/add_par.h"
+#include "gromacs/gmxpreprocess/resall.h"
+#include "gromacs/gmxpreprocess/toputil.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
-#include "gromacs/utility/fatalerror.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
#include "gromacs/utility/cstringutil.h"
-#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
typedef struct {
t_iatom a[4];
#ifndef GMX_GMXPREPROCESS_VSITE_PARM_H
#define GMX_GMXPREPROCESS_VSITE_PARM_H
+#include "gromacs/gmxpreprocess/gpp_atomtype.h"
+#include "gromacs/gmxpreprocess/grompp-impl.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "grompp-impl.h"
-#include "gpp_atomtype.h"
#ifdef __cplusplus
extern "C" {
#include <assert.h>
+#include "gromacs/bonded/bonded.h"
+#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/confio.h"
+#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/gmxpreprocess/gen_ad.h"
+#include "gromacs/gmxpreprocess/gpp_nextnb.h"
+#include "gromacs/gmxpreprocess/hackblock.h"
+#include "gromacs/gmxpreprocess/nm2type.h"
+#include "gromacs/gmxpreprocess/pdb2top.h"
+#include "gromacs/gmxpreprocess/toppush.h"
#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/math/utilities.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/fileio/gmxfio.h"
-#include "gromacs/fileio/confio.h"
-#include "gromacs/math/units.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/legacyheaders/readinp.h"
#include "gromacs/legacyheaders/names.h"
-#include "toppush.h"
-#include "pdb2top.h"
-#include "gen_ad.h"
-#include "gpp_nextnb.h"
-#include "hackblock.h"
-#include "nm2type.h"
-
-#include "gromacs/bonded/bonded.h"
-#include "gromacs/commandline/pargs.h"
+#include "gromacs/legacyheaders/readinp.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/utilities.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/topology/symtab.h"
*/
#include "gmxpre.h"
+#include "xlate.h"
+
#include <ctype.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "fflibutil.h"
-#include "hackblock.h"
-#include "xlate.h"
-
#include "gromacs/fileio/strdb.h"
+#include "gromacs/gmxpreprocess/fflibutil.h"
+#include "gromacs/gmxpreprocess/hackblock.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/topology/residuetypes.h"
#include "gromacs/topology/symtab.h"
#include "gromacs/utility/cstringutil.h"
#include "imd.h"
+#include "config.h"
+
#include <errno.h>
#include <string.h>
-#include "config.h"
-
#ifdef GMX_NATIVE_WINDOWS
#include <windows.h>
#else
#ifndef GMX_IMD_IMD_H
#define GMX_IMD_IMD_H
-#include "gromacs/legacyheaders/typedefs.h"
-#include "../fileio/filenm.h"
-#include "../timing/wallcycle.h"
-
#include "config.h"
+#include "gromacs/fileio/filenm.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/timing/wallcycle.h"
+
#ifdef GMX_NATIVE_WINDOWS
#include <Windows.h>
#define NOFLAGS 0
#include "gmxpre.h"
+#include "imdsocket.h"
+
#include "config.h"
#include <errno.h>
#include <string.h>
-#include "gromacs/utility/smalloc.h"
+#include "gromacs/imd/imd.h"
#include "gromacs/utility/fatalerror.h"
-#include "imdsocket.h"
-#include "imd.h"
+#include "gromacs/utility/smalloc.h"
#ifdef GMX_NATIVE_WINDOWS
#ifdef GMX_HAVE_WINSOCK
#define GMX_IMD
#endif
#else
-#include <sys/socket.h>
#include <netinet/in.h>
+#include <sys/socket.h>
#define GMX_IMD
#endif
#ifndef GMX_LEGACYHEADERS_BONDED_THREADING_H
#define GMX_LEGACYHEADERS_BONDED_THREADING_H
-#include "typedefs.h"
+#include "gromacs/legacyheaders/typedefs.h"
#ifdef __cplusplus
extern "C" {
#include <stdio.h>
-#include "../math/vectypes.h"
-#include "../utility/real.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
#include <stdio.h>
-#include "../math/vectypes.h"
-#include "../utility/basedefinitions.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
#include <stdio.h>
-#include "../math/vectypes.h"
-#include "../utility/real.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
#define _checkpoint_h
+#include "gromacs/fileio/filenm.h"
+#include "gromacs/fileio/gmxfio.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "../fileio/gmxfio.h"
-#include "../fileio/filenm.h"
#ifdef __cplusplus
extern "C" {
#define _coulomb_h
#include <stdio.h>
+
#include "gromacs/legacyheaders/typedefs.h"
#ifdef __cplusplus
#ifndef _domdec_h
#define _domdec_h
+#include "gromacs/legacyheaders/genborn.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/vsite.h"
-#include "gromacs/legacyheaders/genborn.h"
-
-#include "../timing/wallcycle.h"
+#include "gromacs/timing/wallcycle.h"
#ifdef __cplusplus
extern "C" {
#include <stdio.h>
-#include "../legacyheaders/types/energy.h"
-#include "../fileio/enxio.h"
-#include "../utility/basedefinitions.h"
+#include "gromacs/fileio/enxio.h"
+#include "gromacs/legacyheaders/types/energy.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
#define _force_h
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/types/force_flags.h"
+#include "gromacs/legacyheaders/genborn.h"
#include "gromacs/legacyheaders/network.h"
#include "gromacs/legacyheaders/tgroup.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/vsite.h"
-#include "gromacs/legacyheaders/genborn.h"
-
-#include "../timing/wallcycle.h"
+#include "gromacs/legacyheaders/types/force_flags.h"
+#include "gromacs/timing/wallcycle.h"
#ifdef __cplusplus
extern "C" {
#include <stdio.h>
-#include "../utility/basedefinitions.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
#include <stdio.h>
#include "gromacs/legacyheaders/types/hw_info.h"
-#include "../utility/basedefinitions.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
#include "config.h"
-#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/legacyheaders/types/hw_info.h"
+#include "gromacs/legacyheaders/types/simple.h"
#ifdef GMX_GPU
#define FUNC_TERM_INT ;
#include <stdio.h>
-#include "gromacs/legacyheaders/typedefs.h"
+
+#include "gromacs/fileio/filenm.h"
#include "gromacs/legacyheaders/network.h"
-#include "../fileio/filenm.h"
+#include "gromacs/legacyheaders/typedefs.h"
#ifdef __cplusplus
extern "C" {
#ifndef _md_support_h
#define _md_support_h
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/types/globsig.h"
#include "gromacs/legacyheaders/sim_util.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/vcm.h"
-
-#include "../timing/wallcycle.h"
+#include "gromacs/legacyheaders/types/globsig.h"
+#include "gromacs/timing/wallcycle.h"
#ifdef __cplusplus
extern "C" {
#include "gromacs/legacyheaders/types/inputrec.h"
#include "gromacs/legacyheaders/types/mdatom.h"
-#include "../utility/basedefinitions.h"
-#include "../utility/real.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
#include <stdio.h>
-#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/fileio/enxio.h"
#include "gromacs/legacyheaders/ebin.h"
-#include "../fileio/enxio.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/types/state.h"
#ifdef __cplusplus
#include <stdio.h>
#include <time.h>
-#include "gromacs/legacyheaders/typedefs.h"
+
+#include "gromacs/fileio/filenm.h"
+#include "gromacs/legacyheaders/mdebin.h"
#include "gromacs/legacyheaders/network.h"
#include "gromacs/legacyheaders/sim_util.h"
#include "gromacs/legacyheaders/tgroup.h"
-#include "gromacs/legacyheaders/mdebin.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/update.h"
#include "gromacs/legacyheaders/vcm.h"
#include "gromacs/legacyheaders/vsite.h"
-#include "gromacs/legacyheaders/update.h"
-#include "gromacs/legacyheaders/types/membedt.h"
#include "gromacs/legacyheaders/types/globsig.h"
-
-#include "../fileio/filenm.h"
-#include "../timing/wallcycle.h"
+#include "gromacs/legacyheaders/types/membedt.h"
+#include "gromacs/timing/wallcycle.h"
#ifdef __cplusplus
extern "C" {
#include <stdio.h>
-#include "../utility/basedefinitions.h"
-#include "../utility/fatalerror.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/fatalerror.h"
#ifdef __cplusplus
extern "C" {
#ifndef _nonbonded_h
#define _nonbonded_h
-#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/genborn.h"
#include "gromacs/legacyheaders/network.h"
#include "gromacs/legacyheaders/tgroup.h"
-#include "gromacs/legacyheaders/genborn.h"
+#include "gromacs/legacyheaders/typedefs.h"
#ifdef __cplusplus
extern "C" {
#include <stdio.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/tgroup.h"
#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/tgroup.h"
+#include "gromacs/legacyheaders/typedefs.h"
#ifdef __cplusplus
extern "C" {
#ifndef _oenv_h
#define _oenv_h
-#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/legacyheaders/types/oenv.h"
+#include "gromacs/legacyheaders/types/simple.h"
#ifdef __cplusplus
extern "C" {
#define _perf_est_h
#include "gromacs/legacyheaders/types/inputrec.h"
-#include "../math/vectypes.h"
-#include "../utility/basedefinitions.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
#include "config.h"
#include <stdlib.h>
+
#include "gromacs/legacyheaders/types/simple.h"
#ifdef GMX_GPU
#define _pme_h
#include <stdio.h>
+
+#include "gromacs/legacyheaders/network.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "../math/gmxcomplex.h"
-#include "../timing/wallcycle.h"
-#include "../timing/walltime_accounting.h"
-#include "../legacyheaders/network.h"
+#include "gromacs/math/gmxcomplex.h"
+#include "gromacs/timing/wallcycle.h"
+#include "gromacs/timing/walltime_accounting.h"
#ifdef __cplusplus
extern "C" {
#ifndef _QMMM_h
#define _QMMM_h
-#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/network.h"
#include "gromacs/legacyheaders/tgroup.h"
+#include "gromacs/legacyheaders/typedefs.h"
#ifdef __cplusplus
extern "C" {
#ifndef _rbin_h
#define _rbin_h
-#include "../utility/real.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
#include <string.h>
-#include "../utility/basedefinitions.h"
#include "gromacs/legacyheaders/warninp.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
* the research papers on the package. Check out http://www.gromacs.org.
*/
-#include "../timing/wallcycle.h"
-
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/vsite.h"
+#include "gromacs/timing/wallcycle.h"
#ifdef __cplusplus
extern "C" {
#include <signal.h>
-#include "../utility/basedefinitions.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
#ifndef _sim_util_h
#define _sim_util_h
-#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/fileio/enxio.h"
+#include "gromacs/fileio/mdoutf.h"
#include "gromacs/legacyheaders/mdebin.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/update.h"
#include "gromacs/legacyheaders/vcm.h"
-#include "../fileio/enxio.h"
-#include "../fileio/mdoutf.h"
-#include "../timing/wallcycle.h"
-#include "../timing/walltime_accounting.h"
+#include "gromacs/timing/wallcycle.h"
+#include "gromacs/timing/walltime_accounting.h"
#ifdef __cplusplus
extern "C" {
#include <stdio.h>
-#include "../utility/basedefinitions.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
#ifndef _tables_h
#define _tables_h
-#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/legacyheaders/types/interaction_const.h"
+#include "gromacs/legacyheaders/types/simple.h"
#ifdef __cplusplus
extern "C" {
#ifndef _tgroup_h
#define _tgroup_h
-#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/typedefs.h"
#ifdef __cplusplus
extern "C" {
#include <stdio.h>
+
+#include "gromacs/fileio/tpxio.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "../fileio/tpxio.h"
#ifdef __cplusplus
extern "C" {
#include <sys/types.h>
-#include "gromacs/legacyheaders/types/simple.h"
-#include "gromacs/legacyheaders/types/enums.h"
-#include "../fileio/trx.h"
-#include "../topology/topology.h"
+#include "gromacs/fileio/trx.h"
+#include "gromacs/legacyheaders/types/commrec_fwd.h"
+#include "gromacs/legacyheaders/types/constr.h"
#include "gromacs/legacyheaders/types/energy.h"
+#include "gromacs/legacyheaders/types/enums.h"
+#include "gromacs/legacyheaders/types/fcdata.h"
+#include "gromacs/legacyheaders/types/forcerec.h"
+#include "gromacs/legacyheaders/types/group.h"
+#include "gromacs/legacyheaders/types/ifunc.h"
#include "gromacs/legacyheaders/types/inputrec.h"
-#include "gromacs/legacyheaders/types/nrnb.h"
+#include "gromacs/legacyheaders/types/mdatom.h"
#include "gromacs/legacyheaders/types/nblist.h"
+#include "gromacs/legacyheaders/types/nrnb.h"
#include "gromacs/legacyheaders/types/nsgrid.h"
-#include "gromacs/legacyheaders/types/forcerec.h"
-#include "gromacs/legacyheaders/types/fcdata.h"
-#include "gromacs/legacyheaders/types/mdatom.h"
-#include "gromacs/legacyheaders/types/ifunc.h"
-#include "gromacs/legacyheaders/types/group.h"
-#include "gromacs/legacyheaders/types/state.h"
-#include "gromacs/legacyheaders/types/shellfc.h"
-#include "gromacs/legacyheaders/types/constr.h"
#include "gromacs/legacyheaders/types/oenv.h"
-#include "gromacs/legacyheaders/types/commrec_fwd.h"
+#include "gromacs/legacyheaders/types/shellfc.h"
+#include "gromacs/legacyheaders/types/simple.h"
+#include "gromacs/legacyheaders/types/state.h"
+#include "gromacs/topology/topology.h"
#ifdef __cplusplus
extern "C" {
#ifndef _commrec_h
#define _commrec_h
-#include "../../utility/gmxmpi.h"
-#include "../typedefs.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/utility/gmxmpi.h"
#ifdef __cplusplus
extern "C" {
#define GMX_LEGACYHEADERS_TYPES_FORCEREC_H
#include "gromacs/legacyheaders/types/enums.h"
-#include "gromacs/legacyheaders/types/ns.h"
#include "gromacs/legacyheaders/types/genborn.h"
-#include "gromacs/legacyheaders/types/qmmmrec.h"
-#include "../../topology/idef.h"
-#include "gromacs/legacyheaders/types/interaction_const.h"
#include "gromacs/legacyheaders/types/hw_info.h"
+#include "gromacs/legacyheaders/types/interaction_const.h"
+#include "gromacs/legacyheaders/types/ns.h"
+#include "gromacs/legacyheaders/types/qmmmrec.h"
+#include "gromacs/topology/idef.h"
#ifdef __cplusplus
extern "C" {
#ifndef HWINFO_H
#define HWINFO_H
-#include "gromacs/legacyheaders/types/simple.h"
+#include "gromacs/legacyheaders/gmx_cpuid.h"
#include "gromacs/legacyheaders/types/nbnxn_cuda_types_ext.h"
-#include "../gmx_cpuid.h"
+#include "gromacs/legacyheaders/types/simple.h"
#ifdef __cplusplus
extern "C" {
#ifndef _ifunc_h
#define _ifunc_h
-#include "../../topology/idef.h"
-#include "gromacs/legacyheaders/types/mdatom.h"
#include "gromacs/legacyheaders/types/fcdata.h"
+#include "gromacs/legacyheaders/types/mdatom.h"
+#include "gromacs/topology/idef.h"
#ifdef __cplusplus
extern "C" {
#include <stdio.h>
-#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/legacyheaders/types/enums.h"
-#include "../../swap/enums.h"
+#include "gromacs/legacyheaders/types/simple.h"
+#include "gromacs/swap/enums.h"
#ifdef __cplusplus
extern "C" {
#ifndef GMX_LEGACYHEADERS_TYPES_NS_H
#define GMX_LEGACYHEADERS_TYPES_NS_H
-#include "gromacs/legacyheaders/types/nsgrid.h"
#include "gromacs/legacyheaders/types/nblist.h"
+#include "gromacs/legacyheaders/types/nsgrid.h"
#ifdef __cplusplus
extern "C" {
#ifndef GMX_LEGACYHEADERS_TYPES_RGB_H
#define GMX_LEGACYHEADERS_TYPES_RGB_H
-#include "../../utility/real.h"
+#include "gromacs/utility/real.h"
typedef struct {
real r, g, b;
#ifndef _simple_h
#define _simple_h
-#include "../../math/vectypes.h"
-#include "../../utility/basedefinitions.h"
-#include "../../utility/real.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/real.h"
typedef int atom_id; /* To indicate an atoms id */
#define NO_ATID (atom_id)(~0) /* Use this to indicate invalid atid */
#include "gromacs/legacyheaders/types/simple.h"
-#include "../../swap/enums.h"
+#include "gromacs/swap/enums.h"
#ifdef __cplusplus
extern "C" {
#ifndef _update_h
#define _update_h
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/tgroup.h"
#include "gromacs/legacyheaders/network.h"
-
-#include "../timing/wallcycle.h"
+#include "gromacs/legacyheaders/tgroup.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/timing/wallcycle.h"
#ifdef __cplusplus
extern "C" {
#include "gromacs/legacyheaders/types/inputrec.h"
#include "gromacs/legacyheaders/types/mdatom.h"
-#include "../math/vectypes.h"
-#include "../utility/basedefinitions.h"
-#include "../utility/real.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
#ifndef _viewit_h
#define _viewit_h
+#include "gromacs/fileio/filenm.h"
#include "gromacs/legacyheaders/types/oenv.h"
-#include "../fileio/filenm.h"
#ifdef __cplusplus
extern "C" {
#include <stdio.h>
#include "gromacs/legacyheaders/typedefs.h"
-#include "../pbcutil/ishift.h"
+#include "gromacs/pbcutil/ishift.h"
#ifdef __cplusplus
extern "C" {
#ifndef _warninp_h
#define _warninp_h
-#include "../utility/basedefinitions.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
#include "gromacs/utility/real.h"
#include "gromacs/utility/smalloc.h"
-#include "gmx_lapack.h"
#include "gmx_arpack.h"
+#include "gmx_lapack.h"
void
eigensolver(real * a,
#ifndef GMX_LINEARALGEBRA_EIGENSOLVER_H
#define GMX_LINEARALGEBRA_EIGENSOLVER_H
-#include "../utility/real.h"
-
-#include "sparsematrix.h"
+#include "gromacs/linearalgebra/sparsematrix.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
+#include "gmx_arpack.h"
+
#include <math.h>
#include <string.h>
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/real.h"
-#include "gmx_arpack.h"
#include "gmx_blas.h"
#include "gmx_lapack.h"
#include "sparsematrix.h"
#include <assert.h>
-#include <stdlib.h>
#include <stdio.h>
+#include <stdlib.h>
#include "gromacs/utility/smalloc.h"
#include <stdio.h>
-#include "../utility/basedefinitions.h"
-#include "../utility/real.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
-#include "gromacs/math/3dtransforms.h"
+#include "3dtransforms.h"
#include <math.h>
#include <stdio.h>
#include <stdio.h>
-#include "../utility/real.h"
-#include "vectypes.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
#ifndef GMX_MATH_DO_FIT_H
#define GMX_MATH_DO_FIT_H
-#include "../legacyheaders/types/simple.h"
-#include "../utility/real.h"
-
-#include "vectypes.h"
+#include "gromacs/legacyheaders/types/simple.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
#include <math.h>
-#include "../utility/real.h"
-
-#include "vectypes.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/real.h"
typedef struct {
real re, im;
* be anywhere else in the code.
*/
-#include "utilities.h"
+#include "gromacs/math/utilities.h"
#ifdef __cplusplus
extern "C" {
#include "utilities.h"
+#include "config.h"
+
#include <assert.h>
#include <limits.h>
#include <math.h>
-#include "config.h"
-
#ifdef HAVE__FINITE
#include <float.h>
#endif
#include <limits.h>
#include <math.h>
-#include "../utility/basedefinitions.h"
-#include "../utility/real.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
#include <math.h>
-#include "units.h"
-#include "utilities.h"
-#include "vectypes.h"
-
-#include "../utility/basedefinitions.h"
-#include "../utility/fatalerror.h"
-#include "../utility/real.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/utilities.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
#ifndef GMX_MATH_VECTYPES_H
#define GMX_MATH_VECTYPES_H
-#include "../utility/real.h"
+#include "gromacs/utility/real.h"
#define XX 0 /* Defines for indexing in */
#define YY 1 /* vectors */
#include "gmxpre.h"
#include "adress.h"
-#include "gromacs/math/utilities.h"
-#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/legacyheaders/types/simple.h"
+
#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/simple.h"
+#include "gromacs/math/utilities.h"
#include "gromacs/math/vec.h"
-
+#include "gromacs/pbcutil/pbc.h"
#include "gromacs/utility/fatalerror.h"
real
#ifndef _adress_h_
#define _adress_h_
-#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/simple.h"
#ifdef __cplusplus
extern "C"
/* This file is completely threadsafe - keep it that way! */
#include "gmxpre.h"
+#include "gromacs/legacyheaders/calcmu.h"
+
#include <stdio.h>
#include <stdlib.h>
-#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
#include "gromacs/legacyheaders/network.h"
-#include "gromacs/math/vec.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/units.h"
-#include "gromacs/legacyheaders/calcmu.h"
-#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
+#include "gromacs/math/vec.h"
void calc_mu(int start, int homenr, rvec x[], real q[], real qB[],
int nChargePerturbed,
#include "gromacs/legacyheaders/force.h"
#include "gromacs/legacyheaders/macros.h"
-
#include "gromacs/math/vectypes.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/pbcutil/mshift.h"
#include <math.h>
#include <stdlib.h>
-#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/fileio/gmxfio.h"
#include "gromacs/legacyheaders/constr.h"
#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/domdec.h"
+#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
+#include "gromacs/legacyheaders/mdrun.h"
+#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/legacyheaders/mdrun.h"
-#include "gromacs/legacyheaders/nrnb.h"
-#include "gromacs/legacyheaders/domdec.h"
-#include "gromacs/topology/mtop_util.h"
-#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
-
-#include "gromacs/fileio/gmxfio.h"
#include "gromacs/topology/block.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/gmxomp.h"
#include "gromacs/utility/smalloc.h"
*/
#include "gmxpre.h"
+#include "gromacs/legacyheaders/constr.h"
+
#include <assert.h>
#include <stdlib.h>
+#include "gromacs/essentialdynamics/edsam.h"
#include "gromacs/fileio/confio.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/constr.h"
+#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/fileio/pdbio.h"
#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/domdec.h"
+#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/mdrun.h"
-#include "gromacs/legacyheaders/nrnb.h"
-#include "gromacs/math/vec.h"
#include "gromacs/legacyheaders/names.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/legacyheaders/domdec.h"
-#include "gromacs/fileio/pdbio.h"
+#include "gromacs/legacyheaders/nrnb.h"
#include "gromacs/legacyheaders/splitter.h"
-#include "gromacs/topology/mtop_util.h"
-#include "gromacs/fileio/gmxfio.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
-#include "gromacs/essentialdynamics/edsam.h"
-#include "gromacs/pulling/pull.h"
-
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/pulling/pull.h"
#include "gromacs/topology/block.h"
#include "gromacs/topology/invblock.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include <assert.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/update.h"
-#include "gromacs/math/vec.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/units.h"
+#include "gromacs/legacyheaders/mdrun.h"
#include "gromacs/legacyheaders/names.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/legacyheaders/nrnb.h"
-#include "gromacs/random/random.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/update.h"
-#include "gromacs/legacyheaders/mdrun.h"
+#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/random/random.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
#define NTROTTERPARTS 3
#include <stdio.h>
#include "gromacs/legacyheaders/constr.h"
-
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/pbcutil/pbc.h"
#include "gmxpre.h"
+#include "gromacs/legacyheaders/domdec.h"
+
#include "config.h"
-#include <stdio.h>
-#include <time.h>
+#include <assert.h>
#include <math.h>
-#include <string.h>
+#include <stdio.h>
#include <stdlib.h>
-#include <assert.h>
+#include <string.h>
+#include <time.h>
#include "gromacs/bonded/bonded.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/network.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/domdec.h"
-#include "gromacs/legacyheaders/domdec_network.h"
-#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/fileio/pdbio.h"
+#include "gromacs/imd/imd.h"
+#include "gromacs/legacyheaders/bonded-threading.h"
#include "gromacs/legacyheaders/chargegroup.h"
#include "gromacs/legacyheaders/constr.h"
-#include "gromacs/legacyheaders/mdatoms.h"
-#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/domdec_network.h"
#include "gromacs/legacyheaders/force.h"
-#include "gromacs/legacyheaders/pme.h"
-#include "gromacs/legacyheaders/mdrun.h"
-#include "gromacs/legacyheaders/nsgrid.h"
-#include "gromacs/legacyheaders/shellfc.h"
-#include "gromacs/topology/mtop_util.h"
#include "gromacs/legacyheaders/gmx_ga2la.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "nbnxn_search.h"
-#include "gromacs/legacyheaders/bonded-threading.h"
#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
#include "gromacs/legacyheaders/gpu_utils.h"
-
-#include "gromacs/utility/futil.h"
-#include "gromacs/fileio/gmxfio.h"
-#include "gromacs/fileio/pdbio.h"
-#include "gromacs/imd/imd.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/mdatoms.h"
+#include "gromacs/legacyheaders/mdrun.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/nsgrid.h"
+#include "gromacs/legacyheaders/pme.h"
+#include "gromacs/legacyheaders/shellfc.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/vec.h"
#include "gromacs/mdlib/nb_verlet.h"
+#include "gromacs/mdlib/nbnxn_search.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/pulling/pull.h"
#include "gromacs/pulling/pull_rotation.h"
#include "gromacs/swap/swapcoords.h"
#include "gromacs/timing/wallcycle.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/basenetwork.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/gmxmpi.h"
#include "gromacs/utility/qsort_threadsafe.h"
#include "gromacs/utility/smalloc.h"
#include "gmxpre.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/legacyheaders/domdec.h"
#include "gromacs/legacyheaders/domdec_network.h"
-#include "gromacs/legacyheaders/nsgrid.h"
#include "gromacs/legacyheaders/network.h"
-
+#include "gromacs/legacyheaders/nsgrid.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
#include "gromacs/utility/fatalerror.h"
static void calc_cgcm_av_stddev(t_block *cgs, int n, rvec *x, rvec av, rvec stddev,
#include <assert.h>
-#include "gromacs/math/vec.h"
#include "gromacs/legacyheaders/constr.h"
-#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/legacyheaders/domdec.h"
#include "gromacs/legacyheaders/domdec_network.h"
-#include "gromacs/topology/mtop_util.h"
#include "gromacs/legacyheaders/gmx_ga2la.h"
#include "gromacs/legacyheaders/gmx_hash.h"
#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
#include "gromacs/legacyheaders/macros.h"
-
+#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/ishift.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "gmxpre.h"
+#include "gromacs/legacyheaders/domdec_network.h"
+
#include "config.h"
#include <string.h>
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/domdec_network.h"
+#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/utility/gmxmpi.h"
#include "gmxpre.h"
-#include <stdio.h>
#include <assert.h>
+#include <stdio.h>
+
#include "gromacs/legacyheaders/domdec.h"
-#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/network.h"
#include "gromacs/legacyheaders/perf_est.h"
-#include "gromacs/utility/smalloc.h"
#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/names.h"
+#include "gromacs/utility/smalloc.h"
/* Margin for setting up the DD grid */
#define DD_GRID_MARGIN_PRES_SCALE 1.05
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/legacyheaders/chargegroup.h"
#include "gromacs/legacyheaders/domdec.h"
#include "gromacs/legacyheaders/domdec_network.h"
+#include "gromacs/legacyheaders/force.h"
+#include "gromacs/legacyheaders/gmx_ga2la.h"
+#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/chargegroup.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/vsite.h"
-#include "gromacs/legacyheaders/gmx_ga2la.h"
-#include "gromacs/legacyheaders/force.h"
-#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
-
+#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/mshift.h"
#include "gromacs/pbcutil/pbc.h"
/* This file is completely threadsafe - keep it that way! */
#include "gmxpre.h"
+#include "gromacs/legacyheaders/ebin.h"
+
#include <math.h>
#include <string.h>
-#include "gromacs/utility/smalloc.h"
+
#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/ebin.h"
+#include "gromacs/math/units.h"
#include "gromacs/math/utilities.h"
#include "gromacs/math/vec.h"
-#include "gromacs/math/units.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
t_ebin *mk_ebin(void)
{
#include <stdio.h>
#include <stdlib.h>
+#include "gromacs/legacyheaders/coulomb.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/math/gmxcomplex.h"
+#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
-#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/fatalerror.h"
-#include "gromacs/math/units.h"
-#include "gromacs/legacyheaders/coulomb.h"
-#include "gromacs/legacyheaders/macros.h"
-
#include "gromacs/utility/futil.h"
-#include "gromacs/math/gmxcomplex.h"
+#include "gromacs/utility/smalloc.h"
#define TOL 2e-5
#include <math.h>
#include <stdio.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/names.h"
#include "gromacs/fileio/confio.h"
-#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/fileio/trnio.h"
+#include "gromacs/fileio/xtcio.h"
+#include "gromacs/legacyheaders/calcmu.h"
#include "gromacs/legacyheaders/chargegroup.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/constr.h"
+#include "gromacs/legacyheaders/disre.h"
+#include "gromacs/legacyheaders/domdec.h"
+#include "gromacs/legacyheaders/force.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/mdatoms.h"
#include "gromacs/legacyheaders/mdrun.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/orires.h"
+#include "gromacs/legacyheaders/pme.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/update.h"
#include "gromacs/math/units.h"
-#include "gromacs/legacyheaders/mdatoms.h"
-#include "gromacs/legacyheaders/force.h"
-#include "gromacs/legacyheaders/pme.h"
-#include "gromacs/legacyheaders/disre.h"
-#include "gromacs/legacyheaders/orires.h"
-#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/calcmu.h"
-#include "gromacs/legacyheaders/constr.h"
+#include "gromacs/math/vec.h"
#include "gromacs/random/random.h"
-#include "gromacs/legacyheaders/domdec.h"
-#include "gromacs/legacyheaders/macros.h"
-
-#include "gromacs/fileio/confio.h"
-#include "gromacs/fileio/gmxfio.h"
-#include "gromacs/fileio/trnio.h"
-#include "gromacs/fileio/xtcio.h"
#include "gromacs/timing/wallcycle.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/gmxmpi.h"
+#include "gromacs/utility/smalloc.h"
static void init_df_history_weights(df_history_t *dfhist, t_expanded *expand, int nlim)
{
*/
#include "gmxpre.h"
+#include "gromacs/legacyheaders/force.h"
+
#include "config.h"
#include <assert.h>
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/bonded/bonded.h"
+#include "gromacs/legacyheaders/coulomb.h"
+#include "gromacs/legacyheaders/domdec.h"
+#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/force.h"
-#include "gromacs/legacyheaders/nonbonded.h"
+#include "gromacs/legacyheaders/mdrun.h"
#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/ns.h"
+#include "gromacs/legacyheaders/nonbonded.h"
#include "gromacs/legacyheaders/nrnb.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/legacyheaders/coulomb.h"
+#include "gromacs/legacyheaders/ns.h"
#include "gromacs/legacyheaders/pme.h"
-#include "gromacs/legacyheaders/mdrun.h"
-#include "gromacs/legacyheaders/domdec.h"
#include "gromacs/legacyheaders/qmmm.h"
-#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
-
-#include "gromacs/bonded/bonded.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/ishift.h"
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/math/utilities.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/units.h"
+#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/coulomb.h"
+#include "gromacs/legacyheaders/domdec.h"
#include "gromacs/legacyheaders/force.h"
-#include "gromacs/legacyheaders/tables.h"
-#include "gromacs/legacyheaders/nonbonded.h"
+#include "gromacs/legacyheaders/gmx_detect_hardware.h"
+#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
+#include "gromacs/legacyheaders/gpu_utils.h"
+#include "gromacs/legacyheaders/inputrec.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/md_logging.h"
+#include "gromacs/legacyheaders/md_support.h"
#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/nonbonded.h"
#include "gromacs/legacyheaders/ns.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/legacyheaders/coulomb.h"
-#include "gromacs/legacyheaders/md_support.h"
-#include "gromacs/legacyheaders/md_logging.h"
-#include "gromacs/legacyheaders/domdec.h"
+#include "gromacs/legacyheaders/pmalloc_cuda.h"
#include "gromacs/legacyheaders/qmmm.h"
-#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/topology/mtop_util.h"
-#include "nbnxn_simd.h"
-#include "nbnxn_search.h"
-#include "nbnxn_atomdata.h"
-#include "nbnxn_consts.h"
-#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
-#include "gromacs/legacyheaders/gmx_detect_hardware.h"
-#include "gromacs/legacyheaders/inputrec.h"
-
+#include "gromacs/legacyheaders/tables.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/legacyheaders/types/nbnxn_cuda_types_ext.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/utilities.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/mdlib/nb_verlet.h"
+#include "gromacs/mdlib/nbnxn_atomdata.h"
+#include "gromacs/mdlib/nbnxn_consts.h"
+#include "gromacs/mdlib/nbnxn_search.h"
+#include "gromacs/mdlib/nbnxn_simd.h"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_data_mgmt.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/types/nbnxn_cuda_types_ext.h"
-#include "gromacs/legacyheaders/gpu_utils.h"
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_data_mgmt.h"
-#include "gromacs/legacyheaders/pmalloc_cuda.h"
-#include "nb_verlet.h"
-
t_forcerec *mk_forcerec(void)
{
t_forcerec *fr;
#include "gmxpre.h"
+#include "gromacs/legacyheaders/genborn.h"
+
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/genborn.h"
#include "gromacs/fileio/pdbio.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/math/units.h"
#include "gromacs/legacyheaders/domdec.h"
+#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/network.h"
-#include "gromacs/topology/mtop_util.h"
#include "gromacs/legacyheaders/nrnb.h"
-
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/pbcutil/mshift.h"
#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/gmxmpi.h"
#include "gromacs/utility/smalloc.h"
#ifdef GMX_SIMD_X86_SSE2_OR_HIGHER
# ifdef GMX_DOUBLE
-# include "genborn_sse2_double.h"
-# include "genborn_allvsall_sse2_double.h"
+# include "gromacs/mdlib/genborn_allvsall_sse2_double.h"
+# include "gromacs/mdlib/genborn_sse2_double.h"
# else
-# include "genborn_sse2_single.h"
-# include "genborn_allvsall_sse2_single.h"
+# include "gromacs/mdlib/genborn_allvsall_sse2_single.h"
+# include "gromacs/mdlib/genborn_sse2_single.h"
# endif /* GMX_DOUBLE */
#endif /* SSE or AVX present */
-#include "genborn_allvsall.h"
+#include "gromacs/mdlib/genborn_allvsall.h"
/*#define DISABLE_SSE*/
*/
#include "gmxpre.h"
-#include <math.h>
-#include "gromacs/legacyheaders/types/simple.h"
+#include "genborn_allvsall.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/smalloc.h"
+#include <math.h>
+#include "gromacs/legacyheaders/genborn.h"
#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/math/units.h"
-#include "gromacs/legacyheaders/genborn.h"
-#include "genborn_allvsall.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/utility/smalloc.h"
typedef struct
#ifndef _GENBORN_ALLVSALL_H
#define _GENBORN_ALLVSALL_H
-#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/simple.h"
int
genborn_allvsall_calc_still_radii(t_forcerec * fr,
#include "gmxpre.h"
#include <math.h>
-#include "gromacs/legacyheaders/types/simple.h"
-
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/smalloc.h"
+#include "gromacs/legacyheaders/genborn.h"
#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/math/units.h"
-#include "gromacs/legacyheaders/genborn.h"
-#include "genborn_allvsall.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/mdlib/genborn_allvsall.h"
+#include "gromacs/utility/smalloc.h"
#if 0 && defined (GMX_SIMD_X86_SSE2_OR_HIGHER)
#ifndef _GENBORN_ALLVSALL_SSE2_DOUBLE_H
#define _GENBORN_ALLVSALL_SSE2_DOUBLE_H
-#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/simple.h"
int
genborn_allvsall_calc_still_radii_sse2_double(t_forcerec * fr,
#include "gmxpre.h"
#include <math.h>
-#include "gromacs/legacyheaders/types/simple.h"
-
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/smalloc.h"
+#include "gromacs/legacyheaders/genborn.h"
#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/math/units.h"
-#include "gromacs/legacyheaders/genborn.h"
-#include "genborn_allvsall.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/mdlib/genborn_allvsall.h"
+#include "gromacs/utility/smalloc.h"
#if 0 && defined (GMX_SIMD_X86_SSE2_OR_HIGHER)
#ifndef _GENBORN_ALLVSALL_SSE2_SINGLE_H
#define _GENBORN_ALLVSALL_SSE2_SINGLE_H
-#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/simple.h"
int
genborn_allvsall_calc_still_radii_sse2_single(t_forcerec * fr,
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/genborn.h"
-#include "gromacs/math/vec.h"
#include "gromacs/fileio/pdbio.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/math/units.h"
#include "gromacs/legacyheaders/domdec.h"
+#include "gromacs/legacyheaders/genborn.h"
+#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/genborn.h"
-
#include "gromacs/utility/gmxmpi.h"
+#include "gromacs/utility/smalloc.h"
/* Only compile this file if SSE2 intrinsics are available */
#if 0 && defined (GMX_SIMD_X86_SSE2_OR_HIGHER)
-#include <gmx_sse2_double.h>
-#include <emmintrin.h>
-
#include "genborn_sse2_double.h"
+#include <emmintrin.h>
+#include <gmx_sse2_double.h>
+
int
calc_gb_rad_still_sse2_double(t_commrec *cr, t_forcerec *fr,
int natoms, gmx_localtop_t *top,
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/genborn.h"
-#include "gromacs/math/vec.h"
#include "gromacs/fileio/pdbio.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/math/units.h"
#include "gromacs/legacyheaders/domdec.h"
+#include "gromacs/legacyheaders/genborn.h"
+#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/genborn.h"
-
#include "gromacs/utility/gmxmpi.h"
+#include "gromacs/utility/smalloc.h"
/* Only compile this file if SSE intrinsics are available */
#if 0 && defined (GMX_SIMD_X86_SSE2_OR_HIGHER)
-#include <gmx_sse2_single.h>
-#include <emmintrin.h>
-
#include "genborn_sse2_single.h"
+#include <emmintrin.h>
+#include <gmx_sse2_single.h>
+
int
calc_gb_rad_still_sse2_single(t_commrec *cr, t_forcerec *fr,
#include "gmxpre.h"
#include "groupcoord.h"
+
+#include "gromacs/legacyheaders/gmx_ga2la.h"
#include "gromacs/legacyheaders/network.h"
-#include "gromacs/pbcutil/pbc.h"
#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/gmx_ga2la.h"
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
*/
#include <stdio.h>
+
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/types/commrec.h"
#include "gmxpre.h"
#include <stdio.h>
-#include "gromacs/legacyheaders/typedefs.h"
+
#include "gromacs/fileio/tpxio.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/mvdata.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/legacyheaders/mdatoms.h"
+#include "gromacs/legacyheaders/mdebin.h"
#include "gromacs/legacyheaders/mdrun.h"
+#include "gromacs/legacyheaders/mvdata.h"
#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/update.h"
-#include "gromacs/legacyheaders/mdebin.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
#define BUFSIZE 256
#include "gmxpre.h"
#include <math.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/mdrun.h"
-#include "gromacs/legacyheaders/md_support.h"
+
#include "gromacs/legacyheaders/md_logging.h"
+#include "gromacs/legacyheaders/md_support.h"
+#include "gromacs/legacyheaders/mdrun.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/types/iteratedconstraints.h"
+#include "gromacs/utility/fatalerror.h"
#ifdef GMX_DOUBLE
#define CONVERGEITER 0.000000001
#include "gmxpre.h"
+#include "gromacs/legacyheaders/md_support.h"
+
#include <algorithm>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/mdrun.h"
#include "gromacs/legacyheaders/domdec.h"
-#include "gromacs/topology/mtop_util.h"
-#include "gromacs/legacyheaders/vcm.h"
-#include "gromacs/legacyheaders/nrnb.h"
#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/md_logging.h"
-#include "gromacs/legacyheaders/md_support.h"
+#include "gromacs/legacyheaders/mdrun.h"
#include "gromacs/legacyheaders/names.h"
-
+#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/vcm.h"
#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/math/vec.h"
#include "gromacs/timing/wallcycle.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/smalloc.h"
#include <math.h>
-#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
#include "gromacs/legacyheaders/mdatoms.h"
-#include "gromacs/utility/smalloc.h"
#include "gromacs/legacyheaders/qmmm.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/topology/mtop_util.h"
-#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
+#include "gromacs/utility/smalloc.h"
#define ALMOST_ZERO 1e-30
*/
#include "gmxpre.h"
+#include "gromacs/legacyheaders/mdebin.h"
+
#include <float.h>
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/mdebin.h"
-#include "gromacs/math/units.h"
#include "gromacs/fileio/enxio.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/disre.h"
-#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/legacyheaders/orires.h"
-#include "gromacs/legacyheaders/constr.h"
-#include "gromacs/topology/mtop_util.h"
-#include "gromacs/fileio/xvgr.h"
#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/legacyheaders/constr.h"
+#include "gromacs/legacyheaders/disre.h"
#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/mdrun.h"
-#include "mdebin_bar.h"
-
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/orires.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/mdlib/mdebin_bar.h"
#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/smalloc.h"
static const char *conrmsd_nm[] = { "Constr. rmsd", "Constr.2 rmsd" };
*/
#include "gmxpre.h"
-#include <string.h>
+#include "mdebin_bar.h"
+
#include <float.h>
#include <math.h>
+#include <string.h>
+
+#include "gromacs/fileio/enxio.h"
+#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/legacyheaders/mdebin.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/mdebin.h"
#include "gromacs/utility/smalloc.h"
-#include "gromacs/fileio/enxio.h"
-#include "gromacs/fileio/gmxfio.h"
-#include "mdebin_bar.h"
/* reset the delta_h list to prepare it for new values */
static void mde_delta_h_reset(t_mde_delta_h *dh)
#include <string.h>
#include <time.h>
-#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/fileio/confio.h"
+#include "gromacs/fileio/mtxio.h"
+#include "gromacs/fileio/trajectory_writing.h"
+#include "gromacs/imd/imd.h"
+#include "gromacs/legacyheaders/bonded-threading.h"
+#include "gromacs/legacyheaders/constr.h"
+#include "gromacs/legacyheaders/domdec.h"
#include "gromacs/legacyheaders/force.h"
+#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/md_logging.h"
+#include "gromacs/legacyheaders/md_support.h"
+#include "gromacs/legacyheaders/mdatoms.h"
+#include "gromacs/legacyheaders/mdebin.h"
+#include "gromacs/legacyheaders/mdrun.h"
#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/ns.h"
+#include "gromacs/legacyheaders/pme.h"
+#include "gromacs/legacyheaders/sim_util.h"
+#include "gromacs/legacyheaders/tgroup.h"
#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/update.h"
-#include "gromacs/legacyheaders/constr.h"
-#include "gromacs/legacyheaders/tgroup.h"
-#include "gromacs/legacyheaders/mdebin.h"
#include "gromacs/legacyheaders/vsite.h"
-#include "gromacs/legacyheaders/force.h"
-#include "gromacs/legacyheaders/mdrun.h"
-#include "gromacs/legacyheaders/md_support.h"
-#include "gromacs/legacyheaders/sim_util.h"
-#include "gromacs/legacyheaders/domdec.h"
-#include "gromacs/legacyheaders/mdatoms.h"
-#include "gromacs/legacyheaders/ns.h"
-#include "gromacs/topology/mtop_util.h"
-#include "gromacs/legacyheaders/pme.h"
-#include "gromacs/legacyheaders/bonded-threading.h"
-#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
-#include "gromacs/legacyheaders/md_logging.h"
-
-#include "gromacs/fileio/confio.h"
-#include "gromacs/fileio/mtxio.h"
-#include "gromacs/fileio/trajectory_writing.h"
-#include "gromacs/imd/imd.h"
#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/linearalgebra/sparsematrix.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/timing/wallcycle.h"
#include "gromacs/timing/walltime_accounting.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#ifndef NB_VERLET_H
#define NB_VERLET_H
-#include "nbnxn_pairlist.h"
#include "gromacs/legacyheaders/types/nbnxn_cuda_types_ext.h"
+#include "gromacs/mdlib/nbnxn_pairlist.h"
#ifdef __cplusplus
extern "C" {
#include "gmxpre.h"
+#include "nbnxn_atomdata.h"
+
#include "config.h"
#include <assert.h>
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "nbnxn_consts.h"
-#include "nbnxn_internal.h"
-#include "nbnxn_atomdata.h"
-#include "nbnxn_search.h"
-#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
#include "thread_mpi/atomic.h"
+#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/math/vec.h"
#include "gromacs/mdlib/nb_verlet.h"
+#include "gromacs/mdlib/nbnxn_consts.h"
+#include "gromacs/mdlib/nbnxn_internal.h"
+#include "gromacs/mdlib/nbnxn_search.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/utility/gmxomp.h"
#include "gromacs/utility/smalloc.h"
#include "nbnxn_cuda.h"
+#include "config.h"
+
#include <assert.h>
#include <stdlib.h>
-#include "config.h"
-
#if defined(_MSVC)
#include <limits>
#endif
#include "gromacs/mdlib/nbnxn_consts.h"
#include "gromacs/mdlib/nbnxn_pairlist.h"
#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_data_mgmt.h"
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_types.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/utility/cstringutil.h"
+#include "nbnxn_cuda_types.h"
+
#if defined TEXOBJ_SUPPORTED && __CUDA_ARCH__ >= 300
#define USE_TEXOBJ
#endif
#ifndef NBNXN_CUDA_H
#define NBNXN_CUDA_H
+#include "config.h"
+
#include "gromacs/legacyheaders/types/nbnxn_cuda_types_ext.h"
#include "gromacs/legacyheaders/types/simple.h"
-#include "config.h"
-
#ifdef GMX_GPU
#define FUNC_TERM ;
#else
*/
#include "gmxpre.h"
+#include "nbnxn_cuda_data_mgmt.h"
+
#include "config.h"
#include <assert.h>
#include <stdarg.h>
-#include <stdlib.h>
#include <stdio.h>
+#include <stdlib.h>
#include <cuda.h>
+#include "gromacs/gmxlib/cuda_tools/cudautils.cuh"
+#include "gromacs/legacyheaders/gmx_detect_hardware.h"
+#include "gromacs/legacyheaders/gpu_utils.h"
+#include "gromacs/legacyheaders/pmalloc_cuda.h"
#include "gromacs/legacyheaders/tables.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/types/enums.h"
-#include "gromacs/mdlib/nb_verlet.h"
-#include "gromacs/legacyheaders/types/interaction_const.h"
#include "gromacs/legacyheaders/types/force_flags.h"
-#include "../nbnxn_consts.h"
-#include "gromacs/legacyheaders/gmx_detect_hardware.h"
-
-#include "nbnxn_cuda_types.h"
-#include "../../gmxlib/cuda_tools/cudautils.cuh"
-#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_data_mgmt.h"
-#include "gromacs/legacyheaders/pmalloc_cuda.h"
-#include "gromacs/legacyheaders/gpu_utils.h"
-
+#include "gromacs/legacyheaders/types/interaction_const.h"
+#include "gromacs/mdlib/nb_verlet.h"
+#include "gromacs/mdlib/nbnxn_consts.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/utility/common.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
+#include "nbnxn_cuda_types.h"
+
static bool bUseCudaEventBlockingSync = false; /* makes the CPU thread block */
/* This is a heuristically determined parameter for the Fermi architecture for
#ifndef NBNXN_CUDA_DATA_MGMT_H
#define NBNXN_CUDA_DATA_MGMT_H
-#include "gromacs/legacyheaders/types/simple.h"
+#include "config.h"
+
+#include "gromacs/legacyheaders/types/hw_info.h"
#include "gromacs/legacyheaders/types/interaction_const.h"
#include "gromacs/legacyheaders/types/nbnxn_cuda_types_ext.h"
-#include "gromacs/legacyheaders/types/hw_info.h"
-
-#include "config.h"
+#include "gromacs/legacyheaders/types/simple.h"
#ifdef GMX_GPU
#define FUNC_TERM ;
* code that is in double precision.
*/
-#include "../../gmxlib/cuda_tools/vectype_ops.cuh"
+#include "gromacs/gmxlib/cuda_tools/vectype_ops.cuh"
#ifndef NBNXN_CUDA_KERNEL_UTILS_CUH
#define NBNXN_CUDA_KERNEL_UTILS_CUH
/* cut-off + V shift LJ */
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecCut_VdwLJ ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef NB_KERNEL_FUNC_NAME
/* LJ-Ewald w geometric combination rules */
#define LJ_EWALD_COMB_GEOM
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecCut_VdwLJEwCombGeom ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_EWALD_COMB_GEOM
#undef NB_KERNEL_FUNC_NAME
/* LJ-Ewald w LB combination rules */
#define LJ_EWALD_COMB_LB
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecCut_VdwLJEwCombLB ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_EWALD_COMB_LB
#undef NB_KERNEL_FUNC_NAME
/* F switch LJ */
#define LJ_FORCE_SWITCH
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecCut_VdwLJFsw ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_FORCE_SWITCH
#undef NB_KERNEL_FUNC_NAME
/* V switch LJ */
#define LJ_POT_SWITCH
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecCut_VdwLJPsw ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_POT_SWITCH
#undef NB_KERNEL_FUNC_NAME
/* cut-off + V shift LJ */
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecRF_VdwLJ ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef NB_KERNEL_FUNC_NAME
/* LJ-Ewald w geometric combination rules */
#define LJ_EWALD_COMB_GEOM
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecRF_VdwLJEwCombGeom ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_EWALD_COMB_GEOM
#undef NB_KERNEL_FUNC_NAME
/* LJ-Ewald w LB combination rules */
#define LJ_EWALD_COMB_LB
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecRF_VdwLJEwCombLB ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_EWALD_COMB_LB
#undef NB_KERNEL_FUNC_NAME
/* F switch LJ */
#define LJ_FORCE_SWITCH
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecRF_VdwLJFsw ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_FORCE_SWITCH
#undef NB_KERNEL_FUNC_NAME
/* V switch LJ */
#define LJ_POT_SWITCH
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecRF_VdwLJPsw ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_POT_SWITCH
#undef NB_KERNEL_FUNC_NAME
/* cut-off + V shift LJ */
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEw_VdwLJ ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef NB_KERNEL_FUNC_NAME
/* LJ-Ewald w geometric combination rules */
#define LJ_EWALD_COMB_GEOM
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEw_VdwLJEwCombGeom ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_EWALD_COMB_GEOM
#undef NB_KERNEL_FUNC_NAME
/* LJ-Ewald w LB combination rules */
#define LJ_EWALD_COMB_LB
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEw_VdwLJEwCombLB ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_EWALD_COMB_LB
#undef NB_KERNEL_FUNC_NAME
/* F switch LJ */
#define LJ_FORCE_SWITCH
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEw_VdwLJFsw ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_FORCE_SWITCH
#undef NB_KERNEL_FUNC_NAME
/* V switch LJ */
#define LJ_POT_SWITCH
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEw_VdwLJPsw ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_POT_SWITCH
#undef NB_KERNEL_FUNC_NAME
/* cut-off + V shift LJ */
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwTwinCut_VdwLJ ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef NB_KERNEL_FUNC_NAME
/* LJ-Ewald w geometric combination rules */
#define LJ_EWALD_COMB_GEOM
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwTwinCut_VdwLJEwCombGeom ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_EWALD_COMB_GEOM
#undef NB_KERNEL_FUNC_NAME
/* LJ-Ewald w LB combination rules */
#define LJ_EWALD_COMB_LB
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwTwinCut_VdwLJEwCombLB ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_EWALD_COMB_LB
#undef NB_KERNEL_FUNC_NAME
/* F switch LJ */
#define LJ_FORCE_SWITCH
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwTwinCut_VdwLJFsw ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_FORCE_SWITCH
#undef NB_KERNEL_FUNC_NAME
/* V switch LJ */
#define LJ_POT_SWITCH
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwTwinCut_VdwLJPsw ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_POT_SWITCH
#undef NB_KERNEL_FUNC_NAME
/* cut-off + V shift LJ */
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTab_VdwLJ ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef NB_KERNEL_FUNC_NAME
/* LJ-Ewald w geometric combination rules */
#define LJ_EWALD_COMB_GEOM
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTab_VdwLJEwCombGeom ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_EWALD_COMB_GEOM
#undef NB_KERNEL_FUNC_NAME
/* LJ-Ewald w LB combination rules */
#define LJ_EWALD_COMB_LB
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTab_VdwLJEwCombLB ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_EWALD_COMB_LB
#undef NB_KERNEL_FUNC_NAME
/* F switch LJ */
#define LJ_FORCE_SWITCH
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTab_VdwLJFsw ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_FORCE_SWITCH
#undef NB_KERNEL_FUNC_NAME
/* V switch LJ */
#define LJ_POT_SWITCH
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTab_VdwLJPsw ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_POT_SWITCH
#undef NB_KERNEL_FUNC_NAME
/* cut-off + V shift LJ */
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTabTwinCut_VdwLJ ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef NB_KERNEL_FUNC_NAME
/* LJ-Ewald w geometric combination rules */
#define LJ_EWALD_COMB_GEOM
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTabTwinCut_VdwLJEwCombGeom ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_EWALD_COMB_GEOM
#undef NB_KERNEL_FUNC_NAME
/* LJ-Ewald w LB combination rules */
#define LJ_EWALD_COMB_LB
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTabTwinCut_VdwLJEwCombLB ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_EWALD_COMB_LB
#undef NB_KERNEL_FUNC_NAME
/* F switch LJ */
#define LJ_FORCE_SWITCH
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTabTwinCut_VdwLJFsw ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_FORCE_SWITCH
#undef NB_KERNEL_FUNC_NAME
/* V switch LJ */
#define LJ_POT_SWITCH
#define NB_KERNEL_FUNC_NAME(x, ...) x ## _ElecEwQSTabTwinCut_VdwLJPsw ## __VA_ARGS__
-#include "nbnxn_cuda_kernel.cuh"
+#include "gromacs/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh"
#undef LJ_POT_SWITCH
#undef NB_KERNEL_FUNC_NAME
#ifndef NBNXN_CUDA_TYPES_H
#define NBNXN_CUDA_TYPES_H
+#include "gromacs/gmxlib/cuda_tools/cudautils.cuh"
#include "gromacs/legacyheaders/types/interaction_const.h"
-#include "gromacs/mdlib/nbnxn_pairlist.h"
#include "gromacs/legacyheaders/types/nbnxn_cuda_types_ext.h"
-#include "../../gmxlib/cuda_tools/cudautils.cuh"
+#include "gromacs/mdlib/nbnxn_pairlist.h"
/* CUDA versions from 5.0 above support texture objects. */
#if CUDA_VERSION >= 5000
#ifndef _nbnxn_internal_h
#define _nbnxn_internal_h
-#include "gromacs/legacyheaders/typedefs.h"
-#include "nbnxn_simd.h"
#include "gromacs/legacyheaders/domdec.h"
-#include "gromacs/timing/cyclecounter.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/mdlib/nbnxn_pairlist.h"
+#include "gromacs/mdlib/nbnxn_simd.h"
+#include "gromacs/timing/cyclecounter.h"
/* Bounding box calculations are (currently) always in single precision, so
*/
#include "gmxpre.h"
-#include "gromacs/pbcutil/ishift.h"
-
#include "nbnxn_kernel_common.h"
+#include "gromacs/pbcutil/ishift.h"
+
static void
clear_f_all(const nbnxn_atomdata_t *nbat, real *f)
{
#include "config.h"
#include "gromacs/legacyheaders/typedefs.h"
-
#include "gromacs/mdlib/nb_verlet.h"
#include "gromacs/mdlib/nbnxn_simd.h"
{2}
#define GMX_SIMD_J_UNROLL_SIZE {3}
#include "{4}"
-#include "../nbnxn_kernel_common.h"
+
#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
#include "gromacs/legacyheaders/types/force_flags.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_common.h"
#include "gromacs/utility/fatalerror.h"
/*! \brief Kinds of electrostatic treatments in SIMD Verlet kernels
* the research papers on the package. Check out http://www.gromacs.org.
*/
#include "gromacs/legacyheaders/typedefs.h"
-
#include "gromacs/mdlib/nbnxn_pairlist.h"
#include "gromacs/mdlib/nbnxn_simd.h"
*/
#include "gmxpre.h"
+#include "nbnxn_kernel_gpu_ref.h"
+
#include "config.h"
#include <math.h>
-#include "gromacs/legacyheaders/types/simple.h"
-#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/force.h"
-
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/math/utilities.h"
#include "gromacs/math/vec.h"
-#include "gromacs/pbcutil/ishift.h"
-
-#include "nbnxn_kernel_gpu_ref.h"
-#include "../nbnxn_consts.h"
-#include "nbnxn_kernel_common.h"
#include "gromacs/mdlib/nb_verlet.h"
+#include "gromacs/mdlib/nbnxn_consts.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_common.h"
+#include "gromacs/pbcutil/ishift.h"
#define NCL_PER_SUPERCL (NBNXN_GPU_NCLUSTER_PER_SUPERCLUSTER)
#define CL_SIZE (NBNXN_GPU_CLUSTER_SIZE)
*/
#include "gmxpre.h"
+#include "nbnxn_kernel_ref.h"
+
#include "config.h"
-#include <math.h>
#include <assert.h>
+#include <math.h>
-#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/force.h"
#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
-
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/vec.h"
+#include "gromacs/mdlib/nb_verlet.h"
+#include "gromacs/mdlib/nbnxn_consts.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_common.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/utility/smalloc.h"
-#include "nbnxn_kernel_ref.h"
-#include "../nbnxn_consts.h"
-#include "nbnxn_kernel_common.h"
-#include "gromacs/mdlib/nb_verlet.h"
-
/*! \brief Typedefs for declaring lookup tables of kernel functions.
*/
/* Analytical reaction-field kernels */
#define CALC_COUL_RF
#define LJ_CUT
-#include "nbnxn_kernel_ref_includes.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
#undef LJ_CUT
#define LJ_FORCE_SWITCH
-#include "nbnxn_kernel_ref_includes.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
#undef LJ_FORCE_SWITCH
#define LJ_POT_SWITCH
-#include "nbnxn_kernel_ref_includes.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
#undef LJ_POT_SWITCH
#define LJ_EWALD
#define LJ_CUT
#define LJ_EWALD_COMB_GEOM
-#include "nbnxn_kernel_ref_includes.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
#undef LJ_EWALD_COMB_GEOM
#define LJ_EWALD_COMB_LB
-#include "nbnxn_kernel_ref_includes.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
#undef LJ_EWALD_COMB_LB
#undef LJ_CUT
#undef LJ_EWALD
/* Tabulated exclusion interaction electrostatics kernels */
#define CALC_COUL_TAB
#define LJ_CUT
-#include "nbnxn_kernel_ref_includes.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
#undef LJ_CUT
#define LJ_FORCE_SWITCH
-#include "nbnxn_kernel_ref_includes.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
#undef LJ_FORCE_SWITCH
#define LJ_POT_SWITCH
-#include "nbnxn_kernel_ref_includes.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
#undef LJ_POT_SWITCH
#define LJ_EWALD
#define LJ_CUT
#define LJ_EWALD_COMB_GEOM
-#include "nbnxn_kernel_ref_includes.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
#undef LJ_EWALD_COMB_GEOM
#define LJ_EWALD_COMB_LB
-#include "nbnxn_kernel_ref_includes.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
#undef LJ_EWALD_COMB_LB
#undef LJ_CUT
#undef LJ_EWALD
/* Twin-range cut-off kernels */
#define VDW_CUTOFF_CHECK
#define LJ_CUT
-#include "nbnxn_kernel_ref_includes.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
#undef LJ_CUT
#define LJ_FORCE_SWITCH
-#include "nbnxn_kernel_ref_includes.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
#undef LJ_FORCE_SWITCH
#define LJ_POT_SWITCH
-#include "nbnxn_kernel_ref_includes.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
#undef LJ_POT_SWITCH
#define LJ_EWALD
#define LJ_CUT
#define LJ_EWALD_COMB_GEOM
-#include "nbnxn_kernel_ref_includes.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
#undef LJ_EWALD_COMB_GEOM
#define LJ_EWALD_COMB_LB
-#include "nbnxn_kernel_ref_includes.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h"
#undef LJ_EWALD_COMB_LB
#undef LJ_CUT
#undef LJ_EWALD
*/
/* Include the force only kernels */
-#include "nbnxn_kernel_ref_outer.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_outer.h"
/* Include the force+energy kernels */
#define CALC_ENERGIES
-#include "nbnxn_kernel_ref_outer.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_outer.h"
#undef CALC_ENERGIES
/* Include the force+energygroups kernels */
#define CALC_ENERGIES
#define ENERGY_GROUPS
-#include "nbnxn_kernel_ref_outer.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_outer.h"
#undef ENERGY_GROUPS
#undef CALC_ENERGIES
{
#define CALC_COULOMB
#define HALF_LJ
-#include "nbnxn_kernel_ref_inner.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_inner.h"
#undef HALF_LJ
#undef CALC_COULOMB
}
else if (do_coul)
{
#define CALC_COULOMB
-#include "nbnxn_kernel_ref_inner.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_inner.h"
#undef CALC_COULOMB
}
else
{
-#include "nbnxn_kernel_ref_inner.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_inner.h"
}
#undef CHECK_EXCLS
cjind++;
{
#define CALC_COULOMB
#define HALF_LJ
-#include "nbnxn_kernel_ref_inner.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_inner.h"
#undef HALF_LJ
#undef CALC_COULOMB
}
else if (do_coul)
{
#define CALC_COULOMB
-#include "nbnxn_kernel_ref_inner.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_inner.h"
#undef CALC_COULOMB
}
else
{
-#include "nbnxn_kernel_ref_inner.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_inner.h"
}
}
ninner += cjind1 - cjind0;
#ifndef _nbnxn_kernel_simd_utils_h_
#define _nbnxn_kernel_simd_utils_h_
-#include "gromacs/legacyheaders/types/simple.h"
-
#include "config.h"
+#include "gromacs/legacyheaders/types/simple.h"
+
/*! \brief Provides hardware-specific utility routines for the SIMD kernels.
*
* Defines all functions, typedefs, constants and macros that have
return NULL;
}
-#include "nbnxn_kernel_simd_utils_ref.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_simd_utils_ref.h"
#else /* GMX_SIMD_REFERENCE */
#ifdef GMX_DOUBLE
#if GMX_SIMD_REAL_WIDTH == 2
-#include "nbnxn_kernel_simd_utils_x86_128d.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_simd_utils_x86_128d.h"
#else
-#include "nbnxn_kernel_simd_utils_x86_256d.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_simd_utils_x86_256d.h"
#endif
#else /* GMX_DOUBLE */
/* In single precision aligned FDV0 table loads are optimal */
#define TAB_FDV0
#if GMX_SIMD_REAL_WIDTH == 4
-#include "nbnxn_kernel_simd_utils_x86_128s.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_simd_utils_x86_128s.h"
#else
-#include "nbnxn_kernel_simd_utils_x86_256s.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_simd_utils_x86_256s.h"
#endif
#endif /* GMX_DOUBLE */
#endif
#ifdef GMX_SIMD_IBM_QPX
-#include "nbnxn_kernel_simd_utils_ibm_qpx.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_simd_utils_ibm_qpx.h"
#endif /* GMX_SIMD_IBM_QPX */
#ifdef __MIC__
-#include "nbnxn_kernel_simd_utils_x86_mic.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_simd_utils_x86_mic.h"
#endif
#endif /* GMX_TARGET_X86 && !__MIC__ */
#ifndef _nbnxn_kernel_simd_utils_x86_128s_h_
#define _nbnxn_kernel_simd_utils_x86_128s_h_
-#include "gromacs/legacyheaders/types/simple.h"
-
#include "config.h"
+#include "gromacs/legacyheaders/types/simple.h"
+
/* This files contains all functions/macros for the SIMD kernels
* which have explicit dependencies on the j-cluster size and/or SIMD-width.
* The functionality which depends on the j-cluster size is:
#include "config.h"
#include "gromacs/legacyheaders/typedefs.h"
-
#include "gromacs/mdlib/nb_verlet.h"
#include "gromacs/mdlib/nbnxn_simd.h"
#define GMX_SIMD_J_UNROLL_SIZE 2
#include "nbnxn_kernel_simd_2xnn.h"
-#include "../nbnxn_kernel_common.h"
+
#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
#include "gromacs/legacyheaders/types/force_flags.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_common.h"
#include "gromacs/utility/fatalerror.h"
/*! \brief Kinds of electrostatic treatments in SIMD Verlet kernels
*/
#include "gromacs/legacyheaders/typedefs.h"
-
#include "gromacs/mdlib/nbnxn_pairlist.h"
#include "gromacs/mdlib/nbnxn_simd.h"
* To help us fund GROMACS development, we humbly ask that you cite
* the research papers on the package. Check out http://www.gromacs.org.
*/
+#include "gromacs/mdlib/nbnxn_consts.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/simd/simd.h"
#include "gromacs/simd/simd_math.h"
#include "gromacs/simd/vector_operations.h"
-#include "../../nbnxn_consts.h"
#ifdef CALC_COUL_EWALD
#include "gromacs/math/utilities.h"
#endif
/* The stride of all the atom data arrays is equal to half the SIMD width */
#define STRIDE UNROLLJ
-#include "../nbnxn_kernel_simd_utils.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_simd_utils.h"
static gmx_inline void gmx_simdcall
gmx_load_simd_2xnn_interactions(int excl,
#define CHECK_EXCLS
while (cjind < cjind1 && nbl->cj[cjind].excl != NBNXN_INTERACTION_MASK_ALL)
{
-#include "nbnxn_kernel_simd_2xnn_inner.h"
+#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_inner.h"
cjind++;
}
#undef CHECK_EXCLS
for (; (cjind < cjind1); cjind++)
{
-#include "nbnxn_kernel_simd_2xnn_inner.h"
+#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_inner.h"
}
#undef HALF_LJ
#undef CALC_COULOMB
#define CHECK_EXCLS
while (cjind < cjind1 && nbl->cj[cjind].excl != NBNXN_INTERACTION_MASK_ALL)
{
-#include "nbnxn_kernel_simd_2xnn_inner.h"
+#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_inner.h"
cjind++;
}
#undef CHECK_EXCLS
for (; (cjind < cjind1); cjind++)
{
-#include "nbnxn_kernel_simd_2xnn_inner.h"
+#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_inner.h"
}
#undef CALC_COULOMB
}
#define CHECK_EXCLS
while (cjind < cjind1 && nbl->cj[cjind].excl != NBNXN_INTERACTION_MASK_ALL)
{
-#include "nbnxn_kernel_simd_2xnn_inner.h"
+#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_inner.h"
cjind++;
}
#undef CHECK_EXCLS
for (; (cjind < cjind1); cjind++)
{
-#include "nbnxn_kernel_simd_2xnn_inner.h"
+#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_inner.h"
}
}
#undef CALC_LJ
#include "config.h"
#include "gromacs/legacyheaders/typedefs.h"
-
#include "gromacs/mdlib/nb_verlet.h"
#include "gromacs/mdlib/nbnxn_simd.h"
#define GMX_SIMD_J_UNROLL_SIZE 1
#include "nbnxn_kernel_simd_4xn.h"
-#include "../nbnxn_kernel_common.h"
+
#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
#include "gromacs/legacyheaders/types/force_flags.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_common.h"
#include "gromacs/utility/fatalerror.h"
/*! \brief Kinds of electrostatic treatments in SIMD Verlet kernels
*/
#include "gromacs/legacyheaders/typedefs.h"
-
#include "gromacs/mdlib/nbnxn_pairlist.h"
#include "gromacs/mdlib/nbnxn_simd.h"
* To help us fund GROMACS development, we humbly ask that you cite
* the research papers on the package. Check out http://www.gromacs.org.
*/
+#include "gromacs/mdlib/nbnxn_consts.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/simd/simd.h"
#include "gromacs/simd/simd_math.h"
#include "gromacs/simd/vector_operations.h"
-#include "../../nbnxn_consts.h"
#ifdef CALC_COUL_EWALD
#include "gromacs/math/utilities.h"
#endif
#define STRIDE (UNROLLI)
#endif
-#include "../nbnxn_kernel_simd_utils.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_simd_utils.h"
static gmx_inline void gmx_simdcall
gmx_load_simd_4xn_interactions(int gmx_unused excl,
#define CHECK_EXCLS
while (cjind < cjind1 && nbl->cj[cjind].excl != NBNXN_INTERACTION_MASK_ALL)
{
-#include "nbnxn_kernel_simd_4xn_inner.h"
+#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_inner.h"
cjind++;
}
#undef CHECK_EXCLS
for (; (cjind < cjind1); cjind++)
{
-#include "nbnxn_kernel_simd_4xn_inner.h"
+#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_inner.h"
}
#undef HALF_LJ
#undef CALC_COULOMB
#define CHECK_EXCLS
while (cjind < cjind1 && nbl->cj[cjind].excl != NBNXN_INTERACTION_MASK_ALL)
{
-#include "nbnxn_kernel_simd_4xn_inner.h"
+#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_inner.h"
cjind++;
}
#undef CHECK_EXCLS
for (; (cjind < cjind1); cjind++)
{
-#include "nbnxn_kernel_simd_4xn_inner.h"
+#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_inner.h"
}
#undef CALC_COULOMB
}
#define CHECK_EXCLS
while (cjind < cjind1 && nbl->cj[cjind].excl != NBNXN_INTERACTION_MASK_ALL)
{
-#include "nbnxn_kernel_simd_4xn_inner.h"
+#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_inner.h"
cjind++;
}
#undef CHECK_EXCLS
for (; (cjind < cjind1); cjind++)
{
-#include "nbnxn_kernel_simd_4xn_inner.h"
+#include "gromacs/mdlib/nbnxn_kernels/simd_4xn/nbnxn_kernel_simd_4xn_inner.h"
}
}
#undef CALC_LJ
#define _nbnxn_pairlist_h
#include "thread_mpi/atomic.h"
+
#include "gromacs/legacyheaders/types/nblist.h"
#ifdef __cplusplus
#include "nbnxn_search.h"
+#include "config.h"
+
#include <assert.h>
#include <math.h>
#include <string.h>
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/utility/smalloc.h"
-#include "config.h"
-
/* nbnxn_internal.h included gromacs/simd/macros.h */
#include "gromacs/mdlib/nbnxn_internal.h"
#ifdef GMX_SIMD
#define _nbnxn_search_h
#include "gromacs/legacyheaders/typedefs.h"
-#include "nbnxn_pairlist.h"
+#include "gromacs/mdlib/nbnxn_pairlist.h"
#ifdef __cplusplus
extern "C" {
*/
/* Get the half-width SIMD stuff from the kernel utils files */
-#include "nbnxn_kernels/nbnxn_kernel_simd_utils.h"
+#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_simd_utils.h"
#if GMX_SIMD_REAL_WIDTH >= 2*NBNXN_CPU_CLUSTER_I_SIZE
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/types/nlistheuristics.h"
-
#include "gromacs/math/vec.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
*/
#include "gmxpre.h"
+#include "gromacs/legacyheaders/ns.h"
+
#include <math.h>
#include <stdlib.h>
#include <string.h>
+#include "gromacs/legacyheaders/domdec.h"
+#include "gromacs/legacyheaders/force.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/utilities.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/nsgrid.h"
-#include "gromacs/legacyheaders/force.h"
#include "gromacs/legacyheaders/nonbonded.h"
-#include "gromacs/legacyheaders/ns.h"
-#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/nsgrid.h"
#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/topology/mtop_util.h"
-
-#include "gromacs/legacyheaders/domdec.h"
-#include "adress.h"
-
+#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/math/utilities.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
+#include "adress.h"
+
/*
* E X C L U S I O N H A N D L I N G
*/
/* This file is completely threadsafe - keep it that way! */
#include "gmxpre.h"
+#include "gromacs/legacyheaders/nsgrid.h"
+
+#include <stdio.h>
#include <stdlib.h>
+#include "gromacs/fileio/pdbio.h"
+#include "gromacs/legacyheaders/domdec.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/network.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/nsgrid.h"
-#include "gromacs/utility/fatalerror.h"
#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/domdec.h"
#include "gromacs/pbcutil/pbc.h"
-#include <stdio.h>
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/futil.h"
-#include "gromacs/fileio/pdbio.h"
+#include "gromacs/utility/smalloc.h"
/***********************************
* Grid Routines
*/
#include "gmxpre.h"
+#include "gromacs/legacyheaders/perf_est.h"
+
#include <math.h>
+#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/math/vec.h"
+#include "gromacs/mdlib/nbnxn_consts.h"
+#include "gromacs/mdlib/nbnxn_search.h"
#include "gromacs/topology/topology.h"
#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/perf_est.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "nbnxn_search.h"
-#include "nbnxn_consts.h"
-
/* Computational cost of bonded, non-bonded and PME calculations.
* This will be machine dependent.
* The numbers here are accurate for Intel Core2 and AMD Athlon 64
#include "gmxpre.h"
+#include "gromacs/legacyheaders/pme.h"
+
#include "config.h"
#include <assert.h>
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/smalloc.h"
+#include "gromacs/fft/parallel_3dfft.h"
+#include "gromacs/fileio/pdbio.h"
#include "gromacs/legacyheaders/coulomb.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/pme.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/network.h"
-#include "gromacs/math/units.h"
#include "gromacs/legacyheaders/nrnb.h"
-#include "gromacs/legacyheaders/macros.h"
-
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/fft/parallel_3dfft.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/fileio/pdbio.h"
#include "gromacs/math/gmxcomplex.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
#include "gromacs/timing/cyclecounter.h"
#include "gromacs/timing/wallcycle.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/gmxmpi.h"
#include "gromacs/utility/gmxomp.h"
+#include "gromacs/utility/smalloc.h"
/* Include the SIMD macro file and then check for support */
#include "gromacs/simd/simd.h"
#define PME_SPREAD_SIMD4_ALIGNED
#define PME_ORDER 4
#endif
-#include "pme_simd4.h"
+#include "gromacs/mdlib/pme_simd4.h"
#else
DO_BSPLINE(4);
#endif
#ifdef PME_SIMD4_SPREAD_GATHER
#define PME_SPREAD_SIMD4_ALIGNED
#define PME_ORDER 5
-#include "pme_simd4.h"
+#include "gromacs/mdlib/pme_simd4.h"
#else
DO_BSPLINE(5);
#endif
#define PME_GATHER_F_SIMD4_ALIGNED
#define PME_ORDER 4
#endif
-#include "pme_simd4.h"
+#include "gromacs/mdlib/pme_simd4.h"
#else
DO_FSPLINE(4);
#endif
#ifdef PME_SIMD4_SPREAD_GATHER
#define PME_GATHER_F_SIMD4_ALIGNED
#define PME_ORDER 5
-#include "pme_simd4.h"
+#include "gromacs/mdlib/pme_simd4.h"
#else
DO_FSPLINE(5);
#endif
#include "config.h"
-
+#include <math.h>
#include <stdio.h>
#include <string.h>
-#include <math.h>
+
+#include "gromacs/legacyheaders/domdec.h"
+#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/pme.h"
+#include "gromacs/legacyheaders/sighandler.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/utility/fatalerror.h"
#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/pme.h"
-#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/domdec.h"
-#include "gromacs/legacyheaders/sighandler.h"
-
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/gmxmpi.h"
+#include "gromacs/utility/smalloc.h"
enum {
eCommType_ChargeA, eCommType_ChargeB, eCommType_SQRTC6A, eCommType_SQRTC6B,
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/math/units.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/force.h"
#include "gromacs/fileio/confio.h"
+#include "gromacs/legacyheaders/force.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/ns.h"
#include "gromacs/legacyheaders/nrnb.h"
-#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/ns.h"
#include "gromacs/legacyheaders/qmmm.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
/* QMMM sub routines */
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/math/units.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/force.h"
#include "gromacs/fileio/confio.h"
+#include "gromacs/legacyheaders/force.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/ns.h"
#include "gromacs/legacyheaders/nrnb.h"
-#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/ns.h"
#include "gromacs/legacyheaders/qmmm.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
/* TODO: this should be made thread-safe */
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/math/units.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/force.h"
#include "gromacs/fileio/confio.h"
+#include "gromacs/legacyheaders/force.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/ns.h"
#include "gromacs/legacyheaders/nrnb.h"
-#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/ns.h"
#include "gromacs/legacyheaders/qmmm.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
/* mopac interface routines */
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/math/units.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/force.h"
#include "gromacs/fileio/confio.h"
+#include "gromacs/legacyheaders/force.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/ns.h"
#include "gromacs/legacyheaders/nrnb.h"
-#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/ns.h"
#include "gromacs/legacyheaders/qmmm.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
/* ORCA interface routines */
*/
#include "gmxpre.h"
+#include "gromacs/legacyheaders/qmmm.h"
+
#include "config.h"
#include <math.h>
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/units.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/force.h"
#include "gromacs/fileio/confio.h"
+#include "gromacs/legacyheaders/force.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/ns.h"
#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/ns.h"
#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/legacyheaders/qmmm.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/topology/mtop_util.h"
-
+#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
*/
#include "gmxpre.h"
-#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/legacyheaders/force.h"
#include "gromacs/legacyheaders/names.h"
-#include "gromacs/legacyheaders/copyrite.h"
-
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/pbcutil/mshift.h"
#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/math/units.h"
-#include "gromacs/math/vec.h"
real RF_excl_correction(const t_forcerec *fr, t_graph *g,
const t_mdatoms *mdatoms, const t_blocka *excl,
#include <math.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/smalloc.h"
+#include "gromacs/legacyheaders/constr.h"
+#include "gromacs/legacyheaders/nrnb.h"
#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/nrnb.h"
-#include "gromacs/legacyheaders/constr.h"
+#include "gromacs/utility/smalloc.h"
typedef struct gmx_shakedata
{
*/
#include "gmxpre.h"
+#include "gromacs/legacyheaders/shellfc.h"
+
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/chargegroup.h"
+#include "gromacs/legacyheaders/constr.h"
+#include "gromacs/legacyheaders/domdec.h"
#include "gromacs/legacyheaders/force.h"
-#include "gromacs/legacyheaders/mdrun.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/mdatoms.h"
-#include "gromacs/legacyheaders/vsite.h"
-#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/mdrun.h"
#include "gromacs/legacyheaders/names.h"
-#include "gromacs/legacyheaders/constr.h"
-#include "gromacs/legacyheaders/domdec.h"
+#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/vsite.h"
+#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/math/units.h"
-#include "gromacs/legacyheaders/shellfc.h"
-#include "gromacs/topology/mtop_util.h"
-#include "gromacs/legacyheaders/chargegroup.h"
-#include "gromacs/legacyheaders/macros.h"
-
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/mshift.h"
#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/legacyheaders/sim_util.h"
+#include "config.h"
+
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
-#include "config.h"
-
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
-#include "gromacs/mdlib/adress.h"
#include "gromacs/mdlib/nb_verlet.h"
#include "gromacs/mdlib/nbnxn_atomdata.h"
#include "gromacs/mdlib/nbnxn_search.h"
#include "gromacs/utility/gmxmpi.h"
#include "gromacs/utility/smalloc.h"
+#include "adress.h"
+
void print_time(FILE *out,
gmx_walltime_accounting_t walltime_accounting,
gmx_int64_t step,
*/
#include "gmxpre.h"
-#include <string.h>
#include <stdio.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/math/utilities.h"
-#include "gromacs/legacyheaders/force.h"
-#include "gromacs/legacyheaders/vcm.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/rbin.h"
-#include "gromacs/legacyheaders/tgroup.h"
-#include "gromacs/fileio/xtcio.h"
+#include <string.h>
+
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/trnio.h"
-#include "gromacs/legacyheaders/domdec.h"
-#include "gromacs/legacyheaders/constr.h"
+#include "gromacs/fileio/xtcio.h"
#include "gromacs/legacyheaders/checkpoint.h"
+#include "gromacs/legacyheaders/constr.h"
+#include "gromacs/legacyheaders/domdec.h"
+#include "gromacs/legacyheaders/force.h"
#include "gromacs/legacyheaders/md_support.h"
#include "gromacs/legacyheaders/mdrun.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/rbin.h"
#include "gromacs/legacyheaders/sim_util.h"
+#include "gromacs/legacyheaders/tgroup.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/vcm.h"
+#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/math/utilities.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
typedef struct gmx_global_stat
{
*/
#include "gmxpre.h"
+#include "gromacs/legacyheaders/tables.h"
+
#include <math.h>
-#include "gromacs/math/utilities.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/utility/futil.h"
+
+#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/xvgr.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/network.h"
-#include "gromacs/math/units.h"
#include "gromacs/legacyheaders/force.h"
-#include "gromacs/fileio/gmxfio.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/tables.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/utilities.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
/* All the possible (implemented) table functions */
enum {
/* This file is completely threadsafe - keep it that way! */
#include "gmxpre.h"
+#include "gromacs/legacyheaders/tgroup.h"
+
#include <math.h>
+
+#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/legacyheaders/tgroup.h"
-#include "gromacs/math/vec.h"
#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/update.h"
#include "gromacs/legacyheaders/rbin.h"
+#include "gromacs/legacyheaders/update.h"
+#include "gromacs/math/vec.h"
#include "gromacs/topology/mtop_util.h"
-#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static void init_grptcstat(int ngtc, t_grp_tcstat tcstat[])
{
#include <string.h>
#include <time.h>
-#include "gromacs/legacyheaders/network.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/fileio/confio.h"
+#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/fileio/trxio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxlib/conformation-utilities.h"
#include "gromacs/legacyheaders/chargegroup.h"
+#include "gromacs/legacyheaders/constr.h"
+#include "gromacs/legacyheaders/domdec.h"
#include "gromacs/legacyheaders/force.h"
#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/mdatoms.h"
+#include "gromacs/legacyheaders/mdebin.h"
+#include "gromacs/legacyheaders/mdrun.h"
#include "gromacs/legacyheaders/names.h"
-#include "gromacs/utility/fatalerror.h"
+#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/ns.h"
+#include "gromacs/legacyheaders/pme.h"
+#include "gromacs/legacyheaders/tgroup.h"
#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/legacyheaders/update.h"
-#include "gromacs/legacyheaders/constr.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/tgroup.h"
-#include "gromacs/legacyheaders/mdebin.h"
#include "gromacs/legacyheaders/vsite.h"
-#include "gromacs/legacyheaders/force.h"
-#include "gromacs/legacyheaders/mdrun.h"
-#include "gromacs/legacyheaders/domdec.h"
-#include "gromacs/random/random.h"
-#include "gromacs/math/units.h"
-#include "gromacs/fileio/xvgr.h"
-#include "gromacs/legacyheaders/mdatoms.h"
-#include "gromacs/legacyheaders/ns.h"
-#include "gromacs/topology/mtop_util.h"
-#include "gromacs/legacyheaders/pme.h"
-#include "gromacs/gmxlib/conformation-utilities.h"
-
#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/fileio/confio.h"
-#include "gromacs/fileio/gmxfio.h"
-#include "gromacs/fileio/trxio.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/random/random.h"
#include "gromacs/timing/wallcycle.h"
#include "gromacs/timing/walltime_accounting.h"
+#include "gromacs/topology/mtop_util.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/smalloc.h"
static void global_max(t_commrec *cr, int *n)
{
*/
#include "gmxpre.h"
-#include <stdio.h>
+#include "gromacs/legacyheaders/update.h"
+
#include <math.h>
+#include <stdio.h>
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/nrnb.h"
-#include "gromacs/math/units.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/update.h"
-#include "gromacs/random/random.h"
-#include "gromacs/legacyheaders/tgroup.h"
-#include "gromacs/legacyheaders/force.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/legacyheaders/mdrun.h"
+#include "gromacs/fileio/confio.h"
#include "gromacs/legacyheaders/constr.h"
#include "gromacs/legacyheaders/disre.h"
-#include "gromacs/legacyheaders/orires.h"
+#include "gromacs/legacyheaders/force.h"
#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
-
-#include "gromacs/fileio/confio.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/mdrun.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/orires.h"
+#include "gromacs/legacyheaders/tgroup.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/mshift.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/pulling/pull.h"
+#include "gromacs/random/random.h"
#include "gromacs/timing/wallcycle.h"
#include "gromacs/utility/futil.h"
#include "gromacs/utility/gmxomp.h"
/* This file is completely threadsafe - keep it that way! */
#include "gmxpre.h"
-#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/vcm.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/smalloc.h"
+
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
-#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/utility/smalloc.h"
t_vcm *init_vcm(FILE *fp, gmx_groups_t *groups, t_inputrec *ir)
{
*/
#include "gmxpre.h"
+#include "gromacs/legacyheaders/vsite.h"
+
#include <stdio.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/vsite.h"
+#include "gromacs/legacyheaders/domdec.h"
+#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/network.h"
#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/domdec.h"
-#include "gromacs/topology/mtop_util.h"
-#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
-
#include "gromacs/pbcutil/ishift.h"
#include "gromacs/pbcutil/mshift.h"
#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/gmxomp.h"
#include "gromacs/utility/smalloc.h"
#include <math.h>
#include <string.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/fileio/filenm.h"
#include "gromacs/legacyheaders/force.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/nrnb.h"
-#include "gromacs/math/vec.h"
-
-#include "gromacs/fileio/filenm.h"
+#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/utilities.h"
+#include "gromacs/math/vec.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/smalloc.h"
#include <stdio.h>
#include <string.h>
+
+#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/legacyheaders/domdec.h"
#include "gromacs/legacyheaders/force.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/ns.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/ns.h"
+#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/macros.h"
#include "gromacs/utility/futil.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/legacyheaders/domdec.h"
-#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/utility/smalloc.h"
#define header "Neighborlist:"
/*
* 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>
-#include "../utility/common.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
/*
* 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 <string>
-#include "../utility/common.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
/*
* 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.
#ifndef GMX_ONLINEHELP_HELPTOPIC_H
#define GMX_ONLINEHELP_HELPTOPIC_H
-#include "../utility/common.h"
-#include "../utility/stringutil.h"
-#include "../utility/uniqueptr.h"
-
-#include "helptopicinterface.h"
+#include "gromacs/onlinehelp/helptopicinterface.h"
+#include "gromacs/utility/common.h"
+#include "gromacs/utility/stringutil.h"
+#include "gromacs/utility/uniqueptr.h"
namespace gmx
{
#ifndef GMX_ONLINEHELP_HELPTOPICINTERFACE_H
#define GMX_ONLINEHELP_HELPTOPICINTERFACE_H
-#include "../utility/uniqueptr.h"
+#include "gromacs/utility/uniqueptr.h"
namespace gmx
{
#include <string>
#include <vector>
-#include "../utility/common.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
*/
#include "gmxpre.h"
-#include <gtest/gtest.h>
-
#include "gromacs/onlinehelp/helpformat.h"
+#include <gtest/gtest.h>
+
#include "testutils/stringtest.h"
namespace
#ifndef GMX_OPTIONS_H
#define GMX_OPTIONS_H
-#include "fileio/filenm.h"
-#include "options/basicoptions.h"
-#include "options/filenameoption.h"
-#include "options/filenameoptionmanager.h"
-#include "options/options.h"
+#include "gromacs/fileio/filenm.h"
+#include "gromacs/options/basicoptions.h"
+#include "gromacs/options/filenameoption.h"
+#include "gromacs/options/filenameoptionmanager.h"
+#include "gromacs/options/options.h"
#endif
*/
#include "gmxpre.h"
-#include "gromacs/options/abstractoption.h"
+#include "abstractoption.h"
#include "gromacs/options/abstractoptionstorage.h"
#include "gromacs/options/optionflags.h"
#include <string>
#include <vector>
-#include "../utility/common.h"
-
-#include "optionflags.h"
+#include "gromacs/options/optionflags.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
#include <string>
-#include "../utility/common.h"
-
-#include "optionflags.h"
+#include "gromacs/options/optionflags.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
#include "gmxpre.h"
#include "basicoptions.h"
-#include "basicoptionstorage.h"
#include <cerrno>
#include <cstdio>
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/stringutil.h"
+#include "basicoptionstorage.h"
+
namespace
{
#include <string>
-#include "../utility/basedefinitions.h"
-#include "../utility/gmxassert.h"
-
-#include "abstractoption.h"
+#include "gromacs/options/abstractoption.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/gmxassert.h"
namespace gmx
{
#include <string>
#include <vector>
-#include "basicoptions.h"
-#include "optionstoragetemplate.h"
+#include "gromacs/options/basicoptions.h"
+#include "gromacs/options/optionstoragetemplate.h"
namespace gmx
{
#include "gmxpre.h"
#include "filenameoption.h"
-#include "filenameoptionstorage.h"
#include <cstring>
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/stringutil.h"
+#include "filenameoptionstorage.h"
+
namespace gmx
{
#include <string>
#include <vector>
-#include "abstractoption.h"
-#include "optionfiletype.h"
+#include "gromacs/options/abstractoption.h"
+#include "gromacs/options/optionfiletype.h"
namespace gmx
{
#include <string>
-#include "options.h"
-
-#include "../utility/common.h"
+#include "gromacs/options/options.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
#include <string>
#include <vector>
-#include "filenameoption.h"
-#include "optionfiletype.h"
-#include "optionstoragetemplate.h"
+#include "gromacs/options/filenameoption.h"
+#include "gromacs/options/optionfiletype.h"
+#include "gromacs/options/optionstoragetemplate.h"
namespace gmx
{
#ifndef GMX_OPTIONS_OPTIONFLAGS_H
#define GMX_OPTIONS_OPTIONFLAGS_H
-#include "../utility/flags.h"
+#include "gromacs/utility/flags.h"
namespace gmx
{
#include <string>
#include <vector>
-#include "abstractoption.h"
-#include "optionmanagercontainer.h"
-#include "options.h"
+#include "gromacs/options/abstractoption.h"
+#include "gromacs/options/optionmanagercontainer.h"
+#include "gromacs/options/options.h"
#include "gromacs/utility/uniqueptr.h"
namespace gmx
*/
#include "gmxpre.h"
-#include "gromacs/options/options.h"
+#include "options.h"
#include "gromacs/options/abstractoption.h"
#include "gromacs/options/abstractoptionstorage.h"
#include <string>
-#include "../utility/common.h"
-#include "../utility/gmxassert.h"
-
-#include "abstractoption.h"
+#include "gromacs/options/abstractoption.h"
+#include "gromacs/utility/common.h"
+#include "gromacs/utility/gmxassert.h"
namespace gmx
{
*/
#include "gmxpre.h"
-#include "gromacs/options/optionsassigner.h"
+#include "optionsassigner.h"
#include <deque>
/*
* 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 <string>
-#include "../utility/common.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
#include <boost/scoped_ptr.hpp>
-#include "../utility/common.h"
-#include "../utility/exceptions.h"
-#include "../utility/gmxassert.h"
-
-#include "abstractoption.h"
-#include "abstractoptionstorage.h"
+#include "gromacs/options/abstractoption.h"
+#include "gromacs/options/abstractoptionstorage.h"
+#include "gromacs/utility/common.h"
+#include "gromacs/utility/exceptions.h"
+#include "gromacs/utility/gmxassert.h"
namespace gmx
{
*/
#include "gmxpre.h"
-#include "gromacs/options/optionsvisitor.h"
+#include "optionsvisitor.h"
#include "gromacs/options/abstractoptionstorage.h"
#include "gromacs/options/options.h"
/*
* 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 <string>
-#include "../utility/common.h"
-
-#include "abstractoption.h"
+#include "gromacs/options/abstractoption.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
*/
#include "gmxpre.h"
-#include <vector>
#include <string>
+#include <vector>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "gromacs/options/abstractoption.h"
#include "gromacs/options/options.h"
-#include "gromacs/options/optionstoragetemplate.h"
#include "gromacs/options/optionsassigner.h"
+#include "gromacs/options/optionstoragetemplate.h"
#include "gromacs/utility/exceptions.h"
#include "testutils/testasserts.h"
*/
#include "gmxpre.h"
-#include <vector>
#include <string>
+#include <vector>
#include <gtest/gtest.h>
*/
#include "gmxpre.h"
+#include "gromacs/options/optionsassigner.h"
+
#include <limits>
#include <vector>
#include "gromacs/options/basicoptions.h"
#include "gromacs/options/options.h"
-#include "gromacs/options/optionsassigner.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/stringutil.h"
*/
#include "gmxpre.h"
+#include "gromacs/options/timeunitmanager.h"
+
#include <gtest/gtest.h>
#include "gromacs/options/basicoptions.h"
#include "gromacs/options/options.h"
#include "gromacs/options/optionsassigner.h"
-#include "gromacs/options/timeunitmanager.h"
#include "testutils/testasserts.h"
*/
#include "gmxpre.h"
-#include "gromacs/options/timeunitmanager.h"
+#include "timeunitmanager.h"
#include <cstdlib>
#ifndef GMX_OPTIONS_TIMEUNITMANAGER_H
#define GMX_OPTIONS_TIMEUNITMANAGER_H
-#include "../utility/gmxassert.h"
+#include "gromacs/utility/gmxassert.h"
namespace gmx
{
*/
#include "gmxpre.h"
-#include "gromacs/pbcutil/mshift.h"
+#include "mshift.h"
#include <string.h>
#include <algorithm>
#include "gromacs/legacyheaders/types/ifunc.h"
-
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/utility/fatalerror.h"
*/
#include "gmxpre.h"
-#include "gromacs/pbcutil/pbc.h"
+#include "pbc.h"
#include <assert.h>
#include <math.h>
-#include "gromacs/legacyheaders/types/inputrec.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/gmx_omp_nthreads.h"
-
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/legacyheaders/types/inputrec.h"
#include "gromacs/math/utilities.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/ishift.h"
#include <stdio.h>
-#include "../legacyheaders/types/commrec_fwd.h"
-#include "../legacyheaders/types/inputrec.h"
-#include "../math/vectypes.h"
-#include "../utility/basedefinitions.h"
-#include "../utility/real.h"
+#include "gromacs/legacyheaders/types/commrec_fwd.h"
+#include "gromacs/legacyheaders/types/inputrec.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
-#include "gromacs/pbcutil/rmpbc.h"
+#include "rmpbc.h"
#include "gromacs/fileio/trx.h"
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/topology/atoms.h"
#include "gromacs/topology/idef.h"
-#include "gromacs/utility/futil.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
typedef struct {
#ifndef GMX_PBCUTIL_RMPBC_H
#define GMX_PBCUTIL_RMPBC_H
-#include "../math/vectypes.h"
+#include "gromacs/math/vectypes.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
+#include "pull.h"
+
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "gromacs/utility/futil.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/network.h"
-#include "pull.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/topology/mtop_util.h"
-#include "gromacs/legacyheaders/mdrun.h"
-#include "gromacs/legacyheaders/gmx_ga2la.h"
-#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/legacyheaders/macros.h"
-
#include "gromacs/fileio/filenm.h"
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/xvgr.h"
+#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/gmx_ga2la.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/mdrun.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/commrec.h"
#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/topology/mtop_util.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
static void pull_print_group_x(FILE *out, ivec dim, const t_pull_group *pgrp)
#ifndef GMX_PULLING_PULL_H
#define GMX_PULLING_PULL_H
+#include "gromacs/fileio/filenm.h"
#include "gromacs/legacyheaders/typedefs.h"
-#include "../fileio/filenm.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
+#include "pull_rotation.h"
+
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include "gromacs/legacyheaders/domdec.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/network.h"
-#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/legacyheaders/mdrun.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/topology/mtop_util.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/legacyheaders/gmx_ga2la.h"
+#include "gromacs/fileio/gmxfio.h"
+#include "gromacs/fileio/trnio.h"
#include "gromacs/fileio/xvgr.h"
#include "gromacs/legacyheaders/copyrite.h"
+#include "gromacs/legacyheaders/domdec.h"
+#include "gromacs/legacyheaders/gmx_ga2la.h"
#include "gromacs/legacyheaders/macros.h"
-
-#include "gromacs/utility/futil.h"
-#include "gromacs/fileio/gmxfio.h"
-#include "gromacs/fileio/trnio.h"
+#include "gromacs/legacyheaders/mdrun.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/linearalgebra/nrjac.h"
+#include "gromacs/math/utilities.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/mdlib/groupcoord.h"
+#include "gromacs/pbcutil/pbc.h"
#include "gromacs/timing/cyclecounter.h"
#include "gromacs/timing/wallcycle.h"
+#include "gromacs/topology/mtop_util.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/qsort_threadsafe.h"
-#include "gromacs/pulling/pull_rotation.h"
-#include "gromacs/mdlib/groupcoord.h"
-#include "gromacs/math/utilities.h"
+#include "gromacs/utility/smalloc.h"
static char *RotStr = {"Enforced rotation:"};
#ifndef GMX_PULLING_PULL_ROTATION_H
#define GMX_PULLING_PULL_ROTATION_H
+#include "gromacs/fileio/filenm.h"
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/timing/wallcycle.h"
-#include "../fileio/filenm.h"
#ifdef __cplusplus
#include <stdlib.h>
-#include "gromacs/utility/futil.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/types/commrec.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/macros.h"
#include "gromacs/fileio/confio.h"
+#include "gromacs/legacyheaders/gmx_ga2la.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/network.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
-#include "pull.h"
-#include "gromacs/legacyheaders/gmx_ga2la.h"
+#include "gromacs/pulling/pull.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static void pull_set_pbcatom(t_commrec *cr, t_pull_group *pgrp,
rvec *x,
#include "random.h"
+#include "config.h"
+
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
-#include "config.h"
-
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <process.h>
#endif
+#include "external/Random123-1.08/include/Random123/threefry.h"
+
#include "gromacs/math/utilities.h"
#include "gromacs/random/random_gausstable.h"
-#include "external/Random123-1.08/include/Random123/threefry.h"
-
#define RNG_N 624
#define RNG_M 397
#define RNG_MATRIX_A 0x9908b0dfUL /* constant vector a */
/*
* 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.
#ifndef GMX_SELECTION_H
#define GMX_SELECTION_H
-#include "selection/selection.h"
-#include "selection/selectioncollection.h"
-#include "selection/selectionoption.h"
-#include "selection/selectionoptionmanager.h"
+#include "gromacs/selection/selection.h"
+#include "gromacs/selection/selectioncollection.h"
+#include "gromacs/selection/selectionoption.h"
+#include "gromacs/selection/selectionoptionmanager.h"
#endif
*/
#include "gmxpre.h"
-#include "gromacs/selection/centerofmass.h"
+#include "centerofmass.h"
#include <errno.h>
#ifndef GMX_SELECTION_CENTEROFMASS_H
#define GMX_SELECTION_CENTEROFMASS_H
-#include "../legacyheaders/types/simple.h"
-#include "../math/vectypes.h"
+#include "gromacs/legacyheaders/types/simple.h"
+#include "gromacs/math/vectypes.h"
struct t_block;
struct t_blocka;
#include "compiler.h"
-#include <algorithm>
-
#include <math.h>
#include <stdarg.h>
+#include <algorithm>
+
#include "gromacs/math/vec.h"
#include "gromacs/selection/indexutil.h"
-#include "gromacs/selection/poscalc.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 "keywords.h"
#include "mempool.h"
+#include "poscalc.h"
#include "selectioncollection-impl.h"
#include "selelem.h"
+#include "selmethod.h"
using std::min;
using gmx::SelectionTreeElement;
*/
#include "gmxpre.h"
+#include "evaluate.h"
+
#include <string.h>
#include "gromacs/math/utilities.h"
#include "gromacs/math/vec.h"
#include "gromacs/selection/indexutil.h"
-#include "gromacs/selection/poscalc.h"
#include "gromacs/selection/selection.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"
+#include "poscalc.h"
#include "selectioncollection-impl.h"
#include "selelem.h"
+#include "selmethod.h"
using gmx::SelectionTreeElement;
using gmx::SelectionTreeElementPointer;
*/
#include "gmxpre.h"
-#include "gromacs/selection/indexutil.h"
+#include "indexutil.h"
#include <cstdlib>
#include <cstring>
#include <string>
-#include "../legacyheaders/types/simple.h"
-#include "../topology/block.h"
+#include "gromacs/legacyheaders/types/simple.h"
+#include "gromacs/topology/block.h"
struct t_topology;
*/
#include "gmxpre.h"
+#include "mempool.h"
+
#include <stdlib.h>
#include <new>
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/smalloc.h"
-#include "mempool.h"
-
//! Alignment in bytes for all returned blocks.
#define ALIGN_STEP 8
*/
#include "gmxpre.h"
-#include "gromacs/selection/nbsearch.h"
+#include "nbsearch.h"
#include <cmath>
#include <cstring>
#include "thread_mpi/mutex.h"
#include "gromacs/legacyheaders/names.h"
-
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/selection/position.h"
#include <boost/shared_ptr.hpp>
-#include "../math/vectypes.h"
-#include "../utility/arrayref.h"
-#include "../utility/common.h"
-#include "../utility/gmxassert.h"
-#include "../utility/real.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/arrayref.h"
+#include "gromacs/utility/common.h"
+#include "gromacs/utility/gmxassert.h"
+#include "gromacs/utility/real.h"
struct t_blocka;
struct t_pbc;
#include "gromacs/math/vec.h"
#include "gromacs/selection/position.h"
-#include "gromacs/selection/selmethod.h"
-#include "gromacs/selection/selparam.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/stringutil.h"
#include "parsetree.h"
-#include "position.h"
#include "scanner.h"
#include "selelem.h"
+#include "selmethod.h"
+#include "selparam.h"
using gmx::SelectionParserValue;
using gmx::SelectionParserValueList;
#ifndef GMX_SELECTION_PARSER_INTERNAL_H
#define GMX_SELECTION_PARSER_INTERNAL_H
+#include "config.h"
+
#include <exception>
#include <boost/scoped_ptr.hpp>
#include "gromacs/utility/gmxassert.h"
#include "parsetree.h"
-#include "selelem.h"
-
#include "scanner.h"
-
-#include "config.h"
+#include "selelem.h"
//! Error handler needed by Bison.
static void
*/
#include "gmxpre.h"
-#include <stdio.h>
+#include "parsetree.h"
+
#include <stdarg.h>
+#include <stdio.h>
#include <boost/exception_ptr.hpp>
#include <boost/shared_ptr.hpp>
-#include "gromacs/selection/poscalc.h"
#include "gromacs/selection/selection.h"
-#include "gromacs/selection/selmethod.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/file.h"
#include "gromacs/utility/stringutil.h"
#include "keywords.h"
-#include "parsetree.h"
+#include "poscalc.h"
+#include "scanner.h"
#include "selectioncollection-impl.h"
#include "selelem.h"
+#include "selmethod.h"
#include "symrec.h"
-#include "scanner.h"
-
using gmx::SelectionParserValue;
using gmx::SelectionParserValueList;
using gmx::SelectionParserValueListPointer;
*/
#include "gmxpre.h"
+#include "poscalc.h"
+
#include <string.h>
#include <algorithm>
#include "gromacs/fileio/trx.h"
#include "gromacs/math/vec.h"
-#include "gromacs/selection/centerofmass.h"
#include "gromacs/selection/indexutil.h"
-#include "gromacs/selection/poscalc.h"
#include "gromacs/selection/position.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/smalloc.h"
+#include "centerofmass.h"
+
namespace gmx
{
#include <cstdio>
-#include "../utility/common.h"
+#include "gromacs/utility/common.h"
/*! \name Flags for position calculation.
* \anchor poscalc_flags
*/
#include "gmxpre.h"
-#include "gromacs/selection/position.h"
+#include "position.h"
#include <string.h>
#ifndef GMX_SELECTION_POSITION_H
#define GMX_SELECTION_POSITION_H
-#include "../math/vectypes.h"
-
-#include "indexutil.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/selection/indexutil.h"
/*! \brief
* Stores a set of positions together with their origins.
*/
#include "gmxpre.h"
+#include "scanner_internal.h"
+
#include <stdlib.h>
#include <string.h>
#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/stringutil.h"
+#include "parser.h"
#include "parsetree.h"
+#include "scanner.h"
#include "selectioncollection-impl.h"
#include "selelem.h"
#include "selmethod.h"
#include "symrec.h"
-#include "parser.h"
-#include "scanner.h"
-#include "scanner_internal.h"
-
/*! \brief
* Step in which the allocated memory for pretty-printed input is incremented.
*/
#include "selection.h"
+#include "gromacs/selection/nbsearch.h"
+#include "gromacs/selection/position.h"
#include "gromacs/topology/topology.h"
-#include "nbsearch.h"
-#include "position.h"
#include "selelem.h"
#include "selvalue.h"
#include <string>
#include <vector>
-#include "../utility/arrayref.h"
-#include "../utility/common.h"
-#include "../utility/gmxassert.h"
-
-#include "position.h"
-#include "selectionenums.h"
+#include "gromacs/selection/position.h"
+#include "gromacs/selection/selectionenums.h"
+#include "gromacs/utility/arrayref.h"
+#include "gromacs/utility/common.h"
+#include "gromacs/utility/gmxassert.h"
struct t_topology;
#include <boost/scoped_ptr.hpp>
-#include "../onlinehelp/helptopicinterface.h"
-#include "../utility/uniqueptr.h"
-#include "indexutil.h"
+#include "gromacs/onlinehelp/helptopicinterface.h"
+#include "gromacs/selection/indexutil.h"
+#include "gromacs/selection/selection.h" // For gmx::SelectionList
+#include "gromacs/selection/selectioncollection.h"
+#include "gromacs/utility/uniqueptr.h"
+
#include "poscalc.h"
-#include "selection.h" // For gmx::SelectionList
-#include "selectioncollection.h"
#include "selelem.h"
struct gmx_sel_mempool_t;
#include <boost/shared_ptr.hpp>
-#include "gromacs/legacyheaders/oenv.h"
-
#include "gromacs/fileio/trx.h"
+#include "gromacs/legacyheaders/oenv.h"
#include "gromacs/onlinehelp/helpmanager.h"
#include "gromacs/onlinehelp/helpwritercontext.h"
#include "gromacs/options/basicoptions.h"
#include "gromacs/options/options.h"
#include "gromacs/selection/selection.h"
+#include "gromacs/selection/selhelp.h"
#include "gromacs/topology/topology.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/file.h"
#include "parser.h"
#include "poscalc.h"
#include "scanner.h"
-#include "selection.h"
#include "selectioncollection-impl.h"
#include "selelem.h"
-#include "selhelp.h"
#include "selmethod.h"
#include "symrec.h"
#include <string>
#include <vector>
-#include "../legacyheaders/types/oenv.h"
-
-#include "../utility/common.h"
-#include "selection.h" // For gmx::SelectionList
+#include "gromacs/legacyheaders/types/oenv.h"
+#include "gromacs/selection/selection.h" // For gmx::SelectionList
+#include "gromacs/utility/common.h"
struct gmx_ana_indexgrps_t;
struct t_pbc;
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2010,2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 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.
#ifndef GMX_SELECTION_SELECTIONENUMS_H
#define GMX_SELECTION_SELECTIONENUMS_H
-#include "../utility/flags.h"
+#include "gromacs/utility/flags.h"
/*! \brief
* Defines the type of covered fraction.
#ifndef GMX_SELECTION_SELECTIONFILEOPTION_H
#define GMX_SELECTION_SELECTIONFILEOPTION_H
-#include "../options/abstractoption.h"
+#include "gromacs/options/abstractoption.h"
namespace gmx
{
#ifndef GMX_SELECTION_SELECTIONFILEOPTIONSTORAGE_H
#define GMX_SELECTION_SELECTIONFILEOPTIONSTORAGE_H
-#include "../options/abstractoptionstorage.h"
-#include "selectionfileoption.h"
+#include "gromacs/options/abstractoptionstorage.h"
+#include "gromacs/selection/selectionfileoption.h"
namespace gmx
{
#include "gmxpre.h"
#include "selectionoption.h"
-#include "selectionfileoption.h"
-#include "selectionoptionstorage.h"
-#include "selectionfileoptionstorage.h"
#include <string>
#include "gromacs/options/optionmanagercontainer.h"
#include "gromacs/selection/selection.h"
+#include "gromacs/selection/selectionfileoption.h"
#include "gromacs/selection/selectionoptionmanager.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/messagestringcollector.h"
+#include "selectionfileoptionstorage.h"
+#include "selectionoptionstorage.h"
+
namespace gmx
{
#ifndef GMX_SELECTION_SELECTIONOPTION_H
#define GMX_SELECTION_SELECTIONOPTION_H
-#include "../options/abstractoption.h"
-
-#include "selection.h"
-#include "selectionenums.h"
+#include "gromacs/options/abstractoption.h"
+#include "gromacs/selection/selection.h"
+#include "gromacs/selection/selectionenums.h"
namespace gmx
{
#include "gromacs/selection/selection.h"
#include "gromacs/selection/selectioncollection.h"
-#include "gromacs/selection/selectionoption.h"
#include "gromacs/selection/selectionfileoption.h"
+#include "gromacs/selection/selectionoption.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/stringutil.h"
#include <string>
-#include "../options/options.h"
-#include "../utility/common.h"
+#include "gromacs/options/options.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
#include <string>
-#include "../options/optionstoragetemplate.h"
-#include "selection.h"
-#include "selectionenums.h"
-#include "selectionoption.h"
+#include "gromacs/options/optionstoragetemplate.h"
+#include "gromacs/selection/selection.h"
+#include "gromacs/selection/selectionenums.h"
+#include "gromacs/selection/selectionoption.h"
namespace gmx
{
*/
#include "gmxpre.h"
+#include "selelem.h"
+
#include <cstring>
#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 "keywords.h"
#include "mempool.h"
-#include "selelem.h"
+#include "poscalc.h"
#include "selmethod.h"
/*!
#include <boost/shared_ptr.hpp>
+#include "gromacs/selection/indexutil.h"
#include "gromacs/utility/common.h"
#include "gromacs/utility/real.h"
-#include "indexutil.h"
#include "selvalue.h"
struct gmx_ana_poscalc_t;
*/
#include "gmxpre.h"
+#include "selhelp.h"
+
#include <string>
-#include <vector>
#include <utility>
+#include <vector>
#include <boost/scoped_ptr.hpp>
#include "gromacs/utility/file.h"
#include "gromacs/utility/stringutil.h"
-#include "selhelp.h"
#include "selmethod.h"
#include "symrec.h"
#ifndef GMX_SELECTION_SELHELP_H
#define GMX_SELECTION_SELHELP_H
-#include "../onlinehelp/helptopicinterface.h"
+#include "gromacs/onlinehelp/helptopicinterface.h"
namespace gmx
{
*/
#include "gmxpre.h"
+#include "selmethod.h"
+
#include <ctype.h>
#include <stdarg.h>
#include "gromacs/legacyheaders/macros.h"
-
-#include "gromacs/selection/selmethod.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/exceptions.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2009,2010,2011,2013, by the GROMACS development team, led by
+ * Copyright (c) 2009,2010,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.
#ifndef GMX_SELECTION_SELPARAM_H
#define GMX_SELECTION_SELPARAM_H
-#include "indexutil.h"
+#include "gromacs/selection/indexutil.h"
+
#include "selvalue.h"
/*! \name Parameter flags
*/
#include "gmxpre.h"
+#include "selvalue.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"
#ifndef GMX_SELECTION_SELVALUE_H
#define GMX_SELECTION_SELVALUE_H
-#include "../utility/real.h"
+#include "gromacs/utility/real.h"
/** Defines the value type of a different selection objects. */
typedef enum
#include <cmath>
#include "gromacs/legacyheaders/macros.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"
+#include "selmethod.h"
+
/** Defines the comparison operator for comparison expressions. */
typedef enum
{
#include "gmxpre.h"
#include "gromacs/legacyheaders/macros.h"
-
#include "gromacs/math/vec.h"
#include "gromacs/selection/nbsearch.h"
#include "gromacs/selection/position.h"
-#include "gromacs/selection/selmethod.h"
#include "gromacs/utility/exceptions.h"
+#include "selmethod.h"
+
/*! \internal
* \brief
* Data structure for distance-based selection method.
*/
#include "gmxpre.h"
-#include <algorithm>
-
#include <math.h>
-#include "gromacs/legacyheaders/macros.h"
+#include <algorithm>
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/math/units.h"
#include "gromacs/math/utilities.h"
#include "gromacs/math/vec.h"
#include "gromacs/selection/indexutil.h"
#include "gromacs/selection/position.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 "selmethod.h"
using std::min;
using std::max;
#include <boost/shared_ptr.hpp>
#include "gromacs/legacyheaders/macros.h"
-
-#include "gromacs/selection/selmethod.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxregex.h"
#include "gromacs/utility/messagestringcollector.h"
-#include "gromacs/utility/stringutil.h"
#include "gromacs/utility/smalloc.h"
+#include "gromacs/utility/stringutil.h"
#include "keywords.h"
#include "parsetree.h"
#include "scanner.h"
#include "selelem.h"
+#include "selmethod.h"
/*! \brief
* Allocates data for integer keyword evaluation.
#include "gmxpre.h"
#include "gromacs/legacyheaders/macros.h"
-
#include "gromacs/math/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"
+#include "selmethod.h"
+
/*! \internal \brief
* Data structure for the merging selection modifiers.
*/
#include "gmxpre.h"
#include "gromacs/legacyheaders/macros.h"
-
#include "gromacs/math/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"
+#include "selmethod.h"
+
/*! \internal \brief
* Data structure for the \p permute selection modifier.
*/
#include "gmxpre.h"
#include "gromacs/legacyheaders/macros.h"
-
#include "gromacs/selection/indexutil.h"
-#include "gromacs/selection/poscalc.h"
#include "gromacs/selection/position.h"
-#include "gromacs/selection/selmethod.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/smalloc.h"
#include "keywords.h"
+#include "poscalc.h"
#include "selelem.h"
+#include "selmethod.h"
/*! \internal \brief
* Data structure for position keyword evaluation.
#include <stdlib.h>
#include "gromacs/legacyheaders/macros.h"
-
-#include "gromacs/selection/selmethod.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/smalloc.h"
#include "keywords.h"
#include "parsetree.h"
#include "selelem.h"
+#include "selmethod.h"
/*! \internal
* \brief
#include <cctype>
#include "gromacs/legacyheaders/macros.h"
-
-#include "gromacs/topology/topology.h"
#include "gromacs/selection/position.h"
-#include "gromacs/selection/selmethod.h"
+#include "gromacs/topology/topology.h"
#include "gromacs/utility/exceptions.h"
+#include "selmethod.h"
+
/** Evaluates the \p all selection keyword. */
static void
evaluate_all(t_topology *top, t_trxframe *fr, t_pbc *pbc,
*/
#include "gmxpre.h"
+#include "symrec.h"
+
#include <map>
#include <string>
#include <utility>
#include "gromacs/legacyheaders/macros.h"
-
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/stringutil.h"
#include "poscalc.h"
#include "selelem.h"
-#include "symrec.h"
namespace gmx
{
*/
#include "gmxpre.h"
+#include "gromacs/selection/indexutil.h"
+
#include <gtest/gtest.h>
-#include "gromacs/selection/indexutil.h"
#include "gromacs/topology/block.h"
#include "testutils/refdata.h"
#include "gromacs/selection/nbsearch.h"
-#include <gtest/gtest.h>
-
#include <cmath>
#include <algorithm>
#include <numeric>
#include <vector>
+#include <gtest/gtest.h>
+
#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/random/random.h"
*/
#include "gmxpre.h"
-#include <gtest/gtest.h>
+#include "gromacs/selection/poscalc.h"
#include <vector>
+#include <gtest/gtest.h>
+
#include "gromacs/fileio/trx.h"
#include "gromacs/math/vec.h"
#include "gromacs/selection/indexutil.h"
-#include "gromacs/selection/poscalc.h"
#include "gromacs/selection/position.h"
#include "gromacs/topology/topology.h"
#include "gromacs/utility/smalloc.h"
*/
#include "gmxpre.h"
+#include "gromacs/selection/selectioncollection.h"
+
#include <gtest/gtest.h>
#include "gromacs/fileio/trx.h"
#include "gromacs/options/basicoptions.h"
#include "gromacs/options/options.h"
#include "gromacs/selection/indexutil.h"
-#include "gromacs/selection/selectioncollection.h"
#include "gromacs/selection/selection.h"
#include "gromacs/topology/topology.h"
#include "gromacs/utility/arrayref.h"
*/
#include "gmxpre.h"
+#include "gromacs/selection/selectionoption.h"
+
#include <gtest/gtest.h>
#include "gromacs/options/options.h"
#include "gromacs/selection/selection.h"
#include "gromacs/selection/selectioncollection.h"
#include "gromacs/selection/selectionfileoption.h"
-#include "gromacs/selection/selectionoption.h"
#include "gromacs/selection/selectionoptionmanager.h"
#include "gromacs/utility/exceptions.h"
#include <cstring>
-#include "gromacs/math/vec.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trx.h"
#include "gromacs/fileio/trxio.h"
+#include "gromacs/math/vec.h"
#include "gromacs/topology/atoms.h"
#include "gromacs/topology/topology.h"
#include "gromacs/utility/gmxassert.h"
#ifndef GMX_SIMD_IMPL_INTEL_MIC_H
#define GMX_SIMD_IMPL_INTEL_MIC_H
+#include "config.h"
+
#include <math.h>
-#include <immintrin.h>
-#include "config.h"
+#include <immintrin.h>
/* Intel Xeon Phi, or
* the-artist-formerly-known-as-Knight's-corner, or
#ifndef GMX_SIMD_IMPL_X86_AVX2_256_H
#define GMX_SIMD_IMPL_X86_AVX2_256_H
+#include "config.h"
+
#include <math.h>
-#include <immintrin.h>
-#include "config.h"
+#include <immintrin.h>
/* x86 256-bit AVX2 SIMD instruction wrappers
*
#ifndef GMX_SIMD_IMPL_X86_AVX_128_FMA_H
#define GMX_SIMD_IMPL_X86_AVX_128_FMA_H
+#include "config.h"
+
#include <math.h>
+
#include <immintrin.h>
#include <x86intrin.h>
-#include "config.h"
-
/* x86 128-bit AVX with FMA SIMD instruction wrappers
*
* Please see documentation in gromacs/simd/simd.h for details
#ifndef GMX_SIMD_IMPL_X86_AVX_256_H
#define GMX_SIMD_IMPL_X86_AVX_256_H
+#include "config.h"
+
#include <math.h>
-#include <immintrin.h>
-#include "config.h"
+#include <immintrin.h>
/* It is cleaner to start the AVX implementation from scratch rather than
* first inheriting from SSE4.1, which in turn inherits from SSE2. However,
#ifndef GMX_SIMD_IMPL_X86_SSE2_H
#define GMX_SIMD_IMPL_X86_SSE2_H
+#include "config.h"
+
#include <math.h>
-#include <emmintrin.h>
-#include "config.h"
+#include <emmintrin.h>
/* Set capabilities that can be inherited */
#define GMX_SIMD_X86_SSE2_OR_HIGHER
#ifndef GMX_SIMD_IMPL_X86_SSE4_1_H
#define GMX_SIMD_IMPL_X86_SSE4_1_H
+#include "config.h"
+
#include <math.h>
-#include <smmintrin.h>
-#include "config.h"
+#include <smmintrin.h>
/* x86 SSE4.1 SIMD instruction wrappers
*
#ifndef GMX_SIMD_MATH_AVX_128_FMA_DOUBLE_H
#define GMX_SIMD_MATH_AVX_128_FMA_DOUBLE_H
-#include "simd_math.h"
+#include "gromacs/simd/simd_math.h"
/* Temporary:
* Alias some old SSE definitions to new SIMD definitions so we don't need
#ifndef GMX_SIMD_MATH_AVX_128_FMA_SINGLE_H
#define GMX_SIMD_MATH_AVX_128_FMA_SINGLE_H
-#include "simd_math.h"
+#include "gromacs/simd/simd_math.h"
/* Temporary:
* Alias some old SSE definitions to new SIMD definitions so we don't need
#ifndef GMX_SIMD_MATH_AVX_256_DOUBLE_H
#define GMX_SIMD_MATH_AVX_256_DOUBLE_H
-#include "simd_math.h"
+#include "gromacs/simd/simd_math.h"
/* Temporary:
* Alias some old SSE definitions to new SIMD definitions so we don't need
#ifndef GMX_SIMD_MATH_AVX_256_SINGLE_H
#define GMX_SIMD_MATH_AVX_256_SINGLE_H
-#include "simd_math.h"
+#include "gromacs/simd/simd_math.h"
/* Temporary:
* Alias some old SSE definitions to new SIMD definitions so we don't need
#ifndef GMX_SIMD_MATH_SSE2_DOUBLE_H
#define GMX_SIMD_MATH_SSE2_DOUBLE_H
-#include "simd_math.h"
+#include "gromacs/simd/simd_math.h"
/* Temporary:
* Alias some old SSE definitions to new SIMD definitions so we don't need
#ifndef GMX_SIMD_MATH_SSE2_SINGLE_H
#define GMX_SIMD_MATH_SSE2_SINGLE_H
-#include "simd_math.h"
+#include "gromacs/simd/simd_math.h"
/* Temporary:
* Alias some old SSE definitions to new SIMD definitions so we don't need
#ifndef GMX_SIMD_MATH_SSE4_1_DOUBLE_H
#define GMX_SIMD_MATH_SSE4_1_DOUBLE_H
-#include "simd_math.h"
+#include "gromacs/simd/simd_math.h"
/* Temporary:
* Alias some old SSE definitions to new SIMD definitions so we don't need
#ifndef GMX_SIMD_MATH_SSE4_1_SINGLE_H
#define GMX_SIMD_MATH_SSE4_1_SINGLE_H
-#include "simd_math.h"
+#include "gromacs/simd/simd_math.h"
/* Temporary:
* Alias some old SSE definitions to new SIMD definitions so we don't need
* file with different SIMD definitions for different files.
*/
#if defined __MIC__
-# include "gromacs/simd/impl_intel_mic/impl_intel_mic.h"
+# include "impl_intel_mic/impl_intel_mic.h"
#elif defined GMX_SIMD_X86_AVX2_256
-# include "gromacs/simd/impl_x86_avx2_256/impl_x86_avx2_256.h"
+# include "impl_x86_avx2_256/impl_x86_avx2_256.h"
#elif defined GMX_SIMD_X86_AVX_256
-# include "gromacs/simd/impl_x86_avx_256/impl_x86_avx_256.h"
+# include "impl_x86_avx_256/impl_x86_avx_256.h"
#elif defined GMX_SIMD_X86_AVX_128_FMA
-# include "gromacs/simd/impl_x86_avx_128_fma/impl_x86_avx_128_fma.h"
+# include "impl_x86_avx_128_fma/impl_x86_avx_128_fma.h"
#elif defined GMX_SIMD_X86_SSE4_1
-# include "gromacs/simd/impl_x86_sse4_1/impl_x86_sse4_1.h"
+# include "impl_x86_sse4_1/impl_x86_sse4_1.h"
#elif defined GMX_SIMD_X86_SSE2
-# include "gromacs/simd/impl_x86_sse2/impl_x86_sse2.h"
+# include "impl_x86_sse2/impl_x86_sse2.h"
#elif defined GMX_SIMD_ARM_NEON
-# include "gromacs/simd/impl_arm_neon/impl_arm_neon.h"
+# include "impl_arm_neon/impl_arm_neon.h"
#elif defined GMX_SIMD_ARM_NEON_ASIMD
-# include "gromacs/simd/impl_arm_neon_asimd/impl_arm_neon_asimd.h"
+# include "impl_arm_neon_asimd/impl_arm_neon_asimd.h"
#elif defined GMX_SIMD_IBM_QPX
-# include "gromacs/simd/impl_ibm_qpx/impl_ibm_qpx.h"
+# include "impl_ibm_qpx/impl_ibm_qpx.h"
#elif defined GMX_SIMD_SPARC64_HPC_ACE
-# include "gromacs/simd/impl_sparc64_hpc_ace/impl_sparc64_hpc_ace.h"
+# include "impl_sparc64_hpc_ace/impl_sparc64_hpc_ace.h"
#elif (defined GMX_SIMD_REFERENCE) || (defined DOXYGEN)
/* Plain C SIMD reference implementation, also serves as documentation.
* For now this code path will also be taken for Sparc64_HPC_ACE since we have
* not yet added the verlet kernel extensions there. The group kernels do not
* depend on this file, so they will still be accelerated with SIMD.
*/
-# include "gromacs/simd/impl_reference/impl_reference.h"
+# include "impl_reference/impl_reference.h"
#else
/* Turn off the GMX_SIMD flag if we do not even have reference support */
# undef GMX_SIMD
* \ingroup module_simd
*/
+#include "config.h"
+
#include <math.h>
#include "gromacs/math/utilities.h"
#include "gromacs/simd/simd.h"
-#include "config.h"
-
/*! \cond libapi */
/*! \addtogroup module_simd */
/*! \{ */
*/
#include "gmxpre.h"
+#include "base.h"
+
#include <math.h>
-#include "testutils/testoptions.h"
-#include "gromacs/options/options.h"
#include "gromacs/options/basicoptions.h"
+#include "gromacs/options/options.h"
-#include "base.h"
+#include "testutils/testoptions.h"
namespace gmx
{
* \ingroup module_simd
*/
#include <vector>
+
#include <gtest/gtest.h>
+
#include "gromacs/simd/simd.h"
#include "base.h"
*/
#include <vector>
+
#include <gtest/gtest.h>
+
#include "gromacs/simd/simd.h"
-#include "gromacs/simd/tests/base.h"
+
+#include "base.h"
namespace gmx
{
#include "gmxpre.h"
#include <math.h>
+
#include "gromacs/math/utilities.h"
#include "simd4.h"
#include "config.h"
#include <vector>
+
#include "gromacs/math/utilities.h"
+#include "gromacs/options/basicoptions.h"
#include "gromacs/simd/simd.h"
#include "gromacs/simd/simd_math.h"
-#include "gromacs/options/basicoptions.h"
#include "simd4.h"
#include "gmxpre.h"
#include <math.h>
+
#include "gromacs/simd/simd.h"
#include "gromacs/simd/vector_operations.h"
#include "gmxpre.h"
#include <math.h>
+
#include "gromacs/math/utilities.h"
#include "simd.h"
*/
#include "gmxpre.h"
+#include "gromacs/simd/simd_math.h"
+
#include "config.h"
#include <vector>
+
#include "gromacs/math/utilities.h"
-#include "gromacs/simd/simd.h"
-#include "gromacs/simd/simd_math.h"
#include "gromacs/options/basicoptions.h"
+#include "gromacs/simd/simd.h"
#include "simd.h"
#include "gmxpre.h"
#include <math.h>
+
#include "gromacs/simd/simd.h"
#include "gromacs/simd/vector_operations.h"
#ifndef GMX_SIMD_VECTOR_OPERATIONS_H
#define GMX_SIMD_VECTOR_OPERATIONS_H
-#include "gromacs/simd/simd.h"
-
#include "config.h"
+#include "gromacs/simd/simd.h"
+
/*! \cond libapi */
/*! \addtogroup module_simd */
/*! \{ */
*/
#include "gmxpre.h"
-#include "statistics.h"
-
#include <stdio.h>
#include "gromacs/math/vec.h"
#include "gromacs/random/random.h"
+#include "gromacs/statistics/statistics.h"
#include "gromacs/utility/real.h"
#include "gromacs/utility/smalloc.h"
*/
#include "gmxpre.h"
+#include "swapcoords.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/utility/cstringutil.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/mdlib/groupcoord.h"
-#include "gromacs/topology/mtop_util.h"
+#include "gromacs/fileio/confio.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
+#include "gromacs/legacyheaders/mdrun.h"
#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/mdrun.h"
-#include "gromacs/fileio/xvgr.h"
-#include "gromacs/legacyheaders/copyrite.h"
-#include "gromacs/fileio/confio.h"
-#include "gromacs/timing/wallcycle.h"
-#include "swapcoords.h"
-
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/mdlib/groupcoord.h"
#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/timing/wallcycle.h"
+#include "gromacs/topology/mtop_util.h"
+#include "gromacs/utility/cstringutil.h"
+#include "gromacs/utility/smalloc.h"
static char *SwS = {"SWAP:"}; /**< For output that comes from the swap module */
static char *SwSEmpty = {" "}; /**< Placeholder for multi-line output */
#include "cyclecounter.h"
-#include <time.h>
-
#include "config.h"
+#include <time.h>
+
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#elif defined(__xlC__) && defined (_AIX)
/* AIX compilers */
-#include <sys/time.h>
#include <sys/systemcfg.h>
+#include <sys/time.h>
typedef unsigned long long
gmx_cycles_t;
*/
#include "gmxpre.h"
-#include "gromacs/timing/wallcycle.h"
+#include "wallcycle.h"
#include "config.h"
#include "gromacs/legacyheaders/md_logging.h"
#include "gromacs/legacyheaders/types/commrec.h"
+#include "gromacs/timing/cyclecounter.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/gmxmpi.h"
#include "gromacs/utility/smalloc.h"
-#include "cyclecounter.h"
-
/* DEBUG_WCYCLE adds consistency checking for the counters.
* It checks if you stop a counter different from the last
* one that was opened and if you do nest too deep.
#include <stdio.h>
-#include "../legacyheaders/types/commrec_fwd.h"
-#include "../legacyheaders/types/nbnxn_cuda_types_ext.h"
-#include "../utility/basedefinitions.h"
+#include "gromacs/legacyheaders/types/commrec_fwd.h"
+#include "gromacs/legacyheaders/types/nbnxn_cuda_types_ext.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
#include "walltime_accounting.h"
-#include <time.h>
-
#include "config.h"
+#include <time.h>
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifndef GMX_TIMING_WALLTIME_ACCOUNTING_H
#define GMX_TIMING_WALLTIME_ACCOUNTING_H
-#include "../utility/basedefinitions.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
#include <stdio.h>
#include <string.h>
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/math/units.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/fileio/gmxfio.h"
-#include "gromacs/fileio/trnio.h"
-#include "gromacs/fileio/xtcio.h"
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/confio.h"
#include "gromacs/fileio/enxio.h"
+#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/tpxio.h"
+#include "gromacs/fileio/trnio.h"
#include "gromacs/fileio/trxio.h"
-
-#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/xtcio.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/math/units.h"
+#include "gromacs/math/vec.h"
#include "gromacs/pbcutil/pbc.h"
+#include "gromacs/tools/compare.h"
#include "gromacs/topology/atomprop.h"
#include "gromacs/topology/block.h"
+#include "gromacs/topology/index.h"
#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
-#include "compare.h"
-
typedef struct {
int bStep;
int bTime;
#include <math.h>
#include <stdio.h>
#include <string.h>
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/utility/smalloc.h"
-#include "gromacs/utility/futil.h"
-#include "gromacs/legacyheaders/txtdump.h"
-#include "gromacs/utility/fatalerror.h"
-#include "gromacs/legacyheaders/names.h"
+
+#include "gromacs/fileio/enxio.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/fileio/enxio.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/names.h"
+#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/topology/mtop_util.h"
#include "gromacs/utility/cstringutil.h"
+#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
+#include "gromacs/utility/smalloc.h"
static void cmp_int(FILE *fp, const char *s, int index, int i1, int i2)
{
#include <math.h>
+#include "gromacs/commandline/pargs.h"
+#include "gromacs/fileio/enxio.h"
+#include "gromacs/fileio/tpxio.h"
+#include "gromacs/fileio/trnio.h"
+#include "gromacs/gmxpreprocess/readir.h"
+#include "gromacs/legacyheaders/checkpoint.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/names.h"
#include "gromacs/legacyheaders/types/inputrec.h"
#include "gromacs/legacyheaders/types/simple.h"
#include "gromacs/legacyheaders/types/state.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/names.h"
-#include "gromacs/gmxpreprocess/readir.h"
-#include "gromacs/topology/mtop_util.h"
-#include "gromacs/legacyheaders/checkpoint.h"
-#include "gromacs/fileio/tpxio.h"
-#include "gromacs/fileio/trnio.h"
-#include "gromacs/fileio/enxio.h"
-#include "gromacs/utility/futil.h"
-
-#include "gromacs/commandline/pargs.h"
#include "gromacs/math/vec.h"
#include "gromacs/random/random.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/topology/mtop_util.h"
#include "gromacs/topology/topology.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
#define RANGECHK(i, n) if ((i) >= (n)) gmx_fatal(FARGS, "Your index file contains atomnumbers (e.g. %d)\nthat are larger than the number of atoms in the tpr file (%d)", (i), (n))
*/
#include "gmxpre.h"
+#include "config.h"
+
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
-#include "config.h"
-
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
*/
#include "gmxpre.h"
-#include "gromacs/topology/atomprop.h"
+#include "atomprop.h"
#include <ctype.h>
#include <string.h>
#ifndef GMX_TOPOLOGY_ATOMPROP_H
#define GMX_TOPOLOGY_ATOMPROP_H
-#include "../utility/basedefinitions.h"
-#include "../utility/real.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
-#include "gromacs/topology/atoms.h"
+#include "atoms.h"
#include <cstring>
#ifndef GMX_TOPOLOGY_ATOMS_H
#define GMX_TOPOLOGY_ATOMS_H
-#include "../utility/basedefinitions.h"
-#include "../utility/real.h"
+#include "gromacs/utility/basedefinitions.h"
+#include "gromacs/utility/real.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
+#include "block.h"
+
#include <algorithm>
-#include "gromacs/topology/block.h"
#include "gromacs/utility/smalloc.h"
#ifndef GMX_TOPOLOGY_BLOCK_H
#define GMX_TOPOLOGY_BLOCK_H
-#include "../legacyheaders/types/simple.h"
+#include "gromacs/legacyheaders/types/simple.h"
#ifdef __cplusplus
extern "C" {
#ifndef GMX_TOPOLOGY_IDEF_H
#define GMX_TOPOLOGY_IDEF_H
-#include "../legacyheaders/types/simple.h"
+#include "gromacs/legacyheaders/types/simple.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
-#include "gromacs/topology/index.h"
+#include "index.h"
#include <assert.h>
#include <ctype.h>
#include <algorithm>
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/legacyheaders/txtdump.h"
-
#include "gromacs/fileio/gmxfio.h"
#include "gromacs/fileio/strdb.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/txtdump.h"
#include "gromacs/topology/atoms.h"
#include "gromacs/topology/block.h"
#include "gromacs/topology/invblock.h"
#include <stdio.h>
-#include "../legacyheaders/types/simple.h"
+#include "gromacs/legacyheaders/types/simple.h"
#ifdef __cplusplus
extern "C" {
/* This file is completely threadsafe - keep it that way! */
#include "gmxpre.h"
-#include "gromacs/topology/invblock.h"
+#include "invblock.h"
#include "gromacs/legacyheaders/types/simple.h"
-
#include "gromacs/topology/block.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#ifndef GMX_TOPOLOGY_INVBLOCK_H
#define GMX_TOPOLOGY_INVBLOCK_H
-#include "../legacyheaders/types/simple.h"
+#include "gromacs/legacyheaders/types/simple.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
-#include "gromacs/topology/mtop_util.h"
+#include "mtop_util.h"
#include <stdlib.h>
#include <string.h>
#include "gromacs/legacyheaders/types/ifunc.h"
#include "gromacs/legacyheaders/types/inputrec.h"
-
#include "gromacs/topology/block.h"
#include "gromacs/topology/symtab.h"
#include "gromacs/topology/topology.h"
#ifndef GMX_TOPOLOGY_MTOP_UTIL_H
#define GMX_TOPOLOGY_MTOP_UTIL_H
-#include "../legacyheaders/types/inputrec.h"
-#include "../utility/basedefinitions.h"
+#include "gromacs/legacyheaders/types/inputrec.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
-#include "gromacs/topology/residuetypes.h"
+#include "residuetypes.h"
#include <cassert>
#include <cstdio>
#include <algorithm>
#include "gromacs/legacyheaders/txtdump.h"
-
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
*/
#include "gmxpre.h"
-#include "gromacs/topology/topology.h"
+#include "topology.h"
#include "gromacs/topology/symtab.h"
#include "gromacs/utility/smalloc.h"
#ifndef GMX_TOPOLOGY_TOPOLOGY_H
#define GMX_TOPOLOGY_TOPOLOGY_H
-#include "../math/vectypes.h"
-#include "atoms.h"
-#include "block.h"
-#include "idef.h"
-#include "symtab.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/topology/atoms.h"
+#include "gromacs/topology/block.h"
+#include "gromacs/topology/idef.h"
+#include "gromacs/topology/symtab.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
-#include "gromacs/topology/topsort.h"
+#include "topsort.h"
#include <stdio.h>
#include "gromacs/legacyheaders/types/ifunc.h"
-
#include "gromacs/topology/topology.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
#ifndef GMX_TRAJECTORYANALYSIS_H
#define GMX_TRAJECTORYANALYSIS_H
-#include "analysisdata.h"
-#include "options.h"
-#include "selection.h"
-
-#include "fileio/trx.h"
-#include "selection/nbsearch.h"
-#include "topology/topology.h"
-#include "trajectoryanalysis/analysismodule.h"
-#include "trajectoryanalysis/analysissettings.h"
-#include "trajectoryanalysis/cmdlinerunner.h"
-#include "utility/arrayref.h"
-#include "utility/exceptions.h"
+#include "gromacs/analysisdata.h"
+#include "gromacs/options.h"
+#include "gromacs/selection.h"
+#include "gromacs/fileio/trx.h"
+#include "gromacs/selection/nbsearch.h"
+#include "gromacs/topology/topology.h"
+#include "gromacs/trajectoryanalysis/analysismodule.h"
+#include "gromacs/trajectoryanalysis/analysissettings.h"
+#include "gromacs/trajectoryanalysis/cmdlinerunner.h"
+#include "gromacs/utility/arrayref.h"
+#include "gromacs/utility/exceptions.h"
#endif
*/
#include "gmxpre.h"
-#include "gromacs/trajectoryanalysis/analysismodule.h"
+#include "analysismodule.h"
#include <utility>
#include <boost/shared_ptr.hpp>
-#include "../selection/selection.h" // For gmx::SelectionList
-#include "../utility/common.h"
+#include "gromacs/selection/selection.h" // For gmx::SelectionList
+#include "gromacs/utility/common.h"
struct t_pbc;
struct t_trxframe;
/*
* 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.
#ifndef GMX_TRAJECTORYANALYSIS_ANALYSISSETTINGS_IMPL_H
#define GMX_TRAJECTORYANALYSIS_ANALYSISSETTINGS_IMPL_H
-#include "analysissettings.h"
-
-#include "../analysisdata/modules/plot.h"
-#include "../options/timeunitmanager.h"
+#include "gromacs/analysisdata/modules/plot.h"
+#include "gromacs/options/timeunitmanager.h"
+#include "gromacs/trajectoryanalysis/analysissettings.h"
namespace gmx
{
#ifndef GMX_TRAJECTORYANALYSIS_ANALYSISSETTINGS_H
#define GMX_TRAJECTORYANALYSIS_ANALYSISSETTINGS_H
-#include "../options/timeunitmanager.h"
-#include "../math/vectypes.h"
-#include "../utility/common.h"
+#include "gromacs/math/vectypes.h"
+#include "gromacs/options/timeunitmanager.h"
+#include "gromacs/utility/common.h"
struct t_topology;
#include "gromacs/selection/selectionoptionmanager.h"
#include "gromacs/trajectoryanalysis/analysismodule.h"
#include "gromacs/trajectoryanalysis/analysissettings.h"
-#include "gromacs/trajectoryanalysis/runnercommon.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/file.h"
#include "gromacs/utility/gmxassert.h"
+#include "runnercommon.h"
+
namespace gmx
{
/*
* 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.
#ifndef GMX_TRAJECTORYANALYSIS_CMDLINERUNNER_H
#define GMX_TRAJECTORYANALYSIS_CMDLINERUNNER_H
-#include "analysismodule.h"
-#include "../utility/common.h"
+#include "gromacs/trajectoryanalysis/analysismodule.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
*/
#include "gmxpre.h"
-#include "gromacs/trajectoryanalysis/modules.h"
+#include "modules.h"
#include "gromacs/commandline/cmdlinemodulemanager.h"
#include "gromacs/trajectoryanalysis/cmdlinerunner.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2011,2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 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.
#ifndef GMX_TRAJECTORYANALYSIS_MODULES_ANGLE_H
#define GMX_TRAJECTORYANALYSIS_MODULES_ANGLE_H
-#include "../analysismodule.h"
+#include "gromacs/trajectoryanalysis/analysismodule.h"
namespace gmx
{
/*
* 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.
#ifndef GMX_TRAJECTORYANALYSIS_MODULES_DISTANCE_H
#define GMX_TRAJECTORYANALYSIS_MODULES_DISTANCE_H
-#include "../analysismodule.h"
+#include "gromacs/trajectoryanalysis/analysismodule.h"
namespace gmx
{
#include <string>
-#include "gromacs/legacyheaders/copyrite.h"
-
#include "gromacs/analysisdata/analysisdata.h"
#include "gromacs/analysisdata/modules/average.h"
#include "gromacs/analysisdata/modules/plot.h"
#include "gromacs/fileio/trx.h"
+#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/math/vec.h"
#include "gromacs/options/basicoptions.h"
#include "gromacs/options/filenameoption.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.
#ifndef GMX_TRAJECTORYANALYSIS_MODULES_FREEVOLUME_H
#define GMX_TRAJECTORYANALYSIS_MODULES_FREEVOLUME_H
-#include "../analysismodule.h"
+#include "gromacs/trajectoryanalysis/analysismodule.h"
namespace gmx
{
#include <string>
#include <vector>
-#include "gromacs/legacyheaders/copyrite.h"
-
#include "gromacs/analysisdata/analysisdata.h"
#include "gromacs/analysisdata/modules/average.h"
#include "gromacs/analysisdata/modules/plot.h"
#include "gromacs/fileio/confio.h"
#include "gromacs/fileio/pdbio.h"
#include "gromacs/fileio/trx.h"
+#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
#include "gromacs/options/basicoptions.h"
#ifndef GMX_TRAJECTORYANALYSIS_MODULES_SASA_H
#define GMX_TRAJECTORYANALYSIS_MODULES_SASA_H
-#include "../analysismodule.h"
+#include "gromacs/trajectoryanalysis/analysismodule.h"
namespace gmx
{
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2011,2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 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.
#ifndef GMX_TRAJECTORYANALYSIS_MODULES_SELECT_H
#define GMX_TRAJECTORYANALYSIS_MODULES_SELECT_H
-#include "../analysismodule.h"
+#include "gromacs/trajectoryanalysis/analysismodule.h"
namespace gmx
{
#include <string.h>
-#include "gromacs/legacyheaders/oenv.h"
-
#include "gromacs/fileio/timecontrol.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trx.h"
#include "gromacs/fileio/trxio.h"
+#include "gromacs/legacyheaders/oenv.h"
#include "gromacs/math/vec.h"
#include "gromacs/options/basicoptions.h"
#include "gromacs/options/filenameoption.h"
*/
#include "gmxpre.h"
-#include <gtest/gtest.h>
-
#include "gromacs/trajectoryanalysis/modules/angle.h"
+#include <gtest/gtest.h>
+
#include "testutils/cmdlinetest.h"
#include "moduletest.h"
*/
#include "gmxpre.h"
-#include <gtest/gtest.h>
-
#include "gromacs/trajectoryanalysis/modules/distance.h"
+#include <gtest/gtest.h>
+
#include "testutils/cmdlinetest.h"
#include "moduletest.h"
*/
#include "gmxpre.h"
-#include <gtest/gtest.h>
-
#include "gromacs/trajectoryanalysis/modules/freevolume.h"
+#include <gtest/gtest.h>
+
#include "testutils/cmdlinetest.h"
#include "moduletest.h"
*/
#include "gmxpre.h"
-#include <gtest/gtest.h>
-
#include "gromacs/trajectoryanalysis/modules/sasa.h"
+#include <gtest/gtest.h>
+
#include "testutils/cmdlinetest.h"
#include "testutils/testasserts.h"
*/
#include "gmxpre.h"
-#include <gtest/gtest.h>
-
#include "gromacs/trajectoryanalysis/modules/select.h"
+#include <gtest/gtest.h>
+
#include "testutils/cmdlinetest.h"
#include "moduletest.h"
#ifndef GMX_UTILITY_H
#define GMX_UTILITY_H
-#include "utility/errorcodes.h"
-#include "utility/exceptions.h"
-#include "utility/gmxassert.h"
-#include "utility/init.h"
-#include "utility/programcontext.h"
+#include "gromacs/utility/errorcodes.h"
+#include "gromacs/utility/exceptions.h"
+#include "gromacs/utility/gmxassert.h"
+#include "gromacs/utility/init.h"
+#include "gromacs/utility/programcontext.h"
#endif
#include <utility>
#include <vector>
-#include "gmxassert.h"
+#include "gromacs/utility/gmxassert.h"
namespace gmx
{
#include "gmxpre.h"
#include "baseversion.h"
+
#include "baseversion-gen.h"
const char *gmx_version()
#include "cstringutil.h"
+#include "config.h"
+
#include <assert.h>
#include <ctype.h>
#include <stdio.h>
#include <sys/types.h>
-#include "config.h"
-
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifndef GMX_UTILITY_CSTRINGUTIL_H
#define GMX_UTILITY_CSTRINGUTIL_H
+#include "gromacs/utility/gmx_header_config.h"
+
#include <stdio.h>
#include <time.h>
-#include "basedefinitions.h"
-
-#include "gmx_header_config.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
*/
#include "gmxpre.h"
-#include "gromacs/utility/errorcodes.h"
+#include "errorcodes.h"
#include <cstdlib>
*/
#include "gmxpre.h"
-#include "config.h"
-
#include "errorformat.h"
+#include "config.h"
+
#include <cctype>
#include <cstdio>
#include <cstring>
#include <stdexcept>
#include <typeinfo>
-#include <boost/exception/get_error_info.hpp>
#include <boost/shared_ptr.hpp>
+#include <boost/exception/get_error_info.hpp>
#include "thread_mpi/system_error.h"
#include <vector>
#include <boost/exception_ptr.hpp>
+#include <boost/throw_exception.hpp>
#include <boost/exception/errinfo_api_function.hpp>
#include <boost/exception/errinfo_errno.hpp>
#include <boost/exception/exception.hpp>
#include <boost/exception/info.hpp>
-#include <boost/throw_exception.hpp>
namespace gmx
{
#include <stdarg.h>
#include <stdio.h>
-#include "basedefinitions.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
#include "file.h"
+#include "config.h"
+
#include <cerrno>
#include <cstdio>
#include <cstring>
#include <sys/stat.h>
-#include "config.h"
-
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <string>
-#include "common.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
*/
#include "gmxpre.h"
-#include "gromacs/utility/futil.h"
+#include "futil.h"
#include "config.h"
#include <stdlib.h>
#include <string.h>
-#include <sys/types.h>
-#include <sys/stat.h>
#include <fcntl.h>
+#include <sys/stat.h>
+#include <sys/types.h>
#ifdef HAVE_DIRENT_H
/* POSIX */
#endif
#ifdef GMX_NATIVE_WINDOWS
-#include <windows.h>
#include <direct.h>
#include <io.h>
+#include <windows.h>
#endif
/* Windows file stuff, only necessary for visual studio */
#include <limits.h>
#include <stdio.h>
-#include "basedefinitions.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
}
#endif
-#include "gmx_header_config.h"
+#include "gromacs/utility/gmx_header_config.h"
/*! \def DIR_SEPARATOR
* \brief
* Directory separator on this OS.
#include <boost/current_function.hpp>
-#include "basedefinitions.h"
+#include "gromacs/utility/basedefinitions.h"
//! \addtogroup module_utility
//! \{
#endif /*MPI_INT64_T*/
#else
#ifdef GMX_THREAD_MPI
-#include "thread_mpi/tmpi.h"
#include "thread_mpi/mpi_bindings.h"
+#include "thread_mpi/tmpi.h"
#else
typedef void* MPI_Comm;
typedef void* MPI_Request;
*/
#include "gmxpre.h"
-#include "gromacs/utility/gmxomp.h"
+#include "gmxomp.h"
#include "config.h"
#include <windows.h>
#endif
-#include "basedefinitions.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C"
/*
* 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>
-#include "common.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
*/
#include "gmxpre.h"
-#include "gromacs/utility/init.h"
+#include "init.h"
#include "config.h"
*/
#include "gmxpre.h"
-#include "gromacs/utility/messagestringcollector.h"
+#include "messagestringcollector.h"
#include <vector>
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2011,2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 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>
-#include "../utility/common.h"
+#include "gromacs/utility/common.h"
namespace gmx
{
#include "path.h"
+#include "config.h"
+
#include <cctype>
#include <cerrno>
#include <cstdlib>
#include <sys/stat.h>
-#include "config.h"
-
#ifdef GMX_NATIVE_WINDOWS
#include <direct.h>
#else
*/
#include "gmxpre.h"
-#include "gromacs/utility/programcontext.h"
+#include "programcontext.h"
#include <cstddef>
#ifndef GMX_UTILITY_SCOPED_PTR_SFREE_H
#define GMX_UTILITY_SCOPED_PTR_SFREE_H
-#include "common.h"
+#include "gromacs/utility/common.h"
#include "gromacs/utility/smalloc.h"
namespace gmx
*/
#include "gmxpre.h"
-#include "gromacs/utility/smalloc.h"
+#include "smalloc.h"
#include "config.h"
#include <stddef.h>
-#include "basedefinitions.h"
+#include "gromacs/utility/basedefinitions.h"
#ifdef __cplusplus
extern "C" {
#include "stringutil.h"
#include <cctype>
-#include <cstdio>
#include <cstdarg>
+#include <cstdio>
#include <cstring>
#include <algorithm>
*/
#include "gmxpre.h"
+#include "gromacs/utility/stringutil.h"
+
#include <string>
#include <vector>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
-#include "gromacs/utility/stringutil.h"
-
#include "testutils/refdata.h"
#include "testutils/stringtest.h"