(git:27c966b)
Loading...
Searching...
No Matches
gw_ri_rs_small_cell_full_kp.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 Fully periodic small-cell GW using RI-RS and explicit full k-point sampling.
10!> \author Jan Wilhelm (with help of ChatGPT, GPT-6 Sol and GPT-6 Astra)
11! **************************************************************************************************
22 USE input_constants, ONLY: evgw0
23 USE kinds, ONLY: dp
24 USE physcon, ONLY: evolt
31#include "./base/base_uses.f90"
32
33 IMPLICIT NONE
34 PRIVATE
35
36 CHARACTER(len=*), PARAMETER, PRIVATE :: moduleN = 'gw_ri_rs_small_cell_full_kp'
37
39
40CONTAINS
41
42! **************************************************************************************************
43!> \brief Periodic RI-RS GW from the converged SCF orbitals and eigenvalues.
44!>
45!> l,l′ label real-space points r_l,r_l′; μ labels AOs, n bands, σ spins, P,Q RI functions.
46!> k samples the SCF mesh, q transfers momentum, and R,T are lattice vectors.
47!> All phases use Cartesian vectors. ψ_nkσ(r_l) is a sampled Bloch orbital;
48!> C_μn(k,σ) is its AO coefficient. σ sums over the two physical spin channels.
49!>
50!> (1) ϕ_μ(k,r_l) = Σ_R exp(ik·R) ϕ_μ(r_l-R),
51!> ψ_nkσ(r_l) = Σ_μ ϕ_μ(k,r_l) C_μn(k,σ).
52!>
53!> (2) ρ_l(r) = Σ_μR ϕ_μ(r_l-R) ϕ_μ(r-R),
54!> D_ll′(T) = ρ_l(r_l′+T)²,
55!> d_lP(T) = ∫dr ∫dr′ ρ_l(r)² m(r-r′) P(r′-T),
56!> D_ll′(q) = Σ_T exp(iq·T) D_ll′(T),
57!> d_lP(q) = Σ_T exp(iq·T) d_lP(T),
58!> S_l(q) = D_ll(q)^(-1/2),
59!> D̂_ll′(q) = S_l(q) D_ll′(q) S_l′(q), d̂_lP(q) = S_l(q) d_lP(q),
60!> [D̂(q) + ηI] z_P(q) = d̂_P(q), Z_lP(q) = S_l(q) z_lP(q).
61!> P(r) is an RI basis function, m(r-r′) the selected RI fitting kernel,
62!> and η = RI_RS/TIKHONOV.
63!>
64!> (3) G^occ/vir_ll′(k,iτ;σ) = Σ_n∈occ/vir ψ_nkσ(r_l) ψ_nkσ(r_l′)*
65!> × exp(-|ε_nkσ-ε_Fσ| τ), τ≥0.
66!>
67!> (4) G^occ/vir_ll′(R,iτ;σ) = Re[Σ_k w_k exp(-ik·R) G^occ/vir_ll′(k,iτ;σ)].
68!>
69!> (5) χ_ll′(R,iτ) = Σ_σ G^occ_ll′(R,iτ;σ) G^vir_ll′(R,iτ;σ),
70!> χ_ll′(q,iτ) = Σ_R exp(iq·R) χ_ll′(R,iτ).
71!>
72!> (6) χ_ll′(q,iω_j) = Σ_t C_jt χ_ll′(q,iτ_t),
73!> χ_PQ(q,iω_j) = Σ_ll′ Z_lP(q)* χ_ll′(q,iω_j) Z_l′Q(q).
74!> C_jt supplies the imaginary-time Fourier transformation by cosine quadrature.
75!>
76!> (7) K(q) = M(q)⁻¹ V(q)½,
77!> ε_PQ(q,iω) = δ_PQ + Σ_P′Q′ K_P′P(q)* χ_P′Q′(q,iω) K_Q′Q(q),
78!> Wᶜ_PQ(q,iω) = Σ_P′Q′ K_PP′(q) [ε⁻¹_P′Q′(q,iω)-δ_P′Q′] K_QQ′(q)*.
79!> M is the RI fitting metric and V the Coulomb matrix.
80!>
81!> (8) Wᶜ_ll′(q,iτ) = Σ_PQ Z_lP(q) Wᶜ_PQ(q,iτ) Z_l′Q(q)*,
82!> Wᶜ_ll′(R,iτ) = Re[Σ_q w_q exp(-iq·R) Wᶜ_ll′(q,iτ)] + ΔWᶜ_Γ,ll′(R,iτ).
83!>
84!> (9) V_ll′(q) = Σ_PQ Z_lP(q) [K(q)K(q)†]_PQ Z_l′Q(q)*,
85!> V_ll′(R) = Re[Σ_q w_q exp(-iq·R) V_ll′(q)] + ΔV_Γ,ll′(R),
86!> Σˣ_ll′(R;σ) = -G^occ_ll′(R,0;σ) V_ll′(R).
87!>
88!> (10) Σˣ_ll′(k;σ) = Σ_R exp(ik·R) Σˣ_ll′(R;σ),
89!> Σˣ_nkσ = Σ_ll′ ψ_nkσ(r_l)* Σˣ_ll′(k;σ) ψ_nkσ(r_l′).
90!>
91!> (11) Σᶜ_ll′(R,-iτ;σ) = -G^occ_ll′(R,iτ;σ) Wᶜ_ll′(R,iτ),
92!> Σᶜ_ll′(R,+iτ;σ) = +G^vir_ll′(R,iτ;σ) Wᶜ_ll′(R,iτ).
93!>
94!> (12) Σᶜ_ll′(k,±iτ;σ) = Σ_R exp(ik·R) Σᶜ_ll′(R,±iτ;σ),
95!> Σᶜ_nkσ(±iτ) = Σ_ll′ ψ_nkσ(r_l)* Σᶜ_ll′(k,±iτ;σ) ψ_nkσ(r_l′),
96!> Σᶜ_nkσ(iω) = ∫_0^∞ dτ [exp(iωτ)Σᶜ_nkσ(+iτ)+exp(-iωτ)Σᶜ_nkσ(-iτ)].
97!> Analytic continuation gives Σᶜ at real energies for the quasiparticle equation.
98!>
99!> (13) ε^GW_nkσ = ε^DFT_nkσ + Σˣ_nkσ + Re Σᶜ_nkσ(ε^GW_nkσ) - vˣᶜ_nkσ.
100!> evGW₀ updates the energies entering G while retaining Wᶜ from the first cycle.
101!>
102!> Γ-point corrections are included as ΔWᶜ_Γ and ΔV_Γ; their construction is not shown here:
103!> compute_G_and_chi prepares ΔWᶜ_Γ through gamma_point_correction.
104!> compute_Sigma_c_from_W_PQ adds it to Wᶜ before forming Σᶜ.
105!> compute_Sigma_x_from_V computes and applies ΔV_Γ via singular_head_cell_factors.
106!>
107!> \param qs_env Quickstep environment containing the converged SCF state.
108!> \param bs_env Band-structure settings, orbitals, and quasiparticle results.
109! **************************************************************************************************
110 SUBROUTINE gw_calc_ri_rs_small_cell_full_kp(qs_env, bs_env)
111 TYPE(qs_environment_type), POINTER :: qs_env
112 TYPE(post_scf_bandstructure_type), POINTER :: bs_env
113
114 CHARACTER(LEN=*), PARAMETER :: routinen = 'gw_calc_ri_rs_small_cell_full_kp'
115
116 INTEGER :: handle
117 TYPE(gwkp_type), POINTER :: gwkp_env
118
119 CALL timeset(routinen, handle)
120
121 gwkp_env => bs_env%gwkp_env
122
123 ! Sample AO/Bloch orbitals and fit the auxiliary functions: Eqs. (1)-(2).
124 CALL prepare_ri_rs(bs_env, gwkp_env)
125
126 ! G^occ/vir_ll′(R,iτ), χ_ll′(R,iτ), and χ_PQ(q,iω): Eqs. (3)-(6).
127 CALL compute_g_and_chi(qs_env, bs_env, gwkp_env)
128
129 ! Screen the Coulomb interaction and transform Wᶜ to imaginary time: Eqs. (7)-(8).
130 CALL compute_w0(qs_env, bs_env, gwkp_env)
131
132 ! Σˣ_ll′(R) and its projection onto target Bloch states: Eqs. (9)-(10).
133 CALL compute_sigma_x(bs_env, gwkp_env)
134
135 ! Σᶜ_ll′(R,iτ), band projection, and quasiparticle equation: Eqs. (11)-(13).
136 CALL compute_sigma_c_and_qp(bs_env, gwkp_env)
137
138 CALL release_gw_work(bs_env)
139 NULLIFY (gwkp_env)
140
141 CALL de_init_bs_env(qs_env, bs_env)
142
143 CALL timestop(handle)
144
146
147! **************************************************************************************************
148!> \brief Iterate Σᶜ and the QP equation, Eqs. (11)-(13), with fixed W₀.
149!> G₀W₀ uses one cycle; evGW₀ feeds the QP energies back into G on the SCF mesh.
150!> \param bs_env Band-structure settings and physical results.
151!> \param gwkp_env Temporary periodic GW work data.
152! **************************************************************************************************
153 SUBROUTINE compute_sigma_c_and_qp(bs_env, gwkp_env)
154 TYPE(post_scf_bandstructure_type), POINTER :: bs_env
155 TYPE(gwkp_type), INTENT(INOUT) :: gwkp_env
156
157 CHARACTER(LEN=*), PARAMETER :: routinen = 'compute_Sigma_c_and_QP'
158
159 INTEGER :: handle, i_iter, ispin, n_mo, nkp
160 REAL(dp) :: cbm, e_fermi_scf(2), max_delta, vbm
161 REAL(dp), ALLOCATABLE :: eigenvalues_g_next(:, :, :)
162
163 CALL timeset(routinen, handle)
164
165 nkp = bs_env%nkp_scf_desymm
166 n_mo = bs_env%n_mo_retained
167 e_fermi_scf = bs_env%e_fermi
168 IF (bs_env%gw_flavour == evgw0) ALLOCATE (eigenvalues_g_next(n_mo, nkp, bs_env%n_spin))
169
170 ! G₀W₀ takes one cycle. evGW₀ updates G on the SCF mesh while W₀ stays fixed.
171 DO i_iter = 1, bs_env%evgw0_n_iter
172 CALL compute_sigma_c_from_w_pq(bs_env, gwkp_env)
173 CALL compute_qp_energies(bs_env, gwkp_env%sigma_x_bands, &
174 gwkp_env%sigma_c_bands, i_iter)
175 IF (bs_env%evgw0_n_iter == 1) EXIT
176
177 IF (i_iter == 1) CALL print_first_cycle_band_edges(bs_env)
178 CALL eigenvalues_for_evgw0_g(bs_env, eigenvalues_g_next)
179 max_delta = maxval(abs(eigenvalues_g_next - &
180 bs_env%eigenval_evGW0(1:n_mo, 1:nkp, 1:bs_env%n_spin)))
181 IF (bs_env%unit_nr > 0) WRITE (bs_env%unit_nr, '(T2,A,I3,A,I3,A,T66,F12.4,A)') &
182 'evGW0 cycle ', i_iter, ' / ', bs_env%evgw0_n_iter, &
183 ' Max G eigenvalue change:', max_delta*evolt, ' eV'
184 IF (max_delta < bs_env%evgw0_eps_iter) EXIT
185 IF (i_iter == bs_env%evgw0_n_iter) THEN
186 IF (bs_env%unit_nr > 0) WRITE (bs_env%unit_nr, '(T2,A)') &
187 'evGW0 reached MAX_ITER before eigenvalue convergence.'
188 EXIT
189 END IF
190
191 bs_env%eigenval_evGW0(1:n_mo, 1:nkp, 1:bs_env%n_spin) = eigenvalues_g_next
192 gwkp_env%eigenvalues_G(1:n_mo, 1:nkp, 1:bs_env%n_spin) = eigenvalues_g_next
193 DO ispin = 1, bs_env%n_spin
194 vbm = maxval(eigenvalues_g_next(bs_env%n_occ(ispin), :, ispin))
195 cbm = minval(eigenvalues_g_next(bs_env%n_occ(ispin) + 1, :, ispin))
196 bs_env%e_fermi(ispin) = 0.5_dp*(vbm + cbm)
197 END DO
198 END DO
199
200 CALL get_all_vbm_cbm_bandgaps(bs_env)
201 IF (bs_env%gw_flavour == evgw0) bs_env%eigenval_evGW0(:, :, :) = bs_env%eigenval_GW
202 ! G used an updated energy origin; subsequent post-SCF stages retain the SCF reference.
203 bs_env%e_fermi = e_fermi_scf
204
205 CALL timestop(handle)
206
207 END SUBROUTINE compute_sigma_c_and_qp
208
209! **************************************************************************************************
210!> \brief Print scalar G0W0 extrema over the SCF mesh and requested band path.
211!> The first QP solution is reported before updating G; W remains W0 throughout.
212!> \param bs_env ...
213! **************************************************************************************************
214 SUBROUTINE print_first_cycle_band_edges(bs_env)
215 TYPE(post_scf_bandstructure_type), POINTER :: bs_env
216
217 CHARACTER(LEN=*), PARAMETER :: routinen = 'print_first_cycle_band_edges'
218
219 INTEGER :: handle, u
220 TYPE(band_edges_type) :: band_edges
221
222 CALL timeset(routinen, handle)
223
224 CALL get_vbm_cbm_bandgaps(band_edges, bs_env%eigenval_GW, bs_env)
225 u = bs_env%unit_nr
226 IF (u > 0) THEN
227 WRITE (u, '(T2,A)') 'G0W0 from the first evGW0 cycle (without SOC):'
228 WRITE (u, '(T2,A,T61,F20.3)') 'G0W0 valence band maximum (eV):', band_edges%VBM*evolt
229 WRITE (u, '(T2,A,T61,F20.3)') 'G0W0 conduction band minimum (eV):', band_edges%CBM*evolt
230 WRITE (u, '(T2,A,T61,F20.3)') 'G0W0 indirect band gap (eV):', band_edges%IDBG*evolt
231 WRITE (u, '(T2,A,T61,F20.3)') 'G0W0 direct band gap (eV):', band_edges%DBG*evolt
232 END IF
233
234 CALL timestop(handle)
235
236 END SUBROUTINE print_first_cycle_band_edges
237
238! **************************************************************************************************
239!> \brief Build the eigenvalues used by the next Green function from the current QP solution.
240!> The 5 eV windows use the DFT VBM/CBM on the full SCF mesh, separately for each spin.
241!> Outside them, a mean shift of the window states is applied at each k point and spin.
242!> If a window is empty at one k point, its nearest band supplies the shift.
243!> This approximation never changes the quasiparticle energies or the final band structure.
244!> \param bs_env ...
245!> \param eigenvalues_G_next ...
246! **************************************************************************************************
247 SUBROUTINE eigenvalues_for_evgw0_g(bs_env, eigenvalues_G_next)
248 TYPE(post_scf_bandstructure_type), POINTER :: bs_env
249 REAL(kind=dp), INTENT(OUT) :: eigenvalues_g_next(:, :, :)
250
251 CHARACTER(LEN=*), PARAMETER :: routinen = 'eigenvalues_for_evGW0_G'
252 REAL(kind=dp), PARAMETER :: window_ev = 5.0_dp
253
254 INTEGER :: handle, iband, ikp, ispin, n_mo, &
255 n_window, nkp, nocc
256 REAL(kind=dp) :: cbm_dft, dft_energy, lower_limit, &
257 mean_shift, qp_energy, upper_limit, &
258 vbm_dft
259
260 CALL timeset(routinen, handle)
261
262 nkp = bs_env%nkp_scf_desymm
263 n_mo = bs_env%n_mo_retained
264 cpassert(bs_env%nkp_bs_and_DOS >= nkp)
265 cpassert(n_mo > 0 .AND. n_mo <= bs_env%n_ao)
266 cpassert(all(bs_env%n_occ(1:bs_env%n_spin) > 0))
267 cpassert(all(bs_env%n_occ(1:bs_env%n_spin) < n_mo))
268 DO ispin = 1, bs_env%n_spin
269 nocc = bs_env%n_occ(ispin)
270 vbm_dft = maxval(bs_env%eigenval_scf(nocc, 1:nkp, ispin))
271 cbm_dft = minval(bs_env%eigenval_scf(nocc + 1, 1:nkp, ispin))
272 lower_limit = vbm_dft - window_ev/evolt
273 upper_limit = cbm_dft + window_ev/evolt
274 DO ikp = 1, nkp
275 mean_shift = 0.0_dp
276 n_window = 0
277 DO iband = 1, nocc
278 dft_energy = bs_env%eigenval_scf(iband, ikp, ispin)
279 IF (dft_energy < lower_limit) cycle
280 qp_energy = bs_env%eigenval_GW(iband, ikp, ispin)
281 eigenvalues_g_next(iband, ikp, ispin) = qp_energy
282 mean_shift = mean_shift + qp_energy - dft_energy
283 n_window = n_window + 1
284 END DO
285 IF (n_window > 0) THEN
286 mean_shift = mean_shift/real(n_window, kind=dp)
287 ELSE
288 mean_shift = bs_env%eigenval_GW(nocc, ikp, ispin) - &
289 bs_env%eigenval_scf(nocc, ikp, ispin)
290 END IF
291 DO iband = 1, nocc
292 dft_energy = bs_env%eigenval_scf(iband, ikp, ispin)
293 IF (dft_energy >= lower_limit) cycle
294 eigenvalues_g_next(iband, ikp, ispin) = dft_energy + mean_shift
295 END DO
296
297 mean_shift = 0.0_dp
298 n_window = 0
299 DO iband = nocc + 1, n_mo
300 dft_energy = bs_env%eigenval_scf(iband, ikp, ispin)
301 IF (dft_energy > upper_limit) cycle
302 qp_energy = bs_env%eigenval_GW(iband, ikp, ispin)
303 eigenvalues_g_next(iband, ikp, ispin) = qp_energy
304 mean_shift = mean_shift + qp_energy - dft_energy
305 n_window = n_window + 1
306 END DO
307 IF (n_window > 0) THEN
308 mean_shift = mean_shift/real(n_window, kind=dp)
309 ELSE
310 mean_shift = bs_env%eigenval_GW(nocc + 1, ikp, ispin) - &
311 bs_env%eigenval_scf(nocc + 1, ikp, ispin)
312 END IF
313 DO iband = nocc + 1, n_mo
314 dft_energy = bs_env%eigenval_scf(iband, ikp, ispin)
315 IF (dft_energy <= upper_limit) cycle
316 eigenvalues_g_next(iband, ikp, ispin) = dft_energy + mean_shift
317 END DO
318 END DO
319 END DO
320
321 CALL timestop(handle)
322
323 END SUBROUTINE eigenvalues_for_evgw0_g
324
325! **************************************************************************************************
326!> \brief Transform band self-energies and solve the quasiparticle equations.
327!> \param bs_env ...
328!> \param sigma_x_bands ...
329!> \param sigma_c_bands ...
330!> \param i_iter Local GW cycle used in the spectrum output.
331! **************************************************************************************************
332 SUBROUTINE compute_qp_energies(bs_env, sigma_x_bands, sigma_c_bands, i_iter)
333 TYPE(post_scf_bandstructure_type), POINTER :: bs_env
334 REAL(kind=dp), INTENT(IN) :: sigma_x_bands(:, :, :), &
335 sigma_c_bands(:, :, :, :, :)
336 INTEGER, INTENT(IN) :: i_iter
337
338 CHARACTER(LEN=*), PARAMETER :: routinen = 'compute_QP_energies'
339
340 COMPLEX(KIND=dp), ALLOCATABLE :: sigma_c_ikp_n_freq(:, :)
341 INTEGER :: handle, ikp, ispin
342 REAL(kind=dp), ALLOCATABLE, DIMENSION(:) :: sigma_x_ikp_n
343 REAL(kind=dp), ALLOCATABLE, DIMENSION(:, :, :) :: sigma_c_ikp_n_time
344
345 CALL timeset(routinen, handle)
346 cpassert(SIZE(sigma_x_bands, 1) == bs_env%n_ao)
347 cpassert(SIZE(sigma_x_bands, 2) == bs_env%nkp_bs_and_DOS)
348 cpassert(SIZE(sigma_x_bands, 3) == bs_env%n_spin)
349 cpassert(SIZE(sigma_c_bands, 1) == bs_env%n_ao)
350 cpassert(SIZE(sigma_c_bands, 2) == bs_env%nkp_bs_and_DOS)
351 cpassert(SIZE(sigma_c_bands, 3) == bs_env%num_time_freq_points)
352 cpassert(SIZE(sigma_c_bands, 4) == 2)
353 cpassert(SIZE(sigma_c_bands, 5) == bs_env%n_spin)
354
355 ALLOCATE (sigma_x_ikp_n(bs_env%n_ao))
356 ALLOCATE (sigma_c_ikp_n_time(bs_env%n_ao, bs_env%num_time_freq_points, 2))
357 ALLOCATE (sigma_c_ikp_n_freq(bs_env%n_ao, bs_env%num_freq_points_fit))
358
359 DO ispin = 1, bs_env%n_spin
360
361 DO ikp = 1, bs_env%nkp_bs_and_DOS
362
363 ! 1. Σ^x_nn(k) and Σ^c_nn(k,±i|τ_j|), projected in compute_Sigma_x / compute_Sigma_c
364 sigma_x_ikp_n(:) = sigma_x_bands(:, ikp, ispin)
365 sigma_c_ikp_n_time(:, :, :) = sigma_c_bands(:, ikp, :, :, ispin)
366
367 ! 2. Σ^c_nn(k_i,iω) = ∫ from -∞ to ∞ dτ e^-iωτ Σ^c_nn(k_i,iτ)
368 CALL transform_time_to_frequency(bs_env%time_frequency_grid_sigma, sigma_c_ikp_n_time, sigma_c_ikp_n_freq)
369 sigma_c_ikp_n_freq(1:bs_env%n_occ(ispin), :) = conjg(sigma_c_ikp_n_freq(1:bs_env%n_occ(ispin), :))
370
371 ! 3. Analytic continuation Σ^c_nn(k_i,iω) -> Σ^c_nn(k_i,ϵ) and
372 ! ϵ_nk_i^GW = ϵ_nk_i^DFT + Σ^c_nn(k_i,ϵ) + Σ^x_nn(k_i) - v^xc_nn(k_i)
373 CALL analyt_conti_and_print(bs_env, &
374 sigma_c_ikp_n_freq, &
375 sigma_x_ikp_n, &
376 bs_env%v_xc_n(:, ikp, ispin), &
377 bs_env%eigenval_scf(:, ikp, ispin), ikp, ispin, i_iter)
378
379 END DO ! ikp
380
381 END DO ! ispin
382
383 CALL timestop(handle)
384
385 END SUBROUTINE compute_qp_energies
386
Work data of periodic RI-RS GW with full k-point sampling.
Green functions, screening and self-energy for periodic RI-RS GW.
subroutine, public release_gw_work(bs_env)
Release all periodic RI-RS work data after the last quasiparticle iteration.
subroutine, public compute_w0(qs_env, bs_env, gwkp_env)
Compute ε, Wᶜ and its imaginary-time transform, Eqs. (7)-(8).
subroutine, public prepare_ri_rs(bs_env, gwkp_env)
Prepare RI-RS radial data, grid values, and Bloch orbitals.
subroutine, public compute_g_and_chi(qs_env, bs_env, gwkp_env)
Form the grid Green functions and RI polarizability.
subroutine, public compute_sigma_c_from_w_pq(bs_env, gwkp_env)
Form Σc with one owner per ordered (l,l') pair through both lattice FFTs.
subroutine, public compute_sigma_x(bs_env, gwkp_env)
Evaluate exchange and prepare band orbitals for correlation.
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.
subroutine, public de_init_bs_env(qs_env, bs_env)
Releases the memory-heavy GW intermediates that cannot be freed in bs_env_release,...
Definition gw_utils.F:3562
subroutine, public analyt_conti_and_print(bs_env, sigma_c_ikp_n_freq, sigma_x_ikp_n, v_xc_ikp_n, eigenval_scf, ikp, ispin, i_iter)
...
Definition gw_utils.F:3653
collects all constants needed in input so that they can be used without circular dependencies
integer, parameter, public evgw0
Defines the basic variable types.
Definition kinds.F:23
integer, parameter, public dp
Definition kinds.F:34
Definition of physical constants:
Definition physcon.F:68
real(kind=dp), parameter, public evolt
Definition physcon.F:183
subroutine, public get_all_vbm_cbm_bandgaps(bs_env)
...
subroutine, public get_vbm_cbm_bandgaps(band_edges, ev, bs_env)
...
Definition and construction of time/frequency grids for correlation methods.
subroutine, public transform_time_to_frequency(grid, samples_tau, values_omega)
Transform real positive/negative-time samples to complex positive-frequency values....