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:52
virtual void deallocate_hamilt() override
Definition esolver_ks_lcaopw.cpp:72
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:120
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:81
ESolver_KS_LIP()
Definition esolver_ks_lcaopw.cpp:46
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:175
virtual void allocate_hamilt(const UnitCell &ucell) override
Definition esolver_ks_lcaopw.cpp:63
void after_all_runners(UnitCell &ucell) override
perform post processing calculations
Definition esolver_ks_lcaopw.cpp:237
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:131
void before_all_runners(UnitCell &ucell, const Input_para &inp) override
Initialize of the first-principels energy solver.
Definition esolver_ks_lcaopw.cpp:88
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:18
bool conv_esolver
Definition esolver.h:47
The First-Principles (FP) Energy Solver Class.
Definition opt_test_tools.cpp:93
T type
Definition macros.h:8