The Elk Code
readoccsv.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2022 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 readoccsv
7 use modmain
8 implicit none
9 ! local variables
10 integer ik
11 ! get the occupation numbers from file for all k-points
12 do ik=1,nkpt
13  call getoccsv(filext,ik,vkl(:,ik),occsv(:,ik))
14 end do
15 end subroutine
16 
character(256) filext
Definition: modmain.f90:1301
integer nkpt
Definition: modmain.f90:461
subroutine readoccsv
Definition: readoccsv.f90:7
real(8), dimension(:,:), allocatable occsv
Definition: modmain.f90:905
real(8), dimension(:,:), allocatable vkl
Definition: modmain.f90:471
subroutine getoccsv(fext, ikp, vpl, occsvp)
Definition: getoccsv.f90:7