![]() |
(git:691081d)
|
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 in either the standard tabulated or automatically generated RI basis set. | |
Computes the RI-RS fitting matrix Z_lP.
| subroutine, public gw_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 in either the standard tabulated or automatically generated RI basis set.
For both basis choices, the Z_lP coefficients solve
Σ_l' D_ll' Z_l'P = d_lP, D_ll' = [Σ_μ Φ_μ(r_l) Φ_μ(r_l')]², d_lP = Σ_μν Φ_μ(r_l) Φ_ν(r_l) (μν|P).
An automatically optimized function P may contain RI functions on neighboring atoms. This routine selects the implementation without exposing either implementation outside this module.
| qs_env | ... |
| bs_env | ... |
| ri_rs_grid_points | ... |
| mat_phi_mu_l | ... |
| mat_Z_lP | ... |
Definition at line 95 of file gw_compute_Z_lP.F.