The Elk Code
 
Loading...
Searching...
No Matches
writeevalu.f90
Go to the documentation of this file.
1
2! Copyright (C) 2018 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
6subroutine writeevalu
7use modmain
8use modulr
9implicit none
10! local variables
11integer ik0,ik,ist
12! write out the valence eigenvalues
13open(50,file='EIGVALU.OUT',form='FORMATTED')
14write(50,'(I6," : nkpt0")') nkpt0
15write(50,'(I6," : nstulr")') nstulr
16do ik0=1,nkpt0
17! central k-point
18 ik=(ik0-1)*nkpa+1
19 write(50,*)
20 write(50,'(I6,3G18.10," : k-point, vkl")') ik0,vkl(:,ik)
21 write(50,'(" (state, eigenvalue and occupancy below)")')
22 do ist=1,nstulr
23 write(50,'(I6,2G18.10)') ist,evalu(ist,ik0),occulr(ist,ik0)
24 end do
25end do
26close(50)
27end subroutine
28
real(8), dimension(:,:), allocatable vkl
Definition modmain.f90:471
integer nstulr
Definition modulr.f90:94
integer nkpa
Definition modulr.f90:24
real(8), dimension(:,:), allocatable evalu
Definition modulr.f90:96
real(8), dimension(:,:), allocatable occulr
Definition modulr.f90:98
integer nkpt0
Definition modulr.f90:18
subroutine writeevalu
Definition writeevalu.f90:7