(git:691081d)
Loading...
Searching...
No Matches
mp2_gpw Module Reference

Calls routines to get RI integrals and calculate total energies. More...

Functions/Subroutines

subroutine, public mp2_gpw_main (qs_env, mp2_env, emp2, emp2_cou, emp2_ex, emp2_s, emp2_t, mos_mp2, para_env, unit_nr, calc_forces, calc_ex, do_ri_mp2, do_ri_rpa, do_ri_sos_laplace_mp2)
 with a big bang to mp2
subroutine, public grep_rows_in_subgroups (para_env, para_env_sub, mo_coeff, gd_array, c)
 ...
subroutine, public build_dbcsr_from_rows (para_env_sub, mo_coeff_to_build, cread, mat_munu, gd_array, eps_filter)
 Encapsulate the building of dbcsr_matrices mo_coeff_(v,o,all).
subroutine, public create_mat_munu (mat_munu, qs_env, eps_grid, blacs_env_sub, do_ri_aux_basis, do_mixed_basis, group_size_prim, do_alloc_blocks_from_nbl, do_kpoints, sab_orb_sub, dbcsr_sym_type, custom_row_blk_sizes)
 Encapsulate the building of dbcsr_matrix mat_munu.

Detailed Description

Calls routines to get RI integrals and calculate total energies.

History
10.2011 created [Joost VandeVondele and Mauro Del Ben] 07.2019 split from mp2_gpw.F [Frederick Stein]

Function/Subroutine Documentation

◆ mp2_gpw_main()

subroutine, public mp2_gpw::mp2_gpw_main ( type(qs_environment_type), pointer qs_env,
type(mp2_type) mp2_env,
real(kind=dp), intent(out) emp2,
real(kind=dp), intent(out) emp2_cou,
real(kind=dp), intent(out) emp2_ex,
real(kind=dp), intent(out) emp2_s,
real(kind=dp), intent(out) emp2_t,
type(mo_set_type), dimension(:), intent(in) mos_mp2,
type(mp_para_env_type), pointer para_env,
integer, intent(in) unit_nr,
logical, intent(in) calc_forces,
logical, intent(in) calc_ex,
logical, intent(in), optional do_ri_mp2,
logical, intent(in), optional do_ri_rpa,
logical, intent(in), optional do_ri_sos_laplace_mp2 )

with a big bang to mp2

Parameters
qs_env...
mp2_env...
Emp2...
Emp2_Cou...
Emp2_EX...
Emp2_S...
Emp2_T...
mos_mp2...
para_env...
unit_nr...
calc_forces...
calc_ex...
do_ri_mp2...
do_ri_rpa...
do_ri_sos_laplace_mp2...
Author
Mauro Del Ben and Joost VandeVondele

Definition at line 125 of file mp2_gpw.F.

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

◆ grep_rows_in_subgroups()

subroutine, public mp2_gpw::grep_rows_in_subgroups ( type(mp_para_env_type), intent(in) para_env,
type(mp_para_env_type), intent(in) para_env_sub,
type(cp_fm_type), intent(in) mo_coeff,
type(group_dist_d1_type), intent(out) gd_array,
real(kind=dp), dimension(:, :), intent(out), allocatable c )

...

Parameters
para_env...
para_env_sub...
mo_coeff...
gd_array...
C...

Definition at line 751 of file mp2_gpw.F.

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

◆ build_dbcsr_from_rows()

subroutine, public mp2_gpw::build_dbcsr_from_rows ( type(mp_para_env_type), intent(in) para_env_sub,
type(dbcsr_type) mo_coeff_to_build,
real(kind=dp), dimension(:, :), intent(in) cread,
type(dbcsr_type), intent(inout) mat_munu,
type(group_dist_d1_type), intent(in) gd_array,
real(kind=dp), intent(in) eps_filter )

Encapsulate the building of dbcsr_matrices mo_coeff_(v,o,all).

Parameters
para_env_sub...
mo_coeff_to_build...
Cread...
mat_munu...
gd_array...
eps_filter...
Author
Jan Wilhelm, Code by Mauro Del Ben

Definition at line 878 of file mp2_gpw.F.

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

◆ create_mat_munu()

subroutine, public mp2_gpw::create_mat_munu ( type(dbcsr_p_type), intent(out) mat_munu,
type(qs_environment_type), pointer qs_env,
real(kind=dp) eps_grid,
type(cp_blacs_env_type), pointer blacs_env_sub,
logical, intent(in), optional do_ri_aux_basis,
logical, intent(in), optional do_mixed_basis,
integer, intent(in), optional group_size_prim,
logical, intent(in), optional do_alloc_blocks_from_nbl,
logical, intent(in), optional do_kpoints,
type(neighbor_list_set_p_type), dimension(:), optional, pointer sab_orb_sub,
character, optional dbcsr_sym_type,
integer, dimension(:), intent(in), optional custom_row_blk_sizes )

Encapsulate the building of dbcsr_matrix mat_munu.

Parameters
mat_munu...
qs_env...
eps_grid...
blacs_env_sub...
do_ri_aux_basis...
do_mixed_basis...
group_size_prim...
do_alloc_blocks_from_nbl...
do_kpoints...
sab_orb_sub...
dbcsr_sym_type...
custom_row_blk_sizes...
Author
Jan Wilhelm, code by Mauro Del Ben

Definition at line 981 of file mp2_gpw.F.

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