|
votca 2026-dev
|
How the RPA energies of levels outside the GW window are shifted. More...
#include <out_of_window_shift.h>
Public Types | |
| enum class | Mode { Max , Nearest , Linear } |
Public Member Functions | |
| void | Apply (Eigen::VectorXd &energies, const Eigen::VectorXd &dft, Index rpamin, Index rpamax, Index homo, Index qpmin, Index qpmax) const |
Static Public Member Functions | |
| static Mode | Parse (const std::string &name) |
| static std::string | Name (Mode mode) |
Public Attributes | |
| Mode | mode = Mode::Max |
| double | fit_fraction = 0.3 |
Private Member Functions | |
| void | ShiftSide (Eigen::VectorXd &energies, const Eigen::VectorXd &dft, Index rpamin, Index out_first, Index out_last, Index win_first, Index win_last, bool below) const |
How the RPA energies of levels outside the GW window are shifted.
Levels in the RPA but not in the GW window [qpmin, qpmax] get no QP correction of their own. With D_i = E_i - e_i the corrections of the window levels, occupied (below qpmin) and virtual (above qpmax) levels are shifted by
nearest and linear are smooth functions of the QP energies; max is not (which level holds the maximum changes), which matters for the fixed-point iterations of evGW and QSGW.
Definition at line 57 of file out_of_window_shift.h.
|
strong |
| Enumerator | |
|---|---|
| Max | |
| Nearest | |
| Linear | |
Definition at line 58 of file out_of_window_shift.h.
|
inline |
Shifts the levels outside [qpmin, qpmax] of energies (indexed from rpamin, window levels already QP energies); dft and the level numbers homo, qpmin, qpmax are absolute.
Definition at line 87 of file out_of_window_shift.h.
|
inlinestatic |
Definition at line 73 of file out_of_window_shift.h.
|
inlinestatic |
Definition at line 62 of file out_of_window_shift.h.
|
inlineprivate |
Definition at line 106 of file out_of_window_shift.h.
| double votca::xtp::OutOfWindowShift::fit_fraction = 0.3 |
Definition at line 60 of file out_of_window_shift.h.
Definition at line 59 of file out_of_window_shift.h.