Merge branch release-2021
[alexxy/gromacs.git] / src / gromacs / nbnxm / opencl / nbnxm_ocl_kernel.clh
index 68e5b854cbf13b359bea30f1ccda216428d172b6..e5adb03aa694a88602e638debe2065442597b8ec 100644 (file)
 #    define EL_EWALD_ANY
 #endif
 
+#if defined LJ_EWALD_COMB_GEOM || defined LJ_EWALD_COMB_LB
+/* Note: convenience macro, needs to be undef-ed at the end of the file. */
+#    define LJ_EWALD
+#endif
+
 #if defined EL_EWALD_ANY || defined EL_RF || defined LJ_EWALD \
         || (defined EL_CUTOFF && defined CALC_ENERGIES)
 /* Macro to control the calculation of exclusion forces in the kernel
 #    define EXCLUSION_FORCES
 #endif
 
-#if defined LJ_EWALD_COMB_GEOM || defined LJ_EWALD_COMB_LB
-/* Note: convenience macro, needs to be undef-ed at the end of the file. */
-#    define LJ_EWALD
-#endif
-
 #if defined LJ_COMB_GEOM || defined LJ_COMB_LB
 /* Note: convenience macro, needs to be undef-ed at the end of the file. */
 #    define LJ_COMB