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

neighbor_kokkos.cpp: Don't call grow() on neighbor lists that are copies.

This corresponds to a bugfix from commit 9161bd98 on neighbor.cpp
parent cb982f2f
No related branches found
No related tags found
No related merge requests found
......@@ -306,7 +306,7 @@ void NeighborKokkos::build_kokkos(int topoflag)
atomKK->sync(Host,ALL_MASK);
for (i = 0; i < npair_perpetual; i++) {
m = plist[i];
lists[m]->grow(nlocal,nall);
if (!lists[m]->copy) lists[m]->grow(nlocal,nall);
neigh_pair[m]->build_setup();
neigh_pair[m]->build(lists[m]);
}
......
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