Skip unnecessary calbec in LR_Modules/ch_psi_all.f90 for norm-conserving PP
The lines in LR_Modules/ch_psi_all.f90
computes bec = <beta|dpsi>
. They are used only in s_psi
for computing S * dpsi
. For norm-conserving PPs, S=I
, so this bec is never used. This MR adds a condition to skip this computation.
This can save ~10% of the time in large phonon calculations.
Edited by Jae-Mo Lihm