The Elk Code
 
Loading...
Searching...
No Matches
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
6subroutine writeevalwx
7use modmain
8use modphonon
9use modbog
10implicit none
11! local variables
12integer iq,i
13! write out the bosonic eigenvalues
14open(50,file='EIGVALWX.OUT',form='FORMATTED',action='WRITE')
15write(50,'(I6," : nqpt")') nqpt
16write(50,'(I6," : nbph")') nbph
17do 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
24end do
25close(50)
26end subroutine
27
real(8), dimension(:,:), allocatable evalwx
Definition modbog.f90:37
real(8), dimension(:,:), allocatable xnorm
Definition modbog.f90:41
integer nqpt
Definition modmain.f90:525
real(8), dimension(:,:), allocatable vql
Definition modmain.f90:545
integer nbph
Definition modphonon.f90:13
subroutine writeevalwx