forked from lijiext/lammps
Prevent neighbor list copies between SSA and non-SSA neighbor list requests.
This commit is contained in:
parent
7c61dbf5e2
commit
eff503e56c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue