Use enum class for gmx_omp_nthreads
[alexxy/gromacs.git] / src / gromacs / domdec / redistribute.cpp
index 53d5514c9481d7c47ee8d9073b16051b3e766beb..d47243969bd898afb7f154371e8744623d2a4a24 100644 (file)
@@ -617,7 +617,7 @@ void dd_redistribute_cg(FILE*         fplog,
     matrix tcm;
     make_tric_corr_matrix(npbcdim, state->box, tcm);
 
-    const int nthread = gmx_omp_nthreads_get(emntDomdec);
+    const int nthread = gmx_omp_nthreads_get(ModuleMultiThread::Domdec);
 
     /* Compute the center of geometry for all home charge groups
      * and put them in the box and determine where they should go.