git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13077 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2015-02-06 21:59:28 +00:00
parent fd89b16663
commit 06b956da10
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ void Velocity::create(double t_desired, int seed)
else factor = 1.0/sqrt(mass[type[m]]);
v[m][0] = vx * factor;
v[m][1] = vy * factor;
if (dim == 3) v[m][2] = vy * factor;
if (dim == 3) v[m][2] = vz * factor;
else v[m][2] = 0.0;
}
}