Prevent neighbor list copies between SSA and non-SSA neighbor list requests.
This commit is contained in:
@ -712,6 +712,7 @@ void Neighbor::init_pair()
|
|||||||
if (!requests[i]->fix && !requests[i]->compute) continue;
|
if (!requests[i]->fix && !requests[i]->compute) continue;
|
||||||
for (j = 0; j < nrequest; j++) {
|
for (j = 0; j < nrequest; j++) {
|
||||||
if (lists[j] == NULL) continue; // Kokkos
|
if (lists[j] == NULL) continue; // Kokkos
|
||||||
|
if (requests[i]->ssa != requests[j]->ssa) continue;
|
||||||
if (requests[i]->half && requests[j]->pair &&
|
if (requests[i]->half && requests[j]->pair &&
|
||||||
!requests[j]->skip && requests[j]->half && !requests[j]->copy)
|
!requests[j]->skip && requests[j]->half && !requests[j]->copy)
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user