* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 2009 Christoph Junghans, Brad Lambeth.
- * Copyright (c) 2011, by the GROMACS development team, led by
+ * Copyright (c) 2011,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
* To help us fund GROMACS development, we humbly ask that you cite
* the research papers on the package. Check out http://www.gromacs.org.
*/
-
+/*! \internal \file
+ * \brief Implementation of the AdResS method.
+ */
#ifndef _adress_h_
#define _adress_h_
-/** \file adress.h
- *
- * \brief Implementation of the AdResS method
- *
- */
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/types/simple.h"
-#include "types/simple.h"
-#include "typedefs.h"
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+struct t_pbc;
/** \brief calculates the AdResS weight of a particle
*
real adressr,
real adressw,
rvec * ref,
- t_pbc * pbc,
+ struct t_pbc * pbc,
t_forcerec * fr);
/** \brief update the weight of all coarse-grained particles in several charge groups for com vsites
rvec x[],
t_forcerec * fr,
t_mdatoms * mdatoms,
- t_pbc * pbc);
+ struct t_pbc * pbc);
/** \brief update the weight of all coarse-grained particles for cog vsites
*
rvec x[],
t_forcerec * fr,
t_mdatoms * mdatoms,
- t_pbc * pbc);
+ struct t_pbc * pbc);
/** \brief update the weight of all coarse-grained particles in several charge groups for atom vsites
*
rvec x[],
t_forcerec * fr,
t_mdatoms * mdatoms,
- t_pbc * pbc);
+ struct t_pbc * pbc);
/** \brief update the weight on per atom basis of all coarse-grained particles in several charge groups for atom vsites
*
rvec x[],
t_forcerec * fr,
t_mdatoms * mdatoms,
- t_pbc * pbc);
+ struct t_pbc * pbc);
/** \brief add AdResS IC thermodynamic force to f_novirsum
*
rvec f[],
t_forcerec * fr,
t_mdatoms * mdatoms,
- t_pbc * pbc);
+ struct t_pbc * pbc);
/** \brief checks weather a cpu calculates only coarse-grained or explicit interactions
* \return boolean if coarse-grained or not
*/
gmx_bool egp_coarsegrained(t_forcerec * fr, int egp_nr);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif