added Verlet scheme and NxN non-bonded functionality
[alexxy/gromacs.git] / src / gmxlib / gmx_omp.c
index a5040dce0af315075de0a53d967a383844d7e9c3..e5c1f4540b4c0ab2d330f7c362f53a6a938cfa75 100644 (file)
@@ -41,6 +41,14 @@ int gmx_omp_get_max_threads(void)
 #endif
 }
 
+int gmx_omp_get_num_procs(void)
+{
+#ifdef GMX_OPENMP
+    return omp_get_num_procs();
+#else
+    return 1;
+#endif
+}
 
 int gmx_omp_get_thread_num(void)
 {