Commit cb6b4981 authored by julient31's avatar julient31
Browse files

Commit JT 042219

- change ntot -> nlocal
parent a696b263
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -551,7 +551,7 @@ void PPPMDipole::compute(int eflag, int vflag)
    }

    if (vflag_atom) {
      for (i = 0; i < ntotal; i++)
      for (i = 0; i < nlocal; i++)
        for (j = 0; j < 6; j++) vatom[i][j] *= 0.5*qscale;
    }
  }