pppm/gpu now using all gpu kernels.

This commit is contained in:
W. Michael Brown
2011-03-25 11:49:09 -04:00
parent 0737352277
commit f0263bf14c
17 changed files with 71 additions and 209 deletions

View File

@ -269,10 +269,8 @@ double PairGPUAnsT::energy_virial(double *eatom, double **vatom,
template <class numtyp, class acctyp>
double PairGPUAnsT::energy_virial(double *eatom, double **vatom,
double *virial, double &ecoul) {
if (_eflag==false && _vflag==false) {
ecoul=0.0;
if (_eflag==false && _vflag==false)
return 0.0;
}
if (_charge==false)
return energy_virial(eatom,vatom,virial);