Commit a49f946f authored by Stan Moore's avatar Stan Moore
Browse files

Add missing modify in atom_vec_sphere_kokkos

parent 8c3cbad7
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1839,6 +1839,8 @@ void AtomVecSphereKokkos::data_atom(double *coord, imageint imagetmp, char **val
  omega[nlocal][1] = 0.0;
  omega[nlocal][2] = 0.0;

  atomKK->modified(Host,ALL_MASK);

  atom->nlocal++;
}

@@ -1862,6 +1864,9 @@ int AtomVecSphereKokkos::data_atom_hybrid(int nlocal, char **values)
    rmass[nlocal] = 4.0*MY_PI/3.0 *
      radius[nlocal]*radius[nlocal]*radius[nlocal] * density;


  atomKK->modified(Host,RADIUS_MASK|RMASS_MASK);

  return 2;
}