Skip to content

Commit

Permalink
Update esolver_ks_lcao_tddft.h (#5496)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanchen authored Nov 15, 2024
1 parent d80b5af commit 5b1777c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions source/module_esolver/esolver_ks_lcao_tddft.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef W_ABACUS_DEVELOP_ABACUS_DEVELOP_SOURCE_MODULE_ESOLVER_ESOLVER_KS_LCAO_TDDFT_H
#define W_ABACUS_DEVELOP_ABACUS_DEVELOP_SOURCE_MODULE_ESOLVER_ESOLVER_KS_LCAO_TDDFT_H
#ifndef ESOLVER_KS_LCAO_TDDFT_H
#define ESOLVER_KS_LCAO_TDDFT_H
#include "esolver_ks.h"
#include "esolver_ks_lcao.h"
#include "module_elecstate/elecstate_lcao_tddft.h"
Expand All @@ -18,18 +18,22 @@ class ESolver_KS_LCAO_TDDFT : public ESolver_KS_LCAO<std::complex<double>, doubl

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

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

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

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

// same as pelec
//! Electronic states of rt-TDDFT
elecstate::ElecStateLCAO_TDDFT* pelec_td = nullptr;

int td_htype = 1;

protected:

virtual void hamilt2density_single(const int istep, const int iter, const double ethr) override;

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

0 comments on commit 5b1777c

Please sign in to comment.