(git:27c966b)
Loading...
Searching...
No Matches
gw.F
Go to the documentation of this file.
1!--------------------------------------------------------------------------------------------------!
2! CP2K: A general program to perform molecular dynamics simulations !
3! Copyright 2000-2026 CP2K developers group <https://cp2k.org> !
4! !
5! SPDX-License-Identifier: GPL-2.0-or-later !
6!--------------------------------------------------------------------------------------------------!
7
8! **************************************************************************************************
9!> \brief
10!> \author Jan Wilhelm
11!> \date 07.2023
12! **************************************************************************************************
13MODULE gw
30#include "./base/base_uses.f90"
31
32 IMPLICIT NONE
33
34 PRIVATE
35
36 CHARACTER(len=*), PARAMETER, PRIVATE :: moduleN = 'gw'
37
38 PUBLIC :: run_gw
39
40CONTAINS
41
42! **************************************************************************************************
43!> \brief Perform GW band structure calculation
44!> \param qs_env ...
45!> \param bs_env ...
46!> \param post_scf_bandstructure_section ...
47!> \par History
48!> * 04.2026 Added GW RI-RS module [Ritaj Tyagi]
49!> * 07.2023 created [Jan Wilhelm]
50! **************************************************************************************************
51 SUBROUTINE run_gw(qs_env, bs_env, post_scf_bandstructure_section)
52 TYPE(qs_environment_type), POINTER :: qs_env
53 TYPE(post_scf_bandstructure_type), POINTER :: bs_env
54 TYPE(section_vals_type), POINTER :: post_scf_bandstructure_section
55
56 CHARACTER(LEN=*), PARAMETER :: routinen = 'run_gw'
57
58 INTEGER :: handle
59
60 CALL timeset(routinen, handle)
61
62 CALL create_and_init_bs_env_for_gw(qs_env, bs_env, post_scf_bandstructure_section)
63
64 SELECT CASE (bs_env%gw_implementation)
65
67
68 CALL gw_calc_tensor_small_cell_full_kp(qs_env, bs_env)
69
71
72 CALL gw_calc_tensor_large_cell_gamma(qs_env, bs_env)
73
75
76 CALL gw_calc_ri_rs_large_cell_gamma(qs_env, bs_env)
77
79
80 CALL gw_calc_ri_rs_non_periodic(qs_env, bs_env)
81
83
85
87
88 CALL gw_calc_ri_rs_small_cell_full_kp(qs_env, bs_env)
89
90 CASE DEFAULT
91
92 cpabort("Unknown GW implementation.")
93
94 END SELECT
95
96 CALL timestop(handle)
97
98 END SUBROUTINE run_gw
99
100END MODULE gw
GW using the RI-RS approximation for large periodic cells at Gamma.
subroutine, public gw_calc_ri_rs_large_cell_gamma(qs_env, bs_env)
GW calculation using RI-RS formalism for large periodic cells at Gamma.
GW using RI-RS Approximation for molecules.
subroutine, public gw_calc_ri_rs_non_periodic(qs_env, bs_env)
GW calculation using RI-RS formalism for molecules.
Fully periodic small-cell GW using RI-RS and explicit full k-point sampling.
subroutine, public gw_calc_ri_rs_small_cell_full_kp(qs_env, bs_env)
Periodic RI-RS GW from the converged SCF orbitals and eigenvalues.
Static COHSEX band structure in the tensor-based large-cell Gamma GW code: COHSEX DIAGONAL (diagonal ...
subroutine, public gw_calc_tensor_large_cell_gamma_static_cohsex(qs_env, bs_env)
Perform static COHSEX band structure calculation.
Routines from paper [Graml2024].
subroutine, public gw_calc_tensor_large_cell_gamma(qs_env, bs_env)
Perform GW band structure calculation.
subroutine, public gw_calc_tensor_small_cell_full_kp(qs_env, bs_env)
Perform GW band structure calculation.
subroutine, public create_and_init_bs_env_for_gw(qs_env, bs_env, bs_sec)
Initializes the GW environment from the input and electronic-structure data.
Definition gw_utils.F:167
Definition gw.F:13
subroutine, public run_gw(qs_env, bs_env, post_scf_bandstructure_section)
Perform GW band structure calculation.
Definition gw.F:52
collects all constants needed in input so that they can be used without circular dependencies
integer, parameter, public tensor_small_cell_full_kp
integer, parameter, public ri_rs_small_cell_full_kp
integer, parameter, public ri_rs_non_periodic
integer, parameter, public ri_rs_large_cell_gamma
integer, parameter, public tensor_large_cell_gamma
integer, parameter, public tensor_static_cohsex
objects that represent the structure of input sections and the data contained in an input section