Change-Id: Id981c28d02ee22ad9a99f22a939887572d78e4b5
return dd->comm->load[0].cvol_min*dd->nnodes;
}
-static gmx_bool dd_load_flags(gmx_domdec_t *dd)
+static int dd_load_flags(gmx_domdec_t *dd)
{
return dd->comm->load[0].flags;
}
}
/*! \brief Find largest divisor of \p n smaller than \p n*/
-static gmx_bool largest_divisor(int n)
+static int largest_divisor(int n)
{
std::vector<int> div;
std::vector<int> mdiv;
{
return 0;
}
- return norm_a > norm_b;
+ return (norm_a > norm_b) ? 1 : -1;
}
/* Compare the sort order of two native lambda vectors