We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf0cad7 commit 30b1aa4Copy full SHA for 30b1aa4
source/module_hamilt_pw/hamilt_pwdft/operator_pw/velocity_pw.cpp
@@ -48,8 +48,8 @@ void Velocity::act
48
) const
49
{
50
ModuleBase::timer::tick("Operator", "Velocity");
51
- const int npw = psi_in->get_ngk(this->ik);
52
- // const int npw = psi_in->get_current_nbas();
+ // const int npw = psi_in->get_ngk(this->ik);
+ const int npw = psi_in->get_current_nbas();
53
const int max_npw = psi_in->get_nbasis() / psi_in->npol;
54
const int npol = psi_in->npol;
55
const std::complex<double>* tmpsi_in = psi0;
0 commit comments