Skip to content

Commit 5980dd2

Browse files
committed
DeltaP PW: remove Wilson loop debug prints
1 parent a2174a7 commit 5980dd2

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

source/source_pw/module_pwdft/deltap_pw.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,6 @@ void compute_per_atom_gamma_wilson(
398398
}
399399

400400
// Normalize per-band weights and compute per-atom gamma
401-
double gamma_sum_check = 0.0;
402401
for (int n = 0; n < m_dim; n++)
403402
{
404403
double w_tot = 0.0;
@@ -407,9 +406,6 @@ void compute_per_atom_gamma_wilson(
407406
for (int iat = 0; iat < nat; iat++)
408407
gamma_per_atom[iat] += w_atom_band[iat][n] * theta[n] / w_tot;
409408
}
410-
for (int iat = 0; iat < nat; iat++) gamma_sum_check += gamma_per_atom[iat];
411-
double th_sum = 0; for (int n=0; n<m_dim; n++) th_sum += theta[n];
412-
std::cout << " [Wilson] Σγ=" << gamma_sum_check << " Σθ=" << th_sum << std::endl;
413409
}
414410

415411
} // namespace pw_deltap

0 commit comments

Comments
 (0)