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

This commit is contained in:
sjplimp
2013-02-12 23:43:26 +00:00
parent 4d6b9be28c
commit e8e8114352
3 changed files with 4 additions and 0 deletions

View File

@ -156,6 +156,7 @@ void Velocity::create(double t_desired, int seed)
if (igroup != temperature->igroup && comm->me == 0)
error->warning(FLERR,"Mismatch between velocity and compute groups");
temperature->init();
temperature->setup();
// store a copy of current velocities
@ -531,6 +532,7 @@ void Velocity::scale(int narg, char **arg)
if (igroup != temperature->igroup && comm->me == 0)
error->warning(FLERR,"Mismatch between velocity and compute groups");
temperature->init();
temperature->setup();
// scale temp to desired value