Fixing Kokkos bug

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14467 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
stamoor 2016-01-21 20:15:34 +00:00
parent eebf110e02
commit eb105410ad
2 changed files with 4 additions and 0 deletions

View File

@ -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++;
}

View File

@ -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++;
}
/* ----------------------------------------------------------------------