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 d0bedae commit 25a77b3Copy full SHA for 25a77b3
source/module_esolver/cal_edm_tddft.cpp
@@ -2,7 +2,6 @@
2
3
#include "module_io/cal_r_overlap_R.h"
4
#include "module_io/dipole_io.h"
5
-#include "module_io/rho_io.h"
6
#include "module_io/td_current_io.h"
7
#include "module_io/write_HS.h"
8
#include "module_io/write_HS_R.h"
@@ -42,7 +41,7 @@ namespace ModuleESolver
42
41
void ESolver_KS_LCAO_TDDFT::cal_edm_tddft()
43
{
44
// mohan add 2024-03-27
45
- const int nlocal = GlobalV::NLOCAL;
+ const int nlocal = PARAM.globalv.nlocal;
46
assert(nlocal >= 0);
47
48
dynamic_cast<elecstate::ElecStateLCAO<std::complex<double>>*>(this->pelec)
0 commit comments