21
21
This software is distributed under the GNU General Public License.
22
22
------------------------------------------------------------------------- */
24
__device__ inline F_FLOAT PairLJClass2Cuda_Eval(const F_FLOAT &rsq, const int ij_type, F_FLOAT &factor_lj, int &eflag, ENERGY_FLOAT &evdwl)
24
__device__ inline F_CFLOAT PairLJClass2Cuda_Eval(const F_CFLOAT &rsq, const int ij_type, F_CFLOAT &factor_lj, int &eflag, ENERGY_CFLOAT &evdwl)
30
30
if(eflag) evdwl += factor_lj * (r6inv * (_lj3[ij_type] * r3inv -
31
31
_lj4[ij_type]) - _offset[ij_type]);