1#ifndef ESOLVER_KS_LIP_H
2#define ESOLVER_KS_LIP_H
29 virtual void iter_init(
UnitCell& ucell,
const int istep,
const int iter)
override;
36 const double ethr)
override;
44 std::unique_ptr<Exx_Lip<T>> exx_lip;
45 int two_level_step = 0;
Definition esolver_ks_lcaopw.h:14
~ESolver_KS_LIP()
Definition esolver_ks_lcaopw.cpp:53
virtual void deallocate_hamilt() override
Definition esolver_ks_lcaopw.cpp:70
virtual void iter_init(UnitCell &ucell, const int istep, const int iter) override
Something to do before hamilt2rho function in each iter loop.
Definition esolver_ks_lcaopw.cpp:119
typename GetTypeReal< T >::type Real
Definition esolver_ks_lcaopw.h:16
virtual void before_scf(UnitCell &ucell, const int istep) override
Something to do before SCF iterations.
Definition esolver_ks_lcaopw.cpp:79
ESolver_KS_LIP()
Definition esolver_ks_lcaopw.cpp:47
virtual void iter_finish(UnitCell &ucell, const int istep, int &iter, bool &conv_esolver) override
Something to do after hamilt2rho function in each iter loop.
Definition esolver_ks_lcaopw.cpp:173
virtual void allocate_hamilt(const UnitCell &ucell) override
Definition esolver_ks_lcaopw.cpp:61
void after_all_runners(UnitCell &ucell) override
perform post processing calculations
Definition esolver_ks_lcaopw.cpp:235
virtual void hamilt2rho_single(UnitCell &ucell, const int istep, const int iter, const double ethr) override
All the other interfaces except this one are the same as ESolver_KS_PW.
Definition esolver_ks_lcaopw.cpp:130
void before_all_runners(UnitCell &ucell, const Input_para &inp) override
Initialize of the first-principels energy solver.
Definition esolver_ks_lcaopw.cpp:86
psi::Psi< T, base_device::DEVICE_CPU > * psi_local
psi for all local NAOs
Definition esolver_ks_lcaopw.h:41
Definition esolver_ks_pw.h:17
bool conv_esolver
Definition esolver.h:44
plane wave basis
Definition opt_test_tools.cpp:93
T type
Definition macros.h:8