Commit eb105410 authored by stamoor's avatar stamoor
Browse files

Fixing Kokkos bug

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14467 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent eebf110e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1297,6 +1297,8 @@ void AtomVecAtomicKokkos::data_atom(double *coord, tagint imagetmp,
  h_v(nlocal,1) = 0.0;
  h_v(nlocal,2) = 0.0;

  atomKK->modified(Host,ALL_MASK);

  atom->nlocal++;
}

+2 −0
Original line number Diff line number Diff line
@@ -1383,6 +1383,8 @@ void AtomVecChargeKokkos::data_atom(double *coord, imageint imagetmp,
  h_v(nlocal,1) = 0.0;
  h_v(nlocal,2) = 0.0;

  atomKK->modified(Host,ALL_MASK);

  atom->nlocal++;
}
/* ----------------------------------------------------------------------