The Elk Code
writeevalwx.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2021 Chung-Yu Wang, J. K. Dewhurst, S. Sharma and
3 ! E. K. U. Gross. This file is distributed under the terms of the GNU General
4 ! Public License. See the file COPYING for license details.
5 
6 subroutine writeevalwx
7 use modmain
8 use modphonon
9 use modbog
10 implicit none
11 ! local variables
12 integer iq,i
13 ! write out the bosonic eigenvalues
14 open(50,file='EIGVALWX.OUT',form='FORMATTED',action='WRITE')
15 write(50,'(I6," : nqpt")') nqpt
16 write(50,'(I6," : nbph")') nbph
17 do iq=1,nqpt
18  write(50,*)
19  write(50,'(I6,3G18.10," : q-point, vql")') iq,vql(:,iq)
20  write(50,'(" (phonon branch, eigenvalue, X-norm below)")')
21  do i=1,nbph
22  write(50,'(I6,2G18.10)') i,evalwx(i,iq),xnorm(i,iq)
23  end do
24 end do
25 close(50)
26 end subroutine
27 
real(8), dimension(:,:), allocatable evalwx
Definition: modbog.f90:37
integer nqpt
Definition: modmain.f90:525
real(8), dimension(:,:), allocatable xnorm
Definition: modbog.f90:41
Definition: modbog.f90:6
integer nbph
Definition: modphonon.f90:13
real(8), dimension(:,:), allocatable vql
Definition: modmain.f90:545
subroutine writeevalwx
Definition: writeevalwx.f90:7