git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1977 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -110,7 +110,7 @@ void FixTempRescale::end_of_step()
|
||||
{
|
||||
double t_current = temperature->compute_scalar();
|
||||
if (t_current == 0.0)
|
||||
error->all("Computed temperature for fix temp/berendsen cannot be 0.0");
|
||||
error->all("Computed temperature for fix temp/rescale cannot be 0.0");
|
||||
|
||||
double delta = update->ntimestep - update->beginstep;
|
||||
delta /= update->endstep - update->beginstep;
|
||||
|
||||
Reference in New Issue
Block a user