Skip to content

Commit 03aea97

Browse files
authored
Update esolver_ks_lcao_tddft.h
1 parent b0503e4 commit 03aea97

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

source/module_esolver/esolver_ks_lcao_tddft.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef W_ABACUS_DEVELOP_ABACUS_DEVELOP_SOURCE_MODULE_ESOLVER_ESOLVER_KS_LCAO_TDDFT_H
2-
#define W_ABACUS_DEVELOP_ABACUS_DEVELOP_SOURCE_MODULE_ESOLVER_ESOLVER_KS_LCAO_TDDFT_H
1+
#ifndef ESOLVER_KS_LCAO_TDDFT_H
2+
#define ESOLVER_KS_LCAO_TDDFT_H
33
#include "esolver_ks.h"
44
#include "esolver_ks_lcao.h"
55
#include "module_elecstate/elecstate_lcao_tddft.h"
@@ -18,18 +18,22 @@ class ESolver_KS_LCAO_TDDFT : public ESolver_KS_LCAO<std::complex<double>, doubl
1818

1919
void before_all_runners(const Input_para& inp, UnitCell& cell) override;
2020

21+
//! wave functions of last time step
2122
psi::Psi<std::complex<double>>* psi_laststep = nullptr;
2223

24+
//! Hamiltonian of last time step
2325
std::complex<double>** Hk_laststep = nullptr;
2426

27+
//! Overlap matrix of last time step
2528
std::complex<double>** Sk_laststep = nullptr;
2629

27-
// same as pelec
30+
//! Electronic states of rt-TDDFT
2831
elecstate::ElecStateLCAO_TDDFT* pelec_td = nullptr;
2932

3033
int td_htype = 1;
3134

3235
protected:
36+
3337
virtual void hamilt2density_single(const int istep, const int iter, const double ethr) override;
3438

3539
virtual void update_pot(const int istep, const int iter) override;

0 commit comments

Comments
 (0)