Commit 5db1e4fe authored by Stan Moore's avatar Stan Moore
Browse files

Initialize variables since Kokkos doesn't call setup_fields

parent d69009ac
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -55,6 +55,9 @@ AtomVec::AtomVec(LAMMPS *lmp) : Pointers(lmp)
  threads = NULL;
  nthreads = comm->nthreads;

  ngrow = ncopy = ncomm = ncomm_vel = nreverse = nborder = nborder_vel = 0;
  nexchange = nrestart = ncreate = ndata_atom = ndata_vel = 0;

  // peratom variables auto-included in corresponding child style fields string
  // these fields cannot be specified in the fields string