Skip to content

Commit fe2fd6f

Browse files
authored
Merge pull request #20 from louisponet/hubbard_card
Hubbard card
2 parents bbf9a8c + beb9988 commit fe2fd6f

27 files changed

+10141
-242
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ deps/deps\.jl
3737
deps/spglib/
3838

3939
deps/elkflags\.jl
40+
deps/qe7.2flags.jl

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name = "DFControl"
22
uuid = "1e31e15d-4957-550d-a244-318eced754ae"
33
authors = ["Louis Ponet <[email protected]>"]
44
repo = "https://github.com/louisponet/DFControl.jl.git"
5-
version = "0.5.32"
5+
version = "0.6.1"
66

77
[deps]
88
ANSIColoredPrinters = "a4c015fc-c6ff-483c-b24f-f7ea428134e9"
Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
*** FILE AUTOMATICALLY CREATED: DO NOT EDIT, CHANGES WILL BE LOST ***
2+
3+
------------------------------------------------------------------------
4+
INPUT FILE DESCRIPTION
5+
6+
Program: bands.x / PWscf / Quantum ESPRESSO (version: 7.2)
7+
------------------------------------------------------------------------
8+
9+
10+
Purpose of bands.x:
11+
Re-order bands, computes band-related properties. Currently,
12+
re-ordering can be done with two different algorithms:
13+
(a) by maximising the overlap with bands at previous k-point
14+
(b) by computing symmetry properties of each wavefunction
15+
Bands-related properties that can be computed are currently
16+
(a) The expectation value of the spin operator on each spinor
17+
wave-function (noncolinear case only)
18+
(b) The expectation value of p
19+
20+
The input data can be read from standard input or from file using
21+
command-line options "bands.x -i file-name" (same syntax as for pw.x)
22+
23+
Output files:
24+
- file "filband" containing the band structure, in a format
25+
suitable for plotting code "plotband.x"
26+
- file "filband".rap (if "lsym" is .t.) with symmetry information,
27+
to be read by plotting code "plotband.x"
28+
- if ("lsigma"(i)): file "filband".i, i=1,2,3, with expectation values
29+
of the spin operator in the noncolinear case
30+
- file "filband".gnu with bands in eV, directly plottable using gnuplot
31+
- file "filp" with matrix elements of p (including the nonlocal potential
32+
contribution i*m*[V_nl,x])
33+
34+
Structure of the input data:
35+
============================
36+
37+
&BANDS
38+
...
39+
/
40+
41+
42+
43+
========================================================================
44+
NAMELIST: &BANDS
45+
46+
+--------------------------------------------------------------------
47+
Variable: prefix
48+
49+
Type: CHARACTER
50+
Default: 'pwscf'
51+
Description: prefix of files saved by program pw.x
52+
+--------------------------------------------------------------------
53+
54+
+--------------------------------------------------------------------
55+
Variable: outdir
56+
57+
Type: CHARACTER
58+
Description: directory containing the input data, i.e. the same as in pw.x
59+
Default: value of the ESPRESSO_TMPDIR environment variable if set;
60+
current directory ('./') otherwise
61+
+--------------------------------------------------------------------
62+
63+
+--------------------------------------------------------------------
64+
Variable: filband
65+
66+
Type: CHARACTER
67+
Default: 'bands.out'
68+
Description: file name for band output (to be read by "plotband.x")
69+
+--------------------------------------------------------------------
70+
71+
+--------------------------------------------------------------------
72+
Variable: spin_component
73+
74+
Type: INTEGER
75+
Description: In the lsda case select:
76+
77+
1 = spin-up
78+
2 = spin-down
79+
+--------------------------------------------------------------------
80+
81+
+--------------------------------------------------------------------
82+
Variable: lsigma(i), i=1,3
83+
84+
Type: LOGICAL
85+
Description: If true computes expectation values of the spin operator
86+
on the spinor wave-functions (only in the noncollinear case),
87+
writes them to a file "filband".i, i=1,2,3
88+
+--------------------------------------------------------------------
89+
90+
+--------------------------------------------------------------------
91+
Variable: lp
92+
93+
Type: LOGICAL
94+
Default: .false.
95+
Description: If .true. matrix elements of the momentum operator p between
96+
conduction and valence bands are computed and written to file
97+
specified in "filp".
98+
The matrix elements include the contribution from the nonlocal
99+
potential, i*m*[V_nl, x]. In other words, the calculated matrix elements
100+
are those of the velocity operator i*m*[H, x] times mass, not those of
101+
the true momentum operator.
102+
+--------------------------------------------------------------------
103+
104+
+--------------------------------------------------------------------
105+
Variable: filp
106+
107+
Type: CHARACTER
108+
Default: 'p_avg.dat'
109+
Description: If "lp" is set to .true., file name for matrix elements of p
110+
+--------------------------------------------------------------------
111+
112+
+--------------------------------------------------------------------
113+
Variable: lsym
114+
115+
Type: LOGICAL
116+
Default: .true.
117+
Description: If .true. the bands are classified according to the
118+
irreducible representations of the small group of k.
119+
A file "filband".rap with the same format of "filband"
120+
is written, for usage by "plotband.x"
121+
+--------------------------------------------------------------------
122+
123+
+--------------------------------------------------------------------
124+
Variable: no_overlap
125+
126+
Type: LOGICAL
127+
Default: .true.
128+
Description: If .false., and if "lsym" is .false., writes the eigenvalues
129+
in the order that maximises overlap with the neighbor k-points
130+
+--------------------------------------------------------------------
131+
132+
+--------------------------------------------------------------------
133+
Variable: plot_2d
134+
135+
Type: LOGICAL
136+
Default: .false.
137+
Description: If .true. writes the eigenvalues in the output file
138+
in a 2D format readable by gnuplot. Band ordering is not
139+
changed. Each band is written in a different file called
140+
filband.# with the format:
141+
142+
xk, yk, energy
143+
xk, yk, energy
144+
.. .. ..
145+
146+
energies are written in eV and xk in units 2\pi/a.
147+
+--------------------------------------------------------------------
148+
149+
+--------------------------------------------------------------------
150+
Variables: firstk, lastk
151+
152+
Type: INTEGER
153+
Description: if "lsym"=.true. makes the symmetry analysis only for k
154+
points between firstk to lastk
155+
+--------------------------------------------------------------------
156+
157+
===END OF NAMELIST======================================================
158+
159+
160+
This file has been created by helpdoc utility on Sat Mar 18 15:50:15 CET 2023
Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
*** FILE AUTOMATICALLY CREATED: DO NOT EDIT, CHANGES WILL BE LOST ***
2+
3+
------------------------------------------------------------------------
4+
INPUT FILE DESCRIPTION
5+
6+
Program: dos.x / PWscf / Quantum ESPRESSO (version: 7.2)
7+
------------------------------------------------------------------------
8+
9+
10+
Purpose of dos.x:
11+
calculates the Density of States (DOS)
12+
(separated into up and down components for DSDA)
13+
14+
15+
Structure of the input data:
16+
============================
17+
18+
&DOS
19+
...
20+
/
21+
22+
IMPORTANT: since v.5 namelist name is &DOS and no longer &INPUTPP
23+
24+
25+
26+
========================================================================
27+
NAMELIST: &DOS
28+
29+
+--------------------------------------------------------------------
30+
Variable: prefix
31+
32+
Type: CHARACTER
33+
Default: 'pwscf'
34+
Description: prefix of input file produced by pw.x
35+
(wavefunctions are not needed)
36+
+--------------------------------------------------------------------
37+
38+
+--------------------------------------------------------------------
39+
Variable: outdir
40+
41+
Type: CHARACTER
42+
Description: directory containing the input data, i.e. the same as in pw.x
43+
Default: value of the ESPRESSO_TMPDIR environment variable if set;
44+
current directory ('./') otherwise
45+
+--------------------------------------------------------------------
46+
47+
+--------------------------------------------------------------------
48+
Variable: bz_sum
49+
50+
Type: CHARACTER
51+
Description:
52+
Keyword selecting the method for BZ summation. Available options are:
53+
54+
'smearing' :
55+
integration using gaussian smearing. In fact currently
56+
any string not related to tetrahedra defaults to smearing;
57+
58+
'tetrahedra' :
59+
Tetrahedron method, Bloechl's version:
60+
P.E. Bloechl, PRB 49, 16223 (1994)
61+
Requires uniform grid of k-points, to be
62+
automatically generated in pw.x.
63+
64+
'tetrahedra_lin' :
65+
Original linear tetrahedron method.
66+
To be used only as a reference;
67+
the optimized tetrahedron method is more efficient.
68+
69+
'tetrahedra_opt' :
70+
Optimized tetrahedron method:
71+
see M. Kawamura, PRB 89, 094515 (2014).
72+
Default: 'smearing' if degauss is given in input;
73+
options read from the xml data file otherwise.
74+
+--------------------------------------------------------------------
75+
76+
+--------------------------------------------------------------------
77+
Variable: ngauss
78+
79+
Type: INTEGER
80+
Default: 0
81+
Status: optional
82+
Description: Type of gaussian broadening:
83+
84+
= 0 Simple Gaussian (default)
85+
86+
= 1 Methfessel-Paxton of order 1
87+
88+
= -1 "cold smearing" (Marzari-Vanderbilt-DeVita-Payne)
89+
90+
=-99 Fermi-Dirac function
91+
+--------------------------------------------------------------------
92+
93+
+--------------------------------------------------------------------
94+
Variable: degauss
95+
96+
Type: REAL
97+
Description: gaussian broadening, Ry (not eV!)
98+
(see below)
99+
+--------------------------------------------------------------------
100+
101+
+--------------------------------------------------------------------
102+
Variables: Emin, Emax
103+
104+
Type: REAL
105+
Default: band extrema
106+
Description: min, max energy (eV) for DOS plot. If unspecified, the
107+
lower and/or upper band value, plus/minus 3 times the
108+
value of the gaussian smearing if present, will be used.
109+
+--------------------------------------------------------------------
110+
111+
+--------------------------------------------------------------------
112+
Variable: DeltaE
113+
114+
Type: REAL
115+
Description: energy grid step (eV)
116+
+--------------------------------------------------------------------
117+
118+
+--------------------------------------------------------------------
119+
Variable: fildos
120+
121+
Type: CHARACTER
122+
Default: '"prefix".dos'
123+
Description: output file containing DOS(E)
124+
+--------------------------------------------------------------------
125+
126+
===END OF NAMELIST======================================================
127+
128+
129+
130+
:::: Notes
131+
132+
133+
::: Output
134+
135+
The total DOS (states/eV plotted vs E in eV) is written to file "fildos"
136+
137+
138+
139+
::: Important !
140+
141+
The tetrahedron method is used if
142+
143+
- the input data file has been produced by pw.x using the option
144+
occupations='tetrahedra', AND
145+
146+
- a value for degauss is not given as input to namelist &dos
147+
148+
149+
Gaussian broadening is used in all other cases:
150+
151+
- if "degauss" is set to some value in namelist &DOS, that value
152+
(and the optional value for "ngauss") is used
153+
154+
- if "degauss" is NOT set to any value in namelist &DOS, the
155+
value of "degauss" and of "ngauss" are read from the input data
156+
file (they will be the same used in the pw.x calculations)
157+
158+
- if "degauss" is NOT set to any value in namelist &DOS, AND
159+
there is no value of "degauss" and of "ngauss" in the input data
160+
file, "degauss"="DeltaE" (in Ry) and "ngauss"=0 will be used
161+
162+
163+
164+
This file has been created by helpdoc utility on Sat Mar 18 15:50:15 CET 2023

0 commit comments

Comments
 (0)