The Elk Code
writetdengy.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2023 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 writetdengy
7 use modmain
8 use modtddft
9 implicit none
10 open(50,file='TOTENERGY_TD.OUT',form='FORMATTED',position='APPEND')
11 write(50,'(2G18.10)') times(itimes),engytot
12 close(50)
13 end subroutine
14 
subroutine writetdengy
Definition: writetdengy.f90:7
real(8) engytot
Definition: modmain.f90:983
real(8), dimension(:), allocatable times
Definition: modtddft.f90:48
integer itimes
Definition: modtddft.f90:46