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

This commit is contained in:
sjplimp
2013-01-11 16:50:56 +00:00
parent bad59e0fca
commit a6eb6e4f84
10 changed files with 16 additions and 20 deletions

View File

@ -140,7 +140,7 @@ void FixTempBerendsen::end_of_step()
"Computed temperature for fix temp/berendsen cannot be 0.0");
double delta = update->ntimestep - update->beginstep;
delta /= update->endstep - update->beginstep;
if (delta != 0.0) delta /= update->endstep - update->beginstep;
// set current t_target
// if variable temp, evaluate variable, wrap with clear/add