The Elk Code
writegvecrf.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2021 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 writegvecrf
7 use modmain
8 implicit none
9 ! local variables
10 integer ig
11 open(50,file='GVECRF.OUT',form='FORMATTED',action='WRITE')
12 write(50,'(G18.10," : gmaxrf")') gmaxrf
13 write(50,'(I8," : ngrf; G-vector index, ivg below")') ngrf
14 do ig=1,ngrf
15  write(50,'(I8,3I6)') ig,ivg(1:3,ig)
16 end do
17 close(50)
18 end subroutine
19 
integer ngrf
Definition: modmain.f90:1164
real(8) gmaxrf
Definition: modmain.f90:1160
subroutine writegvecrf
Definition: writegvecrf.f90:7
integer, dimension(:,:), allocatable ivg
Definition: modmain.f90:400