2 * This source code is part of
6 * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
7 * Copyright (c) 2001-2009, The GROMACS Development Team
9 * Gromacs is a library for molecular simulation and trajectory analysis,
10 * written by Erik Lindahl, David van der Spoel, Berk Hess, and others - for
11 * a full list of developers and information, check out http://www.gromacs.org
13 * This program is free software; you can redistribute it and/or modify it under
14 * the terms of the GNU Lesser General Public License as published by the Free
15 * Software Foundation; either version 2 of the License, or (at your option) any
17 * As a special exception, you may use this file as part of a free software
18 * library without restriction. Specifically, if other files instantiate
19 * templates or use macros or inline functions from this file, or you compile
20 * this file and link it with other files to produce an executable, this
21 * file does not by itself cause the resulting executable to be covered by
22 * the GNU Lesser General Public License.
24 * In plain-speak: do not worry about classes/macros/templates either - only
25 * changes to the library have to be LGPL, not an application linking with it.
27 * To help fund GROMACS development, we humbly ask that you cite
28 * the papers people have written on it - you can find them on the website!
30 #ifndef _NBKERNEL132_POWER6_H_
31 #define _NBKERNEL132_POWER6_H_
33 /*! \file nb_kernel132_power6.h
34 * \brief Nonbonded kernel 132 (Coul + Tab VdW, SPC-SPC)
39 #include "types/simple.h"
49 /*! \brief Nonbonded kernel 132 with forces.
51 * <b>Coulomb interaction:</b> Standard 1/r <br>
52 * <b>VdW interaction:</b> Tabulated <br>
53 * <b>Water optimization:</b> SPC - SPC <br>
54 * <b>Forces calculated:</b> Yes <br>
56 * \note All level1 and level2 nonbonded kernels use the same
57 * call sequence. Parameters are documented in nb_kernel_power6.h
61 (int * nri
, int iinr
[],
62 int jindex
[], int jjnr
[],
63 int shift
[], real shiftvec
[],
64 real fshift
[], int gid
[],
65 real pos
[], real faction
[],
66 real charge
[], real
* facel
,
67 real
* krf
, real
* crf
,
68 real Vc
[], int type
[],
69 int * ntype
, real vdwparam
[],
70 real Vvdw
[], real
* tabscale
,
71 real VFtab
[], real invsqrta
[],
72 real dvda
[], real
* gbtabscale
,
73 real GBtab
[], int * nthreads
,
74 int * count
, void * mtx
,
75 int * outeriter
, int * inneriter
,
79 /*! \brief Nonbonded kernel 132 without forces.
81 * <b>Coulomb interaction:</b> Standard 1/r <br>
82 * <b>VdW interaction:</b> Tabulated <br>
83 * <b>Water optimization:</b> SPC - SPC <br>
84 * <b>Forces calculated:</b> No <br>
86 * \note All level1 and level2 nonbonded kernels use the same
87 * call sequence. Parameters are documented in nb_kernel_power6.h
91 (int * nri
, int iinr
[],
92 int jindex
[], int jjnr
[],
93 int shift
[], real shiftvec
[],
94 real fshift
[], int gid
[],
95 real pos
[], real faction
[],
96 real charge
[], real
* facel
,
97 real
* krf
, real
* crf
,
98 real Vc
[], int type
[],
99 int * ntype
, real vdwparam
[],
100 real Vvdw
[], real
* tabscale
,
101 real VFtab
[], real invsqrta
[],
102 real dvda
[], real
* gbtabscale
,
103 real GBtab
[], int * nthreads
,
104 int * count
, void * mtx
,
105 int * outeriter
, int * inneriter
,
113 #endif /* _NBKERNEL132_POWER6_H_ */