From 559e4261e9670a41ea17cfb97ebe96ee0a83e22a Mon Sep 17 00:00:00 2001 From: Mark Abraham Date: Thu, 14 Apr 2016 10:33:03 +0200 Subject: [PATCH] Reduce compilation coupling of SIMD module Analysis tools that call bonded functions should not have to include a header that unnecessarily includes the SIMD module. Change-Id: I116429b4fc9f6e0a67735d58ac8ddd4aa9b78a1e --- src/gromacs/listed-forces/bonded.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/gromacs/listed-forces/bonded.h b/src/gromacs/listed-forces/bonded.h index 765f43b075..ce1d20659f 100644 --- a/src/gromacs/listed-forces/bonded.h +++ b/src/gromacs/listed-forces/bonded.h @@ -55,8 +55,6 @@ #include "gromacs/mdtypes/forcerec.h" #include "gromacs/mdtypes/interaction_const.h" #include "gromacs/mdtypes/mdatom.h" -#include "gromacs/pbcutil/pbc-simd.h" -#include "gromacs/simd/simd.h" #include "gromacs/topology/idef.h" #include "gromacs/topology/ifunc.h" #include "gromacs/utility/basedefinitions.h" @@ -128,7 +126,7 @@ void const t_mdatoms gmx_unused *md, t_fcdata gmx_unused *fcd, int gmx_unused *global_atom_index); -#if GMX_SIMD_HAVE_REAL +/* TODO these declarations should be internal to the module */ /* As angles(), but using SIMD to calculate many angles at once. * This routines does not calculate energies and shift forces. @@ -165,8 +163,6 @@ void const t_mdatoms gmx_unused *md, t_fcdata gmx_unused *fcd, int gmx_unused *global_atom_index); -#endif // GMX_SIMD_HAVE_REAL - //! \endcond #ifdef __cplusplus -- 2.11.4.GIT