The Elk Code
Loading...
Searching...
No Matches
vclqinit.f90
Go to the documentation of this file.
1
2
! Copyright (C) 2019 T. Mueller, J. K. Dewhurst, S. Sharma and E. K. U. Gross.
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
vclqinit
7
use
modmain
8
use
modulr
9
implicit none
10
! zero the external Coulomb potential in Q-space
11
vclq
(1:
nfqrz
)=0.d0
12
if
(
trdvclr
)
then
13
! read the external Coulomb potential from file if required
14
call
readvclr
15
else
16
! determine the external Coulomb potential from the constant electric field
17
call
potefieldu
18
! write the external Coulomb potential to file
19
call
writevclr
20
end if
21
end subroutine
22
modmain
Definition
modmain.f90:6
modmain::nfqrz
integer nfqrz
Definition
modmain.f90:539
modulr
Definition
modulr.f90:6
modulr::vclq
complex(8), dimension(:), allocatable vclq
Definition
modulr.f90:65
modulr::trdvclr
logical trdvclr
Definition
modulr.f90:63
potefieldu
subroutine potefieldu
Definition
potefieldu.f90:7
readvclr
subroutine readvclr
Definition
readvclr.f90:7
vclqinit
subroutine vclqinit
Definition
vclqinit.f90:7
writevclr
subroutine writevclr
Definition
writevclr.f90:7
vclqinit.f90
Generated by
1.9.8