The Elk Code
Loading...
Searching...
No Matches
becforce.f90
Go to the documentation of this file.
1
2
! Copyright (C) 2020 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
becforce
7
use
modmain
8
use
modphonon
9
use
modtddft
10
implicit none
11
integer
its,is,ia
12
! generate the time step grid
13
call
gentimes
14
! write zero force to file for all time steps
15
open
(50,file=
'FORCETOT_TD.OUT'
,form=
'FORMATTED'
)
16
do
its=1,
ntimes
,
ntsforce
17
write
(50,
'(I8,G18.10)'
) its,
times
(its)
18
do
is=1,
nspecies
19
do
ia=1,
natoms
(is)
20
write
(50,
'(2I4,3G18.10)'
) is,ia,0.d0,0.d0,0.d0
21
end do
22
end do
23
end do
24
close
(50)
25
end subroutine
26
becforce
subroutine becforce
Definition
becforce.f90:7
gentimes
subroutine gentimes
Definition
gentimes.f90:7
modmain
Definition
modmain.f90:6
modmain::natoms
integer, dimension(maxspecies) natoms
Definition
modmain.f90:36
modmain::nspecies
integer nspecies
Definition
modmain.f90:34
modphonon
Definition
modphonon.f90:6
modtddft
Definition
modtddft.f90:6
modtddft::times
real(8), dimension(:), allocatable times
Definition
modtddft.f90:48
modtddft::ntsforce
integer ntsforce
Definition
modtddft.f90:98
modtddft::ntimes
integer ntimes
Definition
modtddft.f90:42
becforce.f90
Generated by
1.9.8