Use absolute include paths in nbnxn kernels
[alexxy/gromacs.git] / src / gromacs / mdlib / nbnxn_kernels / nbnxn_kernel_file_generator / nbnxn_kernel_simd_2xnn_kernel.c.pre
index 788d262544287346e7bbe0eee8e52c2056a52310..2dbae1b8513305ad0786c17686cbd2cd75c9925e 100644 (file)
@@ -1,9 +1,45 @@
+/*
+ * This file is part of the GROMACS molecular simulation package.
+ *
+ * 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.
+ *
+ * GROMACS is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * as published by the Free Software Foundation; either version 2.1
+ * of the License, or (at your option) any later version.
+ *
+ * GROMACS is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with GROMACS; if not, see
+ * http://www.gnu.org/licenses, or write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
+ *
+ * If you want to redistribute modifications to GROMACS, please
+ * consider that scientific software is very special. Version
+ * control is crucial - bugs must be traceable. We will be happy to
+ * consider code for inclusion in the official distribution, but
+ * derived work must not be called official GROMACS. Details are found
+ * in the README & COPYING files - if they are missing, get the
+ * official version at http://www.gromacs.org.
+ *
+ * To help us fund GROMACS development, we humbly ask that you cite
+ * the research papers on the package. Check out http://www.gromacs.org.
+ */
 /* Some target architectures compile kernels for only some NBNxN
  * kernel flavours, but the code is generated before the target
  * architecture is known. So compilation is conditional upon
  * {0}, so that this file reduces to a stub
  * function definition when the kernel will never be called.
  */
+#include "gmxpre.h"
+
 #define GMX_SIMD_J_UNROLL_SIZE {7}
 #include "{4}"
 
 {3}
 
 #ifdef {0}
-#include "nbnxn_kernel_simd_2xnn_common.h"
+#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_common.h"
 #endif /* {0} */
 
 #ifdef CALC_ENERGIES
 void
-{5}(const nbnxn_pairlist_t     *nbl,
-{6}const nbnxn_atomdata_t     *nbat,
-{6}const interaction_const_t  *ic,
-{6}rvec                       *shift_vec,
-{6}real                       *f,
-{6}real                       *fshift,
-{6}real                       *Vvdw,
-{6}real                       *Vc)
+{5}(const nbnxn_pairlist_t    gmx_unused *nbl,
+{6}const nbnxn_atomdata_t    gmx_unused *nbat,
+{6}const interaction_const_t gmx_unused *ic,
+{6}rvec                      gmx_unused *shift_vec,
+{6}real                      gmx_unused *f,
+{6}real                      gmx_unused *fshift,
+{6}real                      gmx_unused *Vvdw,
+{6}real                      gmx_unused *Vc)
 #else /* CALC_ENERGIES */
 void
-{5}(const nbnxn_pairlist_t     *nbl,
-{6}const nbnxn_atomdata_t     *nbat,
-{6}const interaction_const_t  *ic,
-{6}rvec                       *shift_vec,
-{6}real                       *f,
-{6}real                       *fshift)
+{5}(const nbnxn_pairlist_t    gmx_unused *nbl,
+{6}const nbnxn_atomdata_t    gmx_unused *nbat,
+{6}const interaction_const_t gmx_unused *ic,
+{6}rvec                      gmx_unused *shift_vec,
+{6}real                      gmx_unused *f,
+{6}real                      gmx_unused *fshift)
 #endif /* CALC_ENERGIES */
 #ifdef {0}
-#include "nbnxn_kernel_simd_2xnn_outer.h"
+#include "gromacs/mdlib/nbnxn_kernels/simd_2xnn/nbnxn_kernel_simd_2xnn_outer.h"
 #else /* {0} */
 {{
 /* No need to call gmx_incons() here, because the only function