1 parent a2174a7 commit 5980dd2Copy full SHA for 5980dd2
1 file changed
source/source_pw/module_pwdft/deltap_pw.cpp
@@ -398,7 +398,6 @@ void compute_per_atom_gamma_wilson(
398
}
399
400
// Normalize per-band weights and compute per-atom gamma
401
- double gamma_sum_check = 0.0;
402
for (int n = 0; n < m_dim; n++)
403
{
404
double w_tot = 0.0;
@@ -407,9 +406,6 @@ void compute_per_atom_gamma_wilson(
407
406
for (int iat = 0; iat < nat; iat++)
408
gamma_per_atom[iat] += w_atom_band[iat][n] * theta[n] / w_tot;
409
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;
413
414
415
} // namespace pw_deltap
0 commit comments