K_driver Subroutine

subroutine K_driver(Xen, Ken, Xk, q, X_static_pp, Xw, Dip)

Driver of the Bethe-Salpeter equation (BSE) calculation.

The BSE is solved in the electron-hole (e-h) transition space as an effective two-particle Hamiltonian \f[ H^{\rm BSE}{(vck)(v'c'k')} = (\epsilon-\epsilon_{vk})\,\delta_{vv'}\delta_{cc'}\delta_{kk'} + 2\bar v_{(vck)(v'c'k')} - W_{(vck)(v'c'k')} \f] where \f$\bar v\f$ is the exchange part of the bare Coulomb interaction (local-field effects), \f$W\f$ is the statically screened interaction (e-h attraction) and \f$\epsilon\f$ are the (QP-corrected) single-particle energies.

For each transferred momentum \f$q\f$ in the range BS_q the routine executes the following steps: 1. Set up the frequency grid (BSS_er, BSS_dr, BSS_n_freqs) and the observables (K_observables). 2. Build the parallel layout of the e-h transitions and the \f$G-G'\f$ tables used by \f$W\f$. 3. Build the transition groups and the kernel blocks (K_Transitions_setup, K_blocks). 4. Compute the dipoles (K_dipoles) and the independent-particle response (K_IP). 5. Build the kernel (K_kernel) unless only the IP response was requested (l_rpa_IP). 6. Solve the BSE with the selected solver (K_solvers: diagonalization, Haydock, inversion, ...). 7. If the TDDFT mode is requested (BSS_mode contains t) evaluate the response via OPTICS_driver.

The Tamm-Dancoff approximation is used unless BSE_mode contains coupling, in which case the resonant-antiresonant coupling blocks are included.

Arguments

Type IntentOptional Attributes Name
type(levels) :: Xen

Energy levels used for the response function.

type(levels) :: Ken

Energy levels used for the response function. Energy levels used in the kernel (may include QP corrections).

type(bz_samp) :: Xk

Brillouin-zone sampling.

type(bz_samp) :: q

Brillouin-zone sampling. Transferred-momentum sampling.

type(X_t) :: X_static_pp

Static screening (plasmon-pole/static \f$\epsilon^{-1}\f$) entering \f$W\f$.

type(w_samp) :: Xw

Frequency descriptor of the screening.

type(DIPOLE_t) :: Dip

Dipole matrix elements.



📚 Documentation Pages
⏱️ Real-Time
🔗 Code API