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
6subroutine gengclg
7use modmain
8implicit none
9! local variables
10if (allocated(gclg)) deallocate(gclg)
11allocate(gclg(ngvec))
12gclg(1)=0.d0
13gclg(2:ngvec)=fourpi/gc(2:ngvec)**2
14end subroutine
15
subroutine gengclg
Definition gengclg.f90:7
integer ngvec
Definition modmain.f90:396
real(8), parameter fourpi
Definition modmain.f90:1231
real(8), dimension(:), allocatable gclg
Definition modmain.f90:424
real(8), dimension(:), allocatable gc
Definition modmain.f90:422