The Elk Code
gengclqu.f90
Go to the documentation of this file.
1
2
! Copyright (C) 2025 Wenhan Chen, J. K. Dewhurst and S. Sharma.
3
! This file is distributed under the terms of the GNU General Public License.
4
! See the file COPYING for license details.
5
6
subroutine
gengclqu
7
use
modmain
8
use
modulr
9
implicit none
10
! local variables
11
integer
iq
12
real(8)
t1
13
gclq
(1)=0.d0
14
do
iq=2,
nqpt
15
t1=
vqc
(1,iq)**2+
vqc
(2,iq)**2+
vqc
(3,iq)**2
16
if
(
q0cut
>= 0.d0)
then
17
! hard cut-off
18
if
(t1 >
q0cut
**2)
then
19
gclq
(iq)=
fourpi
/t1
20
else
21
gclq
(iq)=0.d0
22
end if
23
else
24
! Yukawa-type screening
25
gclq
(iq)=
fourpi
/(t1+
q0cut
**2)
26
end if
27
end do
28
end subroutine
29
modmain::nqpt
integer nqpt
Definition:
modmain.f90:525
gengclqu
subroutine gengclqu
Definition:
gengclqu.f90:7
modmain
Definition:
modmain.f90:6
modmain::vqc
real(8), dimension(:,:), allocatable vqc
Definition:
modmain.f90:547
modulr::q0cut
real(8) q0cut
Definition:
modulr.f90:32
modmain::gclq
real(8), dimension(:), allocatable gclq
Definition:
modmain.f90:553
modmain::fourpi
real(8), parameter fourpi
Definition:
modmain.f90:1234
modulr
Definition:
modulr.f90:6
gengclqu.f90
Generated by
1.8.14