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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;