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

@ -357,7 +357,7 @@ void FixPressBerendsen::end_of_step()
couple();
double delta = update->ntimestep - update->beginstep;
delta /= update->endstep - update->beginstep;
if (delta != 0.0) delta /= update->endstep - update->beginstep;
for (int i = 0; i < 3; i++) {
if (p_flag[i]) {