remove dead code

This commit is contained in:
Axel Kohlmeyer
2025-06-24 22:36:51 -04:00
parent c242294227
commit 0cd6c5c3ec

View File

@ -1915,7 +1915,7 @@ void PairAmoeba::polar_kspace()
// convolution operation
// ---------------------
m = n = 0;
n = 0;
for (k = nzlo; k <= nzhi; k++) {
for (j = nylo; j <= nyhi; j++) {
for (i = nxlo; i <= nxhi; i++) {
@ -1927,7 +1927,6 @@ void PairAmoeba::polar_kspace()
h3 = recip[2][0]*r1 + recip[2][1]*r2 + recip[2][2]*r3;
hsq = h1*h1 + h2*h2 + h3*h3;
term = -pterm * hsq;
expterm = 0.0;
if (term > -50.0 && hsq != 0.0) {
denom = volterm*hsq*bsmod1[i]*bsmod2[j]*bsmod3[k];
expterm = exp(term) / denom;
@ -2010,7 +2009,7 @@ void PairAmoeba::polar_kspace()
// convolution operation
// ---------------------
m = n = 0;
n = 0;
for (k = nzlo; k <= nzhi; k++) {
for (j = nylo; j <= nyhi; j++) {
for (i = nxlo; i <= nxhi; i++) {
@ -2022,7 +2021,6 @@ void PairAmoeba::polar_kspace()
h3 = recip[2][0]*r1 + recip[2][1]*r2 + recip[2][2]*r3;
hsq = h1*h1 + h2*h2 + h3*h3;
term = -pterm * hsq;
expterm = 0.0;
if (term > -50.0 && hsq != 0.0) {
denom = volterm*hsq*bsmod1[i]*bsmod2[j]*bsmod3[k];
expterm = exp(term) / denom;