PME load balancing now checks for PME grid restrictions
[alexxy/gromacs.git] / include / domdec.h
index eff1f302393602e92b053a3f09c6d9363d848937..19a3a78e44baa17c9d0da7f4101e17526f3660f0 100644 (file)
@@ -79,6 +79,11 @@ real dd_cutoff_mbody(gmx_domdec_t *dd);
 
 real dd_cutoff_twobody(gmx_domdec_t *dd);
 
+GMX_LIBMD_EXPORT
+void get_pme_nnodes(const gmx_domdec_t *dd,
+                    int *npmenodes_x, int *npmenodes_y);
+/* Get the number of PME nodes along x and y, can be called with dd=NULL */
+
 gmx_bool gmx_pmeonlynode(t_commrec *cr, int nodeid);
 /* Return if nodeid in cr->mpi_comm_mysim is a PME-only node */