The Elk Code
 
Loading...
Searching...
No Matches
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
6subroutine writeinfou(fnum)
7use modmain
8use modulr
9implicit none
10! arguments
11integer fnum
12! local variables
13real(8) t1
14call writebox(fnum,"Ultra long-range calculation")
15write(fnum,*)
16write(fnum,'("Ultracell lattice vectors :")')
17write(fnum,'(3G18.10)') avecu(1,1),avecu(2,1),avecu(3,1)
18write(fnum,'(3G18.10)') avecu(1,2),avecu(2,2),avecu(3,2)
19write(fnum,'(3G18.10)') avecu(1,3),avecu(2,3),avecu(3,3)
20write(fnum,*)
21write(fnum,'("Ultracell reciprocal lattice vectors :")')
22write(fnum,'(3G18.10)') bvecu(1,1),bvecu(2,1),bvecu(3,1)
23write(fnum,'(3G18.10)') bvecu(1,2),bvecu(2,2),bvecu(3,2)
24write(fnum,'(3G18.10)') bvecu(1,3),bvecu(2,3),bvecu(3,3)
25write(fnum,*)
26write(fnum,'("Ultracell volume : ",G18.10)') omegau
27write(fnum,'("Ultracell Brillouin zone volume : ",G18.10)') omegabzu
28write(fnum,*)
30write(fnum,'("Ratio of ultracell to unit cell volume : ",G18.10)') t1
31t1=t1*dble(natmtot)
32write(fnum,'("Number of atoms in ultracell : ",I16)') nint(t1,8)
33write(fnum,*)
34write(fnum,κ'("-point grid : ",3I6)') ngridkpa
35write(fnum,'("Q-point grid : ",3I6)') ngridq
36write(fnum,*)
37write(fnum,'("Small Q-vector cut-off : ",G18.10)') q0cut
38if (trdvclr) then
39 write(fnum,*)
40 write(fnum,'("Real-space external Coulomb potential read from VCLR.OUT")')
41end if
42if (trdbfcr) then
43 write(fnum,*)
44 write(fnum,'("Real-space external magnetic field in Cartesian coordinates &
45 &read from BFCR.OUT")')
46end if
47if (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
53end if
54write(fnum,*)
55write(fnum,'("Hamiltonian matrix size : ",I8)') nstulr
56flush(fnum)
57end subroutine
58
real(8) omega
Definition modmain.f90:20
integer fsmtype
Definition modmain.f90:251
integer natmtot
Definition modmain.f90:40
integer, dimension(3) ngridq
Definition modmain.f90:515
integer nstulr
Definition modulr.f90:94
real(8) q0cut
Definition modulr.f90:32
real(8) omegau
Definition modulr.f90:16
real(8), dimension(3, 3) bvecu
Definition modulr.f90:14
integer, dimension(3) ngridkpa
Definition modulr.f90:20
logical trdbfcr
Definition modulr.f90:68
real(8), dimension(3, 3) avecu
Definition modulr.f90:12
logical trdvclr
Definition modulr.f90:63
real(8) omegabzu
Definition modulr.f90:16
subroutine writebox(fnum, str)
Definition writebox.f90:7
subroutine writeinfou(fnum)
Definition writeinfou.f90:7