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

@ -220,7 +220,7 @@ int ComputeAngleLocal::compute_angles(int flag)
Angle *angle = force->angle;
m = n = 0;
m = 0;
for (atom2 = 0; atom2 < nlocal; atom2++) {
if (!(mask[atom2] & groupbit)) continue;
@ -292,7 +292,7 @@ int ComputeAngleLocal::compute_angles(int flag)
if (tstr) input->variable->internal_set(tvar,theta);
}
for (n = 0; n < nvalues; n++) {
for (int n = 0; n < nvalues; n++) {
switch (bstyle[n]) {
case THETA:
ptr[n] = 180.0*theta/MY_PI;