The Elk Code
Loading...
Searching...
No Matches
gengclg.f90
Go to the documentation of this file.
1
2
! Copyright (C) 2017 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
gengclg
7
use
modmain
8
implicit none
9
! local variables
10
if
(
allocated
(
gclg
))
deallocate
(
gclg
)
11
allocate
(
gclg
(
ngvec
))
12
gclg
(1)=0.d0
13
gclg
(2:
ngvec
)=
fourpi
/
gc
(2:
ngvec
)**2
14
end subroutine
15
gengclg
subroutine gengclg
Definition
gengclg.f90:7
modmain
Definition
modmain.f90:6
modmain::ngvec
integer ngvec
Definition
modmain.f90:396
modmain::fourpi
real(8), parameter fourpi
Definition
modmain.f90:1231
modmain::gclg
real(8), dimension(:), allocatable gclg
Definition
modmain.f90:424
modmain::gc
real(8), dimension(:), allocatable gc
Definition
modmain.f90:422
gengclg.f90
Generated by
1.9.8