X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fmdlib%2Fnbnxn_kernels%2Fnbnxn_kernel_ref.c;h=3db03bbec59c7f76f080ef9322b77f3cf2ac3cdc;hb=30692f54df98c3e8612dfdb1aa288ed51a7444b3;hp=efcafd3f1d857ecb2325586405780198d63bde74;hpb=8fc4edf35c768e4669814c118bf518578637339b;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref.c b/src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref.c index efcafd3f1d..3db03bbec5 100644 --- a/src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref.c +++ b/src/gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref.c @@ -34,24 +34,23 @@ */ #include "gmxpre.h" +#include "nbnxn_kernel_ref.h" + #include "config.h" -#include #include +#include -#include "gromacs/legacyheaders/typedefs.h" #include "gromacs/legacyheaders/force.h" #include "gromacs/legacyheaders/gmx_omp_nthreads.h" - +#include "gromacs/legacyheaders/typedefs.h" #include "gromacs/math/vec.h" +#include "gromacs/mdlib/nb_verlet.h" +#include "gromacs/mdlib/nbnxn_consts.h" +#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_common.h" #include "gromacs/pbcutil/ishift.h" #include "gromacs/utility/smalloc.h" -#include "nbnxn_kernel_ref.h" -#include "../nbnxn_consts.h" -#include "nbnxn_kernel_common.h" -#include "gromacs/mdlib/nb_verlet.h" - /*! \brief Typedefs for declaring lookup tables of kernel functions. */ @@ -74,21 +73,21 @@ typedef void (*p_nbk_func_ener)(const nbnxn_pairlist_t *nbl, /* Analytical reaction-field kernels */ #define CALC_COUL_RF #define LJ_CUT -#include "nbnxn_kernel_ref_includes.h" +#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h" #undef LJ_CUT #define LJ_FORCE_SWITCH -#include "nbnxn_kernel_ref_includes.h" +#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h" #undef LJ_FORCE_SWITCH #define LJ_POT_SWITCH -#include "nbnxn_kernel_ref_includes.h" +#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h" #undef LJ_POT_SWITCH #define LJ_EWALD #define LJ_CUT #define LJ_EWALD_COMB_GEOM -#include "nbnxn_kernel_ref_includes.h" +#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h" #undef LJ_EWALD_COMB_GEOM #define LJ_EWALD_COMB_LB -#include "nbnxn_kernel_ref_includes.h" +#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h" #undef LJ_EWALD_COMB_LB #undef LJ_CUT #undef LJ_EWALD @@ -98,42 +97,42 @@ typedef void (*p_nbk_func_ener)(const nbnxn_pairlist_t *nbl, /* Tabulated exclusion interaction electrostatics kernels */ #define CALC_COUL_TAB #define LJ_CUT -#include "nbnxn_kernel_ref_includes.h" +#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h" #undef LJ_CUT #define LJ_FORCE_SWITCH -#include "nbnxn_kernel_ref_includes.h" +#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h" #undef LJ_FORCE_SWITCH #define LJ_POT_SWITCH -#include "nbnxn_kernel_ref_includes.h" +#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h" #undef LJ_POT_SWITCH #define LJ_EWALD #define LJ_CUT #define LJ_EWALD_COMB_GEOM -#include "nbnxn_kernel_ref_includes.h" +#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h" #undef LJ_EWALD_COMB_GEOM #define LJ_EWALD_COMB_LB -#include "nbnxn_kernel_ref_includes.h" +#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h" #undef LJ_EWALD_COMB_LB #undef LJ_CUT #undef LJ_EWALD /* Twin-range cut-off kernels */ #define VDW_CUTOFF_CHECK #define LJ_CUT -#include "nbnxn_kernel_ref_includes.h" +#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h" #undef LJ_CUT #define LJ_FORCE_SWITCH -#include "nbnxn_kernel_ref_includes.h" +#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h" #undef LJ_FORCE_SWITCH #define LJ_POT_SWITCH -#include "nbnxn_kernel_ref_includes.h" +#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h" #undef LJ_POT_SWITCH #define LJ_EWALD #define LJ_CUT #define LJ_EWALD_COMB_GEOM -#include "nbnxn_kernel_ref_includes.h" +#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h" #undef LJ_EWALD_COMB_GEOM #define LJ_EWALD_COMB_LB -#include "nbnxn_kernel_ref_includes.h" +#include "gromacs/mdlib/nbnxn_kernels/nbnxn_kernel_ref_includes.h" #undef LJ_EWALD_COMB_LB #undef LJ_CUT #undef LJ_EWALD