From: Carsten Kutzner Date: Thu, 4 Nov 2010 10:45:40 +0000 (+0100) Subject: Doxygen comment for dd_make_local_rotation_groups X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=1f146791d29372a17092cdb7d26525385eaac01d;p=alexxy%2Fgromacs.git Doxygen comment for dd_make_local_rotation_groups --- diff --git a/include/pull_rotation.h b/include/pull_rotation.h index df6ed1ffd1..403d571c42 100644 --- a/include/pull_rotation.h +++ b/include/pull_rotation.h @@ -79,7 +79,17 @@ extern void init_rot(FILE *fplog,t_inputrec *ir,int nfile,const t_filenm fnm[], 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. * diff --git a/src/mdlib/domdec.c b/src/mdlib/domdec.c index 30ccfd260f..abc08743e2 100644 --- a/src/mdlib/domdec.c +++ b/src/mdlib/domdec.c @@ -8596,7 +8596,7 @@ void dd_partition_system(FILE *fplog, 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); } diff --git a/src/mdlib/pull_rotation.c b/src/mdlib/pull_rotation.c index d2a134f2a4..00dda8707e 100644 --- a/src/mdlib/pull_rotation.c +++ b/src/mdlib/pull_rotation.c @@ -57,6 +57,7 @@ #include "gmxfio.h" #include "mpelogging.h" #include "groupcoord.h" +#include "pull_rotation.h" #include "gmx_sort.h" @@ -3014,7 +3015,7 @@ static void init_rot_group(FILE *fplog,t_commrec *cr,int g,t_rotgrp *rotg, } -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;