Only setup Ewald in the generic group kernel if it's used
commit6768082a003f892022eff9eb1853dc9ebc247346
authorAleksei Iupinov <a.yupinov@gmail.com>
Mon, 5 Feb 2018 11:31:57 +0000 (5 12:31 +0100)
committerBerk Hess <hess@kth.se>
Tue, 6 Feb 2018 09:34:08 +0000 (6 10:34 +0100)
treef56a38144ea113a2de7742828d61594643b1b9d5
parentc54cf431c2420b4142f8743924dcc736754880d2
Only setup Ewald in the generic group kernel if it's used

Helps to not divide by garbage values.

Change-Id: I67999c56b2ce6105d154e7f90b137f67bafd4673
src/gromacs/gmxlib/nonbonded/nb_generic.cpp