forked from lijiext/lammps
one more whitespace fix
This commit is contained in:
parent
adf9602ae3
commit
c5f6b5c687
|
@ -382,11 +382,11 @@ void FixRestrain::restrain_lbound(int m)
|
|||
rk = k * dr;
|
||||
|
||||
// force & energy
|
||||
|
||||
|
||||
if (dr < 0) {
|
||||
if (r > 0.0) fbond = -2.0*rk/r;
|
||||
else fbond = 0.0;
|
||||
|
||||
|
||||
elbound += rk*dr;
|
||||
energy += rk*dr;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue