Merge release-4-6 into master
[alexxy/gromacs.git] / src / gromacs / legacyheaders / domdec.h
index 6e785fe840b923811366d1a2b2c03b5246edc5c2..87ff33ea657f2e1432d0e88c356e6c6f91d4f6d4 100644 (file)
@@ -111,6 +111,13 @@ gmx_bool change_dd_cutoff(t_commrec *cr,t_state *state,t_inputrec *ir,
  * then FALSE will be returned and the cut-off is not modified.
  */
 
+void change_dd_dlb_cutoff_limit(t_commrec *cr);
+/* Domain boundary changes due to the DD dynamic load balancing can limit
+ * the cut-off distance that can be set in change_dd_cutoff. This function
+ * limits the DLB such that using the currently set cut-off should still be
+ * possible after subsequently setting a shorter cut-off with change_dd_cutoff.
+ */
+
 void setup_dd_grid(FILE *fplog,gmx_domdec_t *dd);
 
 void dd_collect_vec(gmx_domdec_t *dd,