Commit 228caa3f authored by Stan Moore's avatar Stan Moore
Browse files

Remove randomread from radius to prevent Kokkos runtime error when radius isn't defined

parent 64fb7674
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -686,7 +686,6 @@ void NeighborKokkosExecute<DeviceType>::
{
  /* if necessary, goto next page and add pages */
  int n = 0;
  int which = 0;
  int moltemplate;
  if (molecular == 2) moltemplate = 1;
  else moltemplate = 0;
+3 −3
Original line number Diff line number Diff line
@@ -182,7 +182,7 @@ class NeighborKokkosExecute
  // data from Atom class

  const typename AT::t_x_array_randomread x;
  const typename AT::t_float_1d_randomread radius;
  const typename AT::t_float_1d radius;
  const typename AT::t_int_1d_const type,mask;
  const typename AT::t_tagint_1d_const molecule;
  const typename AT::t_tagint_1d_const tag;
@@ -223,7 +223,7 @@ class NeighborKokkosExecute
                        const typename AT::t_int_1d_3 &_d_stencilxyz,
                        const int _nlocal,
                        const typename AT::t_x_array_randomread &_x,
			const typename AT::t_float_1d_randomread &_radius,
                        const typename AT::t_float_1d &_radius,
                        const typename AT::t_int_1d_const &_type,
                        const typename AT::t_int_1d_const &_mask,
                        const typename AT::t_tagint_1d_const &_molecule,