Prevent neighbor list copies between SSA and non-SSA neighbor list requests.

This commit is contained in:
Tim Mattox 2016-12-09 15:39:46 -06:00
parent 7c61dbf5e2
commit eff503e56c
1 changed files with 1 additions and 0 deletions

View File

@ -712,6 +712,7 @@ void Neighbor::init_pair()
if (!requests[i]->fix && !requests[i]->compute) continue;
for (j = 0; j < nrequest; j++) {
if (lists[j] == NULL) continue; // Kokkos
if (requests[i]->ssa != requests[j]->ssa) continue;
if (requests[i]->half && requests[j]->pair &&
!requests[j]->skip && requests[j]->half && !requests[j]->copy)
break;