The Elk Code
writeefm.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2002-2005 J. K. Dewhurst, S. Sharma and C. Ambrosch-Draxl.
3 ! This file is distributed under the terms of the GNU General Public License.
4 ! See the file COPYING for license details.
5 
6 !BOP
7 ! !ROUTINE: writeefm
8 ! !INTERFACE:
9 subroutine writeefm
10 ! !USES:
11 use modmain
12 ! !DESCRIPTION:
13 ! Writes the Fermi energy to the file {\tt EFERMI.OUT}.
14 !
15 ! !REVISION HISTORY:
16 ! Created March 2005 (JKD)
17 !EOP
18 !BOC
19 implicit none
20 open(50,file='EFERMI'//trim(filext),form='FORMATTED',action='WRITE')
21 write(50,'(G18.10)') efermi
22 close(50)
23 end subroutine
24 !EOC
25 
real(8) efermi
Definition: modmain.f90:907
character(256) filext
Definition: modmain.f90:1301
subroutine writeefm
Definition: writeefm.f90:10