The Elk Code
readafindt.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2020 Peter Elliott, J. K. Dewhurst and S. Sharma.
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 readafindt
8 implicit none
9 ! local variables
10 integer ios
11 open(50,file='AFINDT.OUT',form='FORMATTED',action='READ',status='OLD', &
12  iostat=ios)
13 if (ios /= 0) then
14  write(*,*)
15  write(*,'("Error(readafindt): error opening AFINDT.OUT")')
16  write(*,*)
17  stop
18 end if
19 read(50,*) afindt(:,:)
20 close(50)
21 end subroutine
22 
subroutine readafindt
Definition: readafindt.f90:7
real(8), dimension(3, 0:1) afindt
Definition: modtddft.f90:67