dead code removal

This commit is contained in:
Axel Kohlmeyer
2021-09-17 22:53:59 -04:00
parent a46b8688ea
commit 5a6c1abeed
6 changed files with 8 additions and 18 deletions

View File

@ -779,10 +779,8 @@ void FixMove::initial_integrate(int /*vflag*/)
if (vxvarstyle == EQUAL) v[i][0] = vx;
else v[i][0] = velocity[i][0];
if (rmass) {
dtfm = dtf / rmass[i];
x[i][0] += dtv * v[i][0];
} else {
dtfm = dtf / mass[type[i]];
x[i][0] += dtv * v[i][0];
}
} else {
@ -809,10 +807,8 @@ void FixMove::initial_integrate(int /*vflag*/)
if (vyvarstyle == EQUAL) v[i][1] = vy;
else v[i][1] = velocity[i][1];
if (rmass) {
dtfm = dtf / rmass[i];
x[i][1] += dtv * v[i][1];
} else {
dtfm = dtf / mass[type[i]];
x[i][1] += dtv * v[i][1];
}
} else {
@ -839,10 +835,8 @@ void FixMove::initial_integrate(int /*vflag*/)
if (vzvarstyle == EQUAL) v[i][2] = vz;
else v[i][2] = velocity[i][2];
if (rmass) {
dtfm = dtf / rmass[i];
x[i][2] += dtv * v[i][2];
} else {
dtfm = dtf / mass[type[i]];
x[i][2] += dtv * v[i][2];
}
} else {