forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3105 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
2be36b47f5
commit
29a5c558f3
|
@ -155,7 +155,7 @@ void FixIndent::post_force(int vflag)
|
||||||
// for minimization, always set to r0_stop
|
// for minimization, always set to r0_stop
|
||||||
|
|
||||||
double r0;
|
double r0;
|
||||||
if (!radflag || update->whichflag) r0 = r0_stop;
|
if (!radflag || update->whichflag == 2) r0 = r0_stop;
|
||||||
else {
|
else {
|
||||||
double delta = update->ntimestep - update->beginstep;
|
double delta = update->ntimestep - update->beginstep;
|
||||||
delta /= update->endstep - update->beginstep;
|
delta /= update->endstep - update->beginstep;
|
||||||
|
|
Loading…
Reference in New Issue