Commit 43370b75 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@16038 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 60f2b25b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -74,7 +74,6 @@ void NBinKokkos<DeviceType>::bin_atoms_setup(int nall)

    k_bincount = DAT::tdual_int_1d("Neighbor::d_bincount",mbins);
    bincount = k_bincount.view<DeviceType>();
    last_bin_memory = update->ntimestep;
  }
}

@@ -116,7 +115,6 @@ void NBinKokkos<DeviceType>::bin_atoms()
      k_bins = DAT::tdual_int_2d("bins", mbins, atoms_per_bin);
      bins = k_bins.view<DeviceType>();
      c_bins = bins;
      last_bin_memory = update->ntimestep;
    }
  }
}
+0 −3
Original line number Diff line number Diff line
@@ -86,7 +86,6 @@ void NBinIntel::bin_atoms_setup(int nall)
         nocopy(binhead:length(maxbin+1) alloc_if(1) free_if(0))
    }
    #endif
    last_bin_memory = update->ntimestep;
  }

  // bins = per-atom vector
@@ -127,8 +126,6 @@ void NBinIntel::bin_atoms_setup(int nall)
      _fix->get_single_buffers()->set_bininfo(_atombin,_binpacked);
    else
      _fix->get_double_buffers()->set_bininfo(_atombin,_binpacked);

    last_bin_memory = update->ntimestep;
  }
}

+1 −3
Original line number Diff line number Diff line
@@ -46,9 +46,7 @@ NPairIntel::~NPairIntel() {
  #endif
}

/* ----------------------------------------------------------------------
   copy needed info from NStencil class to this build class
------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------- */

#ifdef _LMP_INTEL_OFFLOAD
void NPairIntel::grow_stencil()
+1 −3
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ using namespace LAMMPS_NS;

NBin::NBin(LAMMPS *lmp) : Pointers(lmp)
{
  last_setup = last_bin = last_bin_memory = -1;
  last_bin = -1;
  maxbin = maxatom = 0;
  binhead = NULL;
  bins = NULL;
@@ -71,7 +71,6 @@ void NBin::bin_atoms_setup(int nall)
    maxbin = mbins;
    memory->destroy(binhead);
    memory->create(binhead,maxbin,"neigh:binhead");
    last_bin_memory = update->ntimestep;
  }

  // bins = per-atom vector
@@ -80,7 +79,6 @@ void NBin::bin_atoms_setup(int nall)
    maxatom = nall;
    memory->destroy(bins);
    memory->create(bins,maxatom,"neigh:bins");
    last_bin_memory = update->ntimestep;
  }
}

+1 −3
Original line number Diff line number Diff line
@@ -21,9 +21,7 @@ namespace LAMMPS_NS {
class NBin : protected Pointers {
 public:
  int istyle;                      // 1-N index into binnames

  bigint last_setup,last_bin;      // timesteps for last operations performed
  bigint last_bin_memory;
  bigint last_bin;                 // last timestep atoms were binned

  int nbinx,nbiny,nbinz;           // # of global bins
  int mbins;                       // # of local bins and offset on this proc
Loading