more code formatting consistency changes for loops and conditionals

This commit is contained in:
Axel Kohlmeyer
2020-12-30 09:27:47 -05:00
parent 28de7e351a
commit 51a20175c9
171 changed files with 744 additions and 747 deletions

View File

@ -566,7 +566,7 @@ void PairLJLongTIP4PLong::compute_inner()
rsq = delx*delx + dely*dely + delz*delz;
jtype = type[j];
if (rsq < cut_ljsq[itype][jtype] && rsq < cut_out_off_sq ) { // lj
if (rsq < cut_ljsq[itype][jtype] && rsq < cut_out_off_sq) { // lj
r2inv = 1.0/rsq;
double rn = r2inv*r2inv*r2inv;
if (ni == 0) forcelj = rn*(rn*lj1i[jtype]-lj2i[jtype]);
@ -819,7 +819,7 @@ void PairLJLongTIP4PLong::compute_middle()
rsq = delx*delx + dely*dely + delz*delz;
jtype = type[j];
if (rsq < cut_ljsq[itype][jtype] && rsq >= cut_in_off_sq && rsq <= cut_out_off_sq ) { // lj
if (rsq < cut_ljsq[itype][jtype] && rsq >= cut_in_off_sq && rsq <= cut_out_off_sq) { // lj
r2inv = 1.0/rsq;
double rn = r2inv*r2inv*r2inv;
if (ni == 0) forcelj = rn*(rn*lj1i[jtype]-lj2i[jtype]);