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

This commit is contained in:
sjplimp 2009-08-18 17:55:43 +00:00
parent ca90b7488c
commit f0aacd0847
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ void PairSoft::compute(int eflag, int vflag)
// for 0-step dynamics, set to prestart
double delta = update->ntimestep - update->beginstep;
if (update->whichflag == 1) delta = 1.0;
if (update->whichflag == 2) delta = 1.0;
else if (update->nsteps) delta /= update->endstep - update->beginstep;
else delta = 0.0;
int ntypes = atom->ntypes;