![]() |
(git:f2099e5)
|
Computes the RI-RS fitting matrix Z_lP. More...
Functions/Subroutines | |
| subroutine, public | compute_z_lp (qs_env, bs_env, ri_rs_grid_points, mat_phi_mu_l, mat_z_lp) |
| Computes Z_lP for (1) a tabulated RI basis set or (2) an on-the-fly generated RI basis set. | |
Computes the RI-RS fitting matrix Z_lP.
| subroutine, public gw_ri_rs_compute_z_lp::compute_z_lp | ( | type(qs_environment_type), pointer | qs_env, |
| type(post_scf_bandstructure_type), pointer | bs_env, | ||
| real(kind=dp), dimension(:, :), intent(inout), allocatable | ri_rs_grid_points, | ||
| type(dbcsr_type), intent(inout) | mat_phi_mu_l, | ||
| type(dbcsr_type), intent(out) | mat_z_lp ) |
Computes Z_lP for (1) a tabulated RI basis set or (2) an on-the-fly generated RI basis set.
In both cases, the Z_lP coefficients are computed by solving the linear system
Σ_l' D_ll' Z_l'P = d_lP,
with D_ll' and d_lP given by
D_ll' = [Σ_μ ϕ_μ(r_l) ϕ_μ(r_l')]²,
d_lP = Σ_μν ϕ_μ(r_l) ϕ_ν(r_l) (μν|P).
For an on-the-fly generated RI basis set, an RI function φ_P may be a contraction of
Gaussians on neighboring atoms, which requires special computation of d_lP.
| qs_env | ... |
| bs_env | Band-structure environment containing GW parameters. |
| ri_rs_grid_points | ... |
| mat_phi_mu_l | ... |
| mat_Z_lP | ... |
Definition at line 98 of file gw_ri_rs_compute_Z_lP.F.