Clean up index handing in make_bondeds_zone
[alexxy/gromacs.git] / src / gromacs / domdec / localtopology.h
index 6adfc265546e3dd6101c048c80697e22b89129cd..3e323945457e9dd558203ea4249b738885c1811e 100644 (file)
@@ -62,8 +62,8 @@ class ArrayRef;
 /*! \brief Generate the local topology and virtual site data
  *
  * \returns Total count of bonded interactions in the local topology on this domain */
-int dd_make_local_top(struct gmx_domdec_t*           dd,
-                      struct gmx_domdec_zones_t*     zones,
+int dd_make_local_top(const gmx_domdec_t&            dd,
+                      const gmx_domdec_zones_t&      zones,
                       int                            npbcdim,
                       matrix                         box,
                       rvec                           cellsize_min,
@@ -71,9 +71,7 @@ int dd_make_local_top(struct gmx_domdec_t*           dd,
                       t_forcerec*                    fr,
                       gmx::ArrayRef<const gmx::RVec> coordinates,
                       const gmx_mtop_t&              top,
+                      gmx::ArrayRef<const int64_t>   atomInfo,
                       gmx_localtop_t*                ltop);
 
-/*! \brief Sort ltop->ilist when we are doing free energy. */
-void dd_sort_local_top(const gmx_domdec_t& dd, const t_mdatoms* mdatoms, gmx_localtop_t* ltop);
-
 #endif