Changed to forward declaration.
Don't think I got all of them yet.
Change-Id: I7c148364db152ed0a6645e91ee1ab93421441c0d
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2014,2015,2017,2019, by the GROMACS development team, led by
+ * Copyright (c) 2014,2015,2017,2019,2020, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <vector>
#include "gromacs/analysisdata/paralleloptions.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/gmxassert.h"
namespace gmx
{
+template<typename>
+class ArrayRef;
+
//! \addtogroup module_analysisdata
//! \{
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2019, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <vector>
#include "gromacs/mdtypes/mdatom.h"
+#include "gromacs/utility/arrayref.h"
namespace gmx
{
#include <map>
#include <memory>
+#include <vector>
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/enumerationhelpers.h"
#include "gromacs/utility/real.h"
namespace gmx
{
+template<typename>
+class ArrayRef;
+
/*! \brief
* The methods that determine how amplitudes are spread on a grid in density guided simulations.
*/
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2019, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020, 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 <gtest/gtest.h>
#include "gromacs/mdtypes/mdatom.h"
+#include "gromacs/utility/arrayref.h"
namespace gmx
{
#include "gromacs/math/vectypes.h"
#include "gromacs/utility/alignedallocator.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/gmxassert.h"
namespace gmx
{
+template<typename>
+class ArrayRef;
struct AwhBiasHistory;
struct AwhBiasParams;
class BiasParams;
#include <vector>
-#include "gromacs/utility/arrayref.h"
-
#include "dimparams.h"
namespace gmx
{
+template<typename>
+class ArrayRef;
struct AwhBiasParams;
struct AwhBiasStateHistory;
class BiasParams;
#include <vector>
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/gmxassert.h"
namespace gmx
{
+template<typename>
+class ArrayRef;
struct CorrelationGridHistory;
/*! \internal
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2015,2016,2017,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2015,2016,2017,2018,2019,2020, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "gromacs/mdtypes/awh_history.h"
#include "gromacs/mdtypes/awh_params.h"
+#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/stringutil.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2015,2016,2017,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2015,2016,2017,2018,2019,2020, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <vector>
#include "gromacs/math/vectypes.h"
-#include "gromacs/utility/arrayref.h"
namespace gmx
{
+template<typename>
+class ArrayRef;
struct AwhBiasStateHistory;
struct AwhBiasParams;
class BiasParams;
#include "gromacs/awh/pointstate.h"
#include "gromacs/math/functions.h"
#include "gromacs/mdtypes/awh_params.h"
+#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/smalloc.h"
#include "testutils/testasserts.h"
#include <string_view>
#include "gromacs/fileio/filetypes.h"
+#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/gmxassert.h"
#include <vector>
#include "gromacs/fileio/filetypes.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/basedefinitions.h"
//! \addtogroup module_commandline
//! \{
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+} // namespace gmx
+
/*! \brief
* File name option definition for C code.
*
#include "gromacs/coordinateio/requirements.h"
#include "gromacs/options/options.h"
#include "gromacs/utility/any.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/stringutil.h"
#include "gromacs/coordinateio/tests/coordinate_test.h"
namespace gmx
{
+template<typename>
+class ArrayRef;
+
namespace test
{
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <vector>
#include "gromacs/math/vectypes.h"
-#include "gromacs/utility/arrayref.h"
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
struct gmx_ddbox_t;
struct gmx_domdec_t;
struct t_commrec;
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "gromacs/math/vectypes.h"
#include "gromacs/timing/wallcycle.h"
-#include "gromacs/utility/arrayref.h"
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
struct gmx_ddbox_t;
struct gmx_domdec_comm_t;
struct gmx_domdec_t;
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019,2020, 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.
#define GMX_DOMDEC_COLLECT_H
#include "gromacs/math/vectypes.h"
-#include "gromacs/utility/arrayref.h"
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
struct gmx_domdec_t;
class t_state;
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 2008-2018, The GROMACS development team.
- * Copyright (c) 2019, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020, 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.
#define GMX_DOMDEC_DOMDEC_NETWORK_H
#include "gromacs/math/vectypes.h"
-#include "gromacs/utility/arrayref.h"
struct gmx_domdec_t;
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
/* \brief */
enum
{
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019,2020, 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_DOMDEC_LOCALATOMSET_H
#define GMX_DOMDEC_LOCALATOMSET_H
-#include "gromacs/utility/arrayref.h"
+#include <cstddef>
namespace gmx
{
-
+template<typename>
+class ArrayRef;
namespace internal
{
class LocalAtomSetData;
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019,2020, 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 <memory>
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/classhelpers.h"
namespace gmx
{
-
+template<typename>
+class ArrayRef;
class LocalAtomSet;
/*! \libinternal \brief
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019,2020, 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 <gtest/gtest.h>
#include "gromacs/domdec/localatomset.h"
+#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/exceptions.h"
#include "testutils/testasserts.h"
#include "gromacs/math/vectypes.h"
#include "gromacs/mdtypes/forcerec.h"
-#include "gromacs/utility/arrayref.h"
#include "domdec_internal.h"
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
/*! \brief Returns true if the DLB state indicates that the balancer is on. */
static inline bool isDlbOn(const gmx_domdec_comm_t* comm)
{
#include "gromacs/gpu_utils/devicebuffer_datatype.h"
#include "gromacs/gpu_utils/gpu_macros.h"
#include "gromacs/math/vectypes.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/real.h"
namespace gmx
{
+template<typename>
+class ArrayRef;
class ForceWithVirial;
class MDLogger;
enum class PinningPolicy : int;
#ifndef GMX_PMECOORDINATERECEIVERGPU_IMPL_H
#define GMX_PMECOORDINATERECEIVERGPU_IMPL_H
+#include <vector>
+
#include "gromacs/ewald/pme_coordinate_receiver_gpu.h"
#include "gromacs/utility/arrayref.h"
namespace gmx
{
-
/*! \internal \brief Class with interfaces and data for CUDA version of PME coordinate receiving functionality */
class PmeCoordinateReceiverGpu::Impl
#include "gromacs/fft/fft.h" // for the gmx_fft_direction enum
#include "gromacs/gpu_utils/devicebuffer_datatype.h"
#include "gromacs/gpu_utils/gpu_macros.h" // for the GPU_FUNC_ macros
-#include "gromacs/utility/arrayref.h"
#include "pme_gpu_types_host.h"
#include "pme_output.h"
namespace gmx
{
+template<typename>
+class ArrayRef;
class MDLogger;
} // namespace gmx
#include "gromacs/ewald/pme_gpu_internal.h"
#include "gromacs/math/gmxcomplex.h"
#include "gromacs/mdtypes/state_propagator_data_gpu.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/unique_cptr.h"
namespace gmx
{
class DeviceStreamManager;
+template<typename>
+class ArrayRef;
+
namespace test
{
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2019, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "gromacs/math/multidimarray.h"
#include "gromacs/mdspan/extensions.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/classhelpers.h"
namespace gmx
{
-
+template<typename>
+class ArrayRef;
struct MrcDensityMapHeader;
class ISerializer;
class TranslateAndScale;
#include <algorithm>
#include "gromacs/fileio/warninp.h"
+#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/binaryinformation.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/exceptions.h"
#include <utility>
#include <vector>
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/basedefinitions.h"
struct warninp;
namespace gmx
{
+template<typename>
+class ArrayRef;
class KeyValueTreeObject;
class TextInputStream;
class TextOutputStream;
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2019, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020, 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 <gmock/gmock.h>
#include <gtest/gtest.h>
+#include "gromacs/utility/arrayref.h"
+
#include "testutils/testasserts.h"
#include "testutils/testmatchers.h"
#include <cstdio>
#include "gromacs/math/vectypes.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/real.h"
typedef struct gmx_tng_trajectory* gmx_tng_trajectory_t;
struct t_trxframe;
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
/*! \brief Open a TNG trajectory file
*
* \param filename Name of file to open
#include "gromacs/math/vectypes.h"
#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/real.h"
class t_state;
struct t_topology;
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
/*! \libinternal
* \brief
* First part of the TPR file structure containing information about
#define GMX_FILEIO_TRXIO_H
#include "gromacs/fileio/pdbio.h"
-#include "gromacs/utility/arrayref.h"
struct gmx_mtop_t;
struct gmx_output_env_t;
struct t_topology;
struct t_trxframe;
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
/* a dedicated status type contains fp, etc. */
typedef struct t_trxstatus t_trxstatus;
#include "gromacs/fft/fft.h"
#include "gromacs/gmxana/interf.h"
+#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/futil.h"
#include "gromacs/utility/real.h"
#include <vector>
#include "gromacs/gmxana/interf.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/real.h"
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
extern void powerspectavg(real*** interface, int t, int xbins, int ybins, gmx::ArrayRef<const std::string> outfiles);
extern void powerspectavg_intf(t_interf*** if1,
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2017,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2017,2018,2019,2020, 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 "gmxpre.h"
#include "gromacs/gmxana/thermochemistry.h"
+#include "gromacs/utility/arrayref.h"
#include "testutils/refdata.h"
#include "testutils/testasserts.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2017,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2017,2018,2019,2020, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/basedefinitions.h"
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
/*! \brief Compute zero point energy from an array of eigenvalues.
*
* This routine first converts the eigenvalues from a normal mode
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2018,2019,2020, 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_GMXPREPROCESS_ADD_PAR_H
#define GMX_GMXPREPROCESS_ADD_PAR_H
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/real.h"
struct InteractionsOfType;
struct PreprocessResidue;
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
void add_param(InteractionsOfType* ps, int ai, int aj, gmx::ArrayRef<const real> c, const char* s);
void add_cmap_param(InteractionsOfType* ps, int ai, int aj, int ak, int al, int am, const char* s);
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2019, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2019,2020, 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_GMXPREPROCESS_CONVPARM_H
#define GMX_GMXPREPROCESS_CONVPARM_H
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/real.h"
struct gmx_mtop_t;
struct MoleculeInformation;
struct InteractionsOfType;
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
void convertInteractionsOfType(int atnr,
gmx::ArrayRef<const InteractionsOfType> nbtypes,
gmx::ArrayRef<const MoleculeInformation> mi,
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2012,2014,2015,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2012,2014,2015,2018,2019,2020, 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_GMXPREPROCESS_GEN_AD_H
#define GMX_GMXPREPROCESS_GEN_AD_H
-#include "gromacs/utility/arrayref.h"
-
struct t_atoms;
struct t_excls;
struct MoleculePatchDatabase;
struct InteractionsOfType;
struct PreprocessResidue;
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
void gen_pad(t_atoms* atoms,
gmx::ArrayRef<const PreprocessResidue> rtpFFDB,
gmx::ArrayRef<InteractionsOfType> plist,
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2018,2019,2020, 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_GMXPREPROCESS_GEN_VSITE_H
#define GMX_GMXPREPROCESS_GEN_VSITE_H
+#include <vector>
+
#include "gromacs/math/vectypes.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/real.h"
class PreprocessingAtomTypes;
struct PreprocessResidue;
struct t_symtab;
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
/* stuff for pdb2gmx */
void do_vsites(gmx::ArrayRef<const PreprocessResidue> rtpFFDB,
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2018,2019,2020, 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_GMXPREPROCESS_GENHYDRO_H
#define GMX_GMXPREPROCESS_GENHYDRO_H
+#include <vector>
+
#include "gromacs/math/vectypes.h"
-#include "gromacs/utility/arrayref.h"
struct t_atoms;
struct t_symtab;
struct MoleculePatchDatabase;
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
/*! \brief
* Generate hydrogen atoms and N and C terminal patches.
*
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2011,2014,2015,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2011,2014,2015,2018,2019,2020, 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 <cstdio>
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/classhelpers.h"
#include "gromacs/utility/real.h"
struct InteractionsOfType;
struct t_symtab;
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
/*! \libinternal \brief
* Storage of all atom types used during preprocessing of a simulation
* input.
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2010,2014,2015,2019, by the GROMACS development team, led by
+ * Copyright (c) 2010,2014,2015,2019,2020, 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_GMXPREPROCESS_GPP_NEXTNB_H
#define GMX_GMXPREPROCESS_GPP_NEXTNB_H
-#include "gromacs/utility/arrayref.h"
-
struct InteractionsOfType;
namespace gmx
{
template<typename>
+class ArrayRef;
+template<typename>
class ListOfLists;
-}
+} // namespace gmx
struct t_nextnb
{
#include "gromacs/topology/atoms.h"
#include "gromacs/topology/block.h"
#include "gromacs/topology/idef.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/listoflists.h"
#include "gromacs/utility/real.h"
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
/*! \libinternal \brief
* Describes an interaction of a given type, plus its parameters.
*/
#include "gromacs/mdtypes/md_enums.h"
#include "gromacs/topology/atoms.h"
#include "gromacs/topology/symtab.h"
+#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/fatalerror.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2018,2019,2020, 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 <cstdio>
+#include <array>
#include <string>
#include <vector>
#include "gromacs/gmxpreprocess/notset.h"
#include "gromacs/topology/ifunc.h"
-#include "gromacs/utility/arrayref.h"
struct t_atom;
struct t_symtab;
+
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
/*! \brief
* Used for reading .rtp/.tdb
* ebtsBONDS must be the first, new types can be added to the end
#include <cstdio>
+#include <string>
#include <vector>
#include "gromacs/math/vectypes.h"
-#include "gromacs/utility/arrayref.h"
class PreprocessingAtomTypes;
namespace gmx
{
+template<typename>
+class ArrayRef;
class MDLogger;
-}
+} // namespace gmx
struct t_atoms;
struct t_excls;
#include "gromacs/fileio/pdbio.h"
#include "gromacs/gmxpreprocess/pdb2top.h"
#include "gromacs/math/vec.h"
+#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2011,2014,2015,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2011,2014,2015,2018,2019,2020, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <vector>
-#include "gromacs/utility/arrayref.h"
-
class PreprocessingAtomTypes;
struct MoleculePatchDatabase;
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
/*! \brief
* Read database for N&C terminal modifications.
*
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2012,2013,2014,2015,2019, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2015,2019,2020, 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_GMXPREPROCESS_TOMORSE_H
#define GMX_GMXPREPROCESS_TOMORSE_H
-#include "gromacs/utility/arrayref.h"
-
class PreprocessingAtomTypes;
struct MoleculeInformation;
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
void convert_harmonics(gmx::ArrayRef<MoleculeInformation> mols, PreprocessingAtomTypes* atype);
#endif
#include <memory>
#include <vector>
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/real.h"
struct gmx_molblock_t;
namespace gmx
{
+template<typename>
+class ArrayRef;
class MDLogger;
-}
+} // namespace gmx
double check_mol(const gmx_mtop_t* mtop, warninp_t wi);
/* Check mass and charge */
#include <vector>
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/real.h"
enum class Directive : int;
namespace gmx
{
+template<typename>
+class ArrayRef;
struct ExclusionBlock;
} // namespace gmx
#ifndef GMX_GMXPREPROCESS_TOPSHAKE_H
#define GMX_GMXPREPROCESS_TOPSHAKE_H
-#include "gromacs/utility/arrayref.h"
-
struct t_atoms;
struct InteractionsOfType;
namespace gmx
{
+template<typename>
+class ArrayRef;
class MDLogger;
-}
+} // namespace gmx
void make_shake(gmx::ArrayRef<InteractionsOfType> plist, t_atoms* atoms, int nshake, const gmx::MDLogger& logger);
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2012,2014,2015,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2012,2014,2015,2018,2019,2020, 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 <cstdio>
-#include "gromacs/utility/arrayref.h"
-
-#include "gromacs/utility/arrayref.h"
-
enum class Directive : int;
class PreprocessingAtomTypes;
struct t_atoms;
class InteractionOfType;
struct InteractionsOfType;
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
/* UTILITIES */
void add_param_to_list(InteractionsOfType* list, const InteractionOfType& b);
#ifndef GMX_GMXPREPROCESS_VSITE_PARM_H
#define GMX_GMXPREPROCESS_VSITE_PARM_H
-#include "gromacs/utility/arrayref.h"
-
class PreprocessingAtomTypes;
struct gmx_moltype_t;
struct t_atoms;
namespace gmx
{
+template<typename>
+class ArrayRef;
class MDLogger;
-}
+} // namespace gmx
int set_vsites(bool bVerbose,
t_atoms* atoms,
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2018,2019,2020, 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_GMXPREPROCESS_XLATE_H
#define GMX_GMXPREPROCESS_XLATE_H
-#include "gromacs/utility/arrayref.h"
-
class ResidueType;
struct t_atoms;
struct PreprocessResidue;
struct t_symtab;
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
/* If bResname is true renames atoms based on residue names,
* otherwise renames atoms based on rtp entry names.
*/
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2017,2019, by the GROMACS development team, led by
+ * Copyright (c) 2017,2019,2020, 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_GPU_UTILS_TESTS_DEVICETRANSFERS_H
#define GMX_GPU_UTILS_TESTS_DEVICETRANSFERS_H
-#include "gromacs/utility/arrayref.h"
-
struct gmx_gpu_info_t;
namespace gmx
{
+template<typename>
+class ArrayRef;
/*! \brief Helper function for GPU test code to be platform agnostic.
*
#include "gromacs/math/vectypes.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/topology/idef.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/classhelpers.h"
class DeviceContext;
namespace gmx
{
+template<typename>
+class ArrayRef;
class StepWorkload;
/*! \brief The number on bonded function types supported on GPUs */
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2019, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <vector>
#include "gromacs/math/vec.h"
+#include "gromacs/utility/arrayref.h"
namespace gmx
{
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2019, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020, 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.
#define GMX_MATH_COORDINATETRANSFORMATION_H
#include "gromacs/math/vectypes.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/classhelpers.h"
namespace gmx
{
+template<typename>
+class ArrayRef;
class ScaleCoordinates
{
public:
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2019, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "gromacs/math/vectypes.h"
#include "gromacs/mdspan/extensions.h"
#include "gromacs/mdspan/mdspan.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/classhelpers.h"
#include "gromacs/utility/real.h"
namespace gmx
{
-
+template<typename>
+class ArrayRef;
/*! \internal
* \brief Provide result of Gaussian function evaluation on a one-dimensional lattice.
*
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2019, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020, 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 <gmock/gmock.h>
#include <gtest/gtest.h>
+#include "gromacs/utility/arrayref.h"
+
#include "testutils/testasserts.h"
#include "testutils/testmatchers.h"
#include "gromacs/mdtypes/commrec.h"
#include "gromacs/mdtypes/inputrec.h"
#include "gromacs/mdtypes/md_enums.h"
+#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/exceptions.h"
namespace gmx
#include <memory>
#include "gromacs/math/vectypes.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/classhelpers.h"
#include "gromacs/utility/gmxmpi.h"
namespace gmx
{
+template<typename>
+class ArrayRef;
class BoxDeformation
{
public:
#include <vector>
#include "gromacs/gmxlib/network.h"
-#include "gromacs/utility/arrayref.h"
+#include "gromacs/mdtypes/commrec.h"
+#include "gromacs/utility/smalloc.h"
struct gmx_mtop_t;
struct t_inputrec;
struct PartialDeserializedTprFile;
class t_state;
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
//! Convenience wrapper for gmx_bcast to communicator of a single value.
template<typename T>
void block_bc(MPI_Comm communicator, T& data)
#ifndef GMX_MDLIB_CALC_VERLETBUF_H
#define GMX_MDLIB_CALC_VERLETBUF_H
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/real.h"
namespace gmx
{
+template<typename>
+class ArrayRef;
class RangePartitioning;
} // namespace gmx
#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
#include "gromacs/mdlib/gmx_omp_nthreads.h"
+#include "gromacs/utility/arrayref.h"
void calc_mu(int start,
int homenr,
#include <stdio.h>
#include "gromacs/math/vectypes.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/basedefinitions.h"
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
void calc_mu(int start,
int homenr,
gmx::ArrayRef<const gmx::RVec> x,
#include "gromacs/topology/ifunc.h"
#include "gromacs/topology/mtop_lookup.h"
#include "gromacs/topology/mtop_util.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/gmxassert.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2019, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020, 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 <memory>
#include "gromacs/math/vectypes.h"
-#include "gromacs/utility/arrayref.h"
struct gmx_mtop_t;
struct interaction_const_t;
namespace gmx
{
+template<typename>
+class ArrayRef;
class MDLogger;
} // namespace gmx
#include "gromacs/math/vec.h"
#include "gromacs/topology/ifunc.h"
#include "gromacs/trajectory/energyframe.h"
+#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/cstringutil.h"
#include "gromacs/utility/fatalerror.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2018,2019,2020, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "gromacs/fileio/enxio.h"
#include "gromacs/trajectory/energyframe.h"
-#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/basedefinitions.h"
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
/* \brief Running averaging structure ('energy bin') to store thermodynamic values.
*
* Collects the data on thermodynamic parameters (energy terms, temperature,
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2011-2019, by the GROMACS development team, led by
+ * Copyright (c) 2011-2019,2020, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <cstring>
#include "gromacs/math/functions.h"
+#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/arraysize.h"
#include "gromacs/utility/fatalerror.h"
/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2015,2017,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2015,2017,2018,2019,2020, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include "gromacs/mdrun/mdmodules.h"
#include "gromacs/mdrunutility/handlerestart.h"
#include "gromacs/mdtypes/mdrunoptions.h"
+#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/gmxmpi.h"
#include "gromacs/utility/real.h"