The Elk Code
writeinfou.f90
Go to the documentation of this file.
1 
2 ! Copyright (C) 2018 T. Mueller, J. K. Dewhurst, S. Sharma and E. K. U. Gross.
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 writeinfou(fnum)
7 use modmain
8 use modulr
9 implicit none
10 ! arguments
11 integer fnum
12 ! local variables
13 real(8) t1
14 call writebox(fnum,"Ultra long-range calculation")
15 write(fnum,*)
16 write(fnum,'("Ultracell lattice vectors :")')
17 write(fnum,'(3G18.10)') avecu(1,1),avecu(2,1),avecu(3,1)
18 write(fnum,'(3G18.10)') avecu(1,2),avecu(2,2),avecu(3,2)
19 write(fnum,'(3G18.10)') avecu(1,3),avecu(2,3),avecu(3,3)
20 write(fnum,*)
21 write(fnum,'("Ultracell reciprocal lattice vectors :")')
22 write(fnum,'(3G18.10)') bvecu(1,1),bvecu(2,1),bvecu(3,1)
23 write(fnum,'(3G18.10)') bvecu(1,2),bvecu(2,2),bvecu(3,2)
24 write(fnum,'(3G18.10)') bvecu(1,3),bvecu(2,3),bvecu(3,3)
25 write(fnum,*)
26 write(fnum,'("Ultracell volume : ",G18.10)') omegau
27 write(fnum,'("Ultracell Brillouin zone volume : ",G18.10)') omegabzu
28 write(fnum,*)
29 t1=omegau/omega
30 write(fnum,'("Ratio of ultracell to unit cell volume : ",G18.10)') t1
31 t1=t1*dble(natmtot)
32 write(fnum,'("Number of atoms in ultracell : ",I16)') nint(t1,8)
33 write(fnum,*)
34 write(fnum,'("κ-point grid : ",3I6)') ngridkpa
35 write(fnum,'("Q-point grid : ",3I6)') ngridq
36 write(fnum,*)
37 write(fnum,'("Small Q-vector cut-off : ",G18.10)') q0cut
38 if (trdvclr) then
39  write(fnum,*)
40  write(fnum,'("Real-space external Coulomb potential read from VCLR.OUT")')
41 end if
42 if (trdbfcr) then
43  write(fnum,*)
44  write(fnum,'("Real-space external magnetic field in Cartesian coordinates &
45  &read from BFCR.OUT")')
46 end if
47 if (fsmtype /= 0) then
48  write(fnum,*)
49  write(fnum,'("Fixed spin moment (FSM) calculation, type : ",I4)') fsmtype
50  if (fsmtype < 0) then
51  write(fnum,'(" only moment direction is fixed")')
52  end if
53 end if
54 write(fnum,*)
55 write(fnum,'("Hamiltonian matrix size : ",I8)') nstulr
56 flush(fnum)
57 end subroutine
58 
integer nstulr
Definition: modulr.f90:95
real(8) omega
Definition: modmain.f90:20
subroutine writeinfou(fnum)
Definition: writeinfou.f90:7
integer, dimension(3) ngridkpa
Definition: modulr.f90:20
real(8) omegau
Definition: modulr.f90:16
real(8), dimension(3, 3) bvecu
Definition: modulr.f90:14
real(8) q0cut
Definition: modulr.f90:32
real(8), dimension(3, 3) avecu
Definition: modulr.f90:12
integer, dimension(3) ngridq
Definition: modmain.f90:515
subroutine writebox(fnum, str)
Definition: writebox.f90:7
logical trdbfcr
Definition: modulr.f90:69
integer natmtot
Definition: modmain.f90:40
real(8) omegabzu
Definition: modulr.f90:16
Definition: modulr.f90:6
logical trdvclr
Definition: modulr.f90:64
integer fsmtype
Definition: modmain.f90:251