t_commrec *cr, rvec *x, matrix box, gmx_mtop_t *mtop, const output_env_t oenv,
gmx_bool bVerbose, unsigned long Flags);
-extern void dd_make_local_rotation_groups(gmx_domdec_t *dd,t_rot *rot,t_mdatoms *md);
+
+/*! \brief Make a selection of the home atoms for all enforced rotation groups.
+ *
+ * This routine is similar to dd_make_local_pull_groups, but works only with
+ * domain decomposition. It should be called at every domain decomposition.
+ *
+ * \param dd Structure containing domain decomposition data.
+ * \param rot Pointer to all the enforced rotation data.
+ */
+extern void dd_make_local_rotation_groups(gmx_domdec_t *dd,t_rot *rot);
+
/*! \brief Calculation of the enforced rotation potential.
*
if (ir->bRot)
{
/* Update the local rotation groups */
- dd_make_local_rotation_groups(dd,ir->rot,mdatoms);
+ dd_make_local_rotation_groups(dd,ir->rot);
}
#include "gmxfio.h"
#include "mpelogging.h"
#include "groupcoord.h"
+#include "pull_rotation.h"
#include "gmx_sort.h"
}
-extern void dd_make_local_rotation_groups(gmx_domdec_t *dd,t_rot *rot,t_mdatoms *md)
+extern void dd_make_local_rotation_groups(gmx_domdec_t *dd,t_rot *rot)
{
gmx_ga2la_t ga2la;
int g;