Skip to content
Snippets Groups Projects
Commit eff503e5 authored by Tim Mattox's avatar Tim Mattox
Browse files

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

parent 7c61dbf5
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment