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;
|
rk = k * dr;
|
||||||
|
|
||||||
// force & energy
|
// force & energy
|
||||||
|
|
||||||
if (dr < 0) {
|
if (dr < 0) {
|
||||||
if (r > 0.0) fbond = -2.0*rk/r;
|
if (r > 0.0) fbond = -2.0*rk/r;
|
||||||
else fbond = 0.0;
|
else fbond = 0.0;
|
||||||
|
|
||||||
elbound += rk*dr;
|
elbound += rk*dr;
|
||||||
energy += rk*dr;
|
energy += rk*dr;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue