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

@ -99,6 +99,7 @@ void ComputeTempSphere::init()
if (tbias->igroup != igroup)
error->all(FLERR,"Bias compute group does not match compute group");
tbias->init();
tbias->setup();
if (strcmp(tbias->style,"temp/region") == 0) tempbias = 2;
else tempbias = 1;
}

View File

@ -161,6 +161,7 @@ void Modify::init()
// needs to come before compute init
// this is b/c some computes call fix->dof()
// FixRigid::dof() depends on its own init having been called
// NOTE: 2/13, this may no longer be needed b/c computes do dof in setup()
for (i = 0; i < nfix; i++) fix[i]->init();

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