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 8034a77 commit 52203c3Copy full SHA for 52203c3
source/module_hamilt/hamilt_pw.cpp
@@ -19,6 +19,7 @@ HamiltPW::HamiltPW()
19
{
20
this->classname = "HamiltPW";
21
const double tpiba2 = GlobalC::ucell.tpiba2;
22
+ const double tpiba = GlobalC::ucell.tpiba;
23
const int* isk = GlobalC::kv.isk.data();
24
const double* gk2 = GlobalC::wfcpw->gk2;
25
@@ -71,7 +72,7 @@ HamiltPW::HamiltPW()
71
72
}
73
74
Operator* meta = new Meta<OperatorPW>(
- tpiba2,
75
+ tpiba,
76
isk,
77
&GlobalC::pot.vofk,
78
GlobalC::wfcpw
0 commit comments