Implemented nbnxn LJ switch functions
[alexxy/gromacs.git] / src / gromacs / mdlib / nbnxn_kernels / simd_2xnn / nbnxn_kernel_ElecEw_VdwLJCombGeom_F_2xnn.c
similarity index 93%
rename from src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_rf_comb_geom_ener.c
rename to src/gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_ElecEw_VdwLJCombGeom_F_2xnn.c
index 03825225846975c4b744f82038fdf81f682d0d21..86ae34335825bec9d51b2e79ac331c7a8c58d4d9 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -46,9 +46,9 @@
 #define GMX_SIMD_J_UNROLL_SIZE 2
 #include "nbnxn_kernel_simd_2xnn.h"
 
-#define CALC_COUL_RF
+#define CALC_COUL_EWALD
 #define LJ_COMB_GEOM
-#define CALC_ENERGIES
+/* Will not calculate energies */
 
 #ifdef GMX_NBNXN_SIMD_2XNN
 #include "nbnxn_kernel_simd_2xnn_common.h"
@@ -56,7 +56,7 @@
 
 #ifdef CALC_ENERGIES
 void
-nbnxn_kernel_simd_2xnn_rf_comb_geom_ener(const nbnxn_pairlist_t    gmx_unused *nbl,
+nbnxn_kernel_ElecEw_VdwLJCombGeom_F_2xnn(const nbnxn_pairlist_t    gmx_unused *nbl,
                                          const nbnxn_atomdata_t    gmx_unused *nbat,
                                          const interaction_const_t gmx_unused *ic,
                                          rvec                      gmx_unused *shift_vec,
@@ -66,7 +66,7 @@ nbnxn_kernel_simd_2xnn_rf_comb_geom_ener(const nbnxn_pairlist_t    gmx_unused *n
                                          real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-nbnxn_kernel_simd_2xnn_rf_comb_geom_ener(const nbnxn_pairlist_t    gmx_unused *nbl,
+nbnxn_kernel_ElecEw_VdwLJCombGeom_F_2xnn(const nbnxn_pairlist_t    gmx_unused *nbl,
                                          const nbnxn_atomdata_t    gmx_unused *nbat,
                                          const interaction_const_t gmx_unused *ic,
                                          rvec                      gmx_unused *shift_vec,