(git:6344619)
Loading...
Searching...
No Matches
rpa_main Module Reference

Routines to calculate RI-RPA energy. More...

Functions/Subroutines

subroutine, public rpa_ri_compute_en (qs_env, erpa, mp2_env, bib_c, bib_c_gw, bib_c_bse_ij, bib_c_bse_ab, para_env, para_env_sub, color_sub, gd_array, gd_b_virtual, gd_b_all, gd_b_occ_bse, gd_b_virt_bse, mo_coeff, fm_matrix_pq, cfm_matrix_l_kpoints, cfm_matrix_minv_l_kpoints, fm_matrix_minv_l_gamma, fm_matrix_minv, fm_matrix_minv_vtrunc_minv, kpoints, eigenval, nmo, homo, dimen_ri, dimen_ri_red, gw_corr_lev_occ, gw_corr_lev_virt, bse_lev_virt, unit_nr, do_ri_sos_laplace_mp2, my_do_gw, do_im_time, do_bse, matrix_s, mat_munu, mat_p_global, t_3c_m, t_3c_o, t_3c_o_compressed, t_3c_o_ind, starts_array_mc, ends_array_mc, starts_array_mc_block, ends_array_mc_block, calc_forces)
 ...

Detailed Description

Routines to calculate RI-RPA energy.

History
06.2012 created [Mauro Del Ben] 04.2015 GW routines added [Jan Wilhelm] 10.2015 Cubic-scaling RPA routines added [Jan Wilhelm] 10.2018 Cubic-scaling SOS-MP2 added [Frederick Stein] 03.2019 Refactoring [Frederick Stein]

Function/Subroutine Documentation

◆ rpa_ri_compute_en()

subroutine, public rpa_main::rpa_ri_compute_en ( type(qs_environment_type), pointer qs_env,
real(kind=dp), intent(out) erpa,
type(mp2_type), intent(inout) mp2_env,
type(three_dim_real_array), dimension(:), intent(inout) bib_c,
type(three_dim_real_array), dimension(:), intent(inout) bib_c_gw,
type(three_dim_real_array), dimension(:), intent(inout) bib_c_bse_ij,
type(three_dim_real_array), dimension(:), intent(inout) bib_c_bse_ab,
type(mp_para_env_type), pointer para_env,
type(mp_para_env_type), pointer para_env_sub,
integer, intent(inout) color_sub,
type(group_dist_d1_type), intent(inout) gd_array,
type(group_dist_d1_type), dimension(:), intent(inout) gd_b_virtual,
type(group_dist_d1_type), intent(inout) gd_b_all,
type(group_dist_d1_type), dimension(:), intent(inout) gd_b_occ_bse,
type(group_dist_d1_type), dimension(:), intent(inout) gd_b_virt_bse,
type(cp_fm_type), dimension(:), intent(in) mo_coeff,
type(cp_fm_type), intent(in) fm_matrix_pq,
type(cp_cfm_type), dimension(:), allocatable cfm_matrix_l_kpoints,
type(cp_cfm_type), dimension(:), allocatable cfm_matrix_minv_l_kpoints,
type(cp_fm_type), dimension(:, :), allocatable fm_matrix_minv_l_gamma,
type(cp_fm_type), dimension(:, :), allocatable fm_matrix_minv,
type(cp_fm_type), dimension(:, :), allocatable fm_matrix_minv_vtrunc_minv,
type(kpoint_type), pointer kpoints,
real(kind=dp), dimension(:, :), intent(inout), allocatable eigenval,
integer, intent(in) nmo,
integer, dimension(:), intent(in) homo,
integer, intent(in) dimen_ri,
integer, intent(in) dimen_ri_red,
integer, dimension(:), intent(in) gw_corr_lev_occ,
integer, dimension(:), intent(in) gw_corr_lev_virt,
integer, dimension(:), intent(in) bse_lev_virt,
integer, intent(in) unit_nr,
logical, intent(in) do_ri_sos_laplace_mp2,
logical, intent(in) my_do_gw,
logical, intent(in) do_im_time,
logical, intent(in) do_bse,
type(dbcsr_p_type), dimension(:), pointer matrix_s,
type(dbcsr_p_type), intent(in) mat_munu,
type(dbcsr_p_type), intent(inout) mat_p_global,
type(dbt_type) t_3c_m,
type(dbt_type), dimension(:, :), allocatable t_3c_o,
type(hfx_compression_type), dimension(:, :, :), intent(inout), allocatable t_3c_o_compressed,
type(block_ind_type), dimension(:, :, :), intent(inout), allocatable t_3c_o_ind,
integer, dimension(:), intent(in), allocatable starts_array_mc,
integer, dimension(:), intent(in), allocatable ends_array_mc,
integer, dimension(:), intent(in), allocatable starts_array_mc_block,
integer, dimension(:), intent(in), allocatable ends_array_mc_block,
logical, intent(in) calc_forces )

...

Parameters
qs_env...
Erpa...
mp2_env...
BIb_C...
BIb_C_gw...
BIb_C_bse_ij...
BIb_C_bse_ab...
para_env...
para_env_sub...
color_sub...
gd_array...
gd_B_virtual...
gd_B_all...
gd_B_occ_bse...
gd_B_virt_bse...
mo_coeff...
fm_matrix_PQ...
cfm_matrix_L_kpoints...
cfm_matrix_Minv_L_kpoints...
fm_matrix_Minv_L_gamma...
fm_matrix_Minv...
fm_matrix_Minv_Vtrunc_Minv...
kpoints...
Eigenval...
nmo...
homo...
dimen_RI...
dimen_RI_red...
gw_corr_lev_occ...
gw_corr_lev_virt...
bse_lev_virt...
unit_nr...
do_ri_sos_laplace_mp2...
my_do_gw...
do_im_time...
do_bse...
matrix_s...
mat_munu...
mat_P_global...
t_3c_M...
t_3c_O...
t_3c_O_compressed...
t_3c_O_ind...
starts_array_mc...
ends_array_mc...
starts_array_mc_block...
ends_array_mc_block...
calc_forces...

Definition at line 194 of file rpa_main.F.

Here is the call graph for this function:
Here is the caller graph for this function: