Commit 5656e90b authored by sjplimp's avatar sjplimp Committed by GitHub
Browse files

Merge pull request #313 from stanmoore1/kokkos_bugfixes

Kokkos bugfixes
parents 41a6a307 4cfe122a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1593,7 +1593,7 @@ int AtomVecAngleKokkos::unpack_restart(double *buf)

  double **extra = atom->extra;
  if (atom->nextra_store) {
    int size = static_cast<int> (ubuf(buf[m++]).i) - m;
    int size = static_cast<int> (buf[0]) - m;
    for (int i = 0; i < size; i++) extra[nlocal][i] = buf[m++];
  }

+1 −1
Original line number Diff line number Diff line
@@ -1232,7 +1232,7 @@ int AtomVecAtomicKokkos::unpack_restart(double *buf)

  double **extra = atom->extra;
  if (atom->nextra_store) {
    int size = static_cast<int> (ubuf(buf[m++]).i) - m;
    int size = static_cast<int> (buf[0]) - m;
    for (int i = 0; i < size; i++) extra[nlocal][i] = buf[m++];
  }

+1 −1
Original line number Diff line number Diff line
@@ -1460,7 +1460,7 @@ int AtomVecBondKokkos::unpack_restart(double *buf)

  double **extra = atom->extra;
  if (atom->nextra_store) {
    int size = static_cast<int> (ubuf(buf[m++]).i) - m;
    int size = static_cast<int> (buf[0]) - m;
    for (int i = 0; i < size; i++) extra[nlocal][i] = buf[m++];
  }

+1 −1
Original line number Diff line number Diff line
@@ -1314,7 +1314,7 @@ int AtomVecChargeKokkos::unpack_restart(double *buf)

  double **extra = atom->extra;
  if (atom->nextra_store) {
    int size = static_cast<int> (ubuf(buf[m++]).i) - m;
    int size = static_cast<int> (buf[0]) - m;
    for (int i = 0; i < size; i++) extra[nlocal][i] = buf[m++];
  }

+1 −1
Original line number Diff line number Diff line
@@ -1936,7 +1936,7 @@ int AtomVecFullKokkos::unpack_restart(double *buf)

  double **extra = atom->extra;
  if (atom->nextra_store) {
    int size = static_cast<int> (ubuf(buf[m++]).i) - m;
    int size = static_cast<int> (buf[0]) - m;
    for (int i = 0; i < size; i++) extra[nlocal][i] = buf[m++];
  }

Loading