Temporarily commented out the section in the Atom class where FixGPU finds the optimal bin size. This section makes ev_tally4() in Angle different from CPU-only runs, even with a single command "package gpu 1" without any gpu pair style. Need more effort to understand why.

This commit is contained in:
Trung Nguyen
2021-09-03 01:00:29 -05:00
parent 7e0c77f1cb
commit 745c7089f0
2 changed files with 4 additions and 0 deletions

View File

@ -2274,6 +2274,7 @@ void Atom::setup_sort_bins()
#ifdef LMP_GPU
if (userbinsize == 0.0) {
int ifix = modify->find_fix("package_gpu");
/*
if (ifix >= 0) {
const double subx = domain->subhi[0] - domain->sublo[0];
const double suby = domain->subhi[1] - domain->sublo[1];
@ -2297,6 +2298,7 @@ void Atom::setup_sort_bins()
bininvy = bininv;
bininvz = bininv;
}
*/
}
#endif