File: INPUT_pw2bgw.def

package info (click to toggle)
espresso 6.7-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 311,040 kB
  • sloc: f90: 447,429; ansic: 52,566; sh: 40,631; xml: 37,561; tcl: 20,077; lisp: 5,923; makefile: 4,502; python: 4,379; perl: 1,219; cpp: 761; fortran: 618; java: 568; awk: 128
file content (344 lines) | stat: -rw-r--r-- 9,529 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
input_description -distribution {Quantum Espresso} -package PWscf -program pw2bgw.x {

    toc {}

    intro {
	@b {Purpose of pw2bgw.x:}
           Converts the output files produced by pw.x to the input files for BerkeleyGW.

        You cannot use USPP, PAW, or spinors in a pw.x run for BerkeleyGW.

        You cannot use "K_POINTS gamma" in a pw.x run for BerkeleyGW.
        Use "K_POINTS { tpiba | automatic | crystal }" even for the
        Gamma-point calculation.

        It is recommended to run a pw.x "bands" calculation with "K_POINTS crystal"
        and a list of k-points produced by kgrid.x, which is a part of BerkeleyGW
        package (see BerkeleyGW documentation for details).

        You can also run a pw.x "nscf" calculation instead of "bands", but in this
        case pw.x may generate more k-points than provided in the input file of pw.x.
        If this is the case for your calculation you will get errors in BerkeleyGW.

        Examples showing how to run BerkeleyGW on top of Quantum ESPRESSO including
        the input files for pw.x and pw2bgw.x are distributed together with the
        BerkeleyGW package.

        @b {Structure of the input data:}
        ============================

           @b &INPUT_PW2BGW
             ...
	   @b /
    }

    namelist INPUT_PW2BGW {

	var prefix -type STRING {
	    status { MANDATORY }
	    info {
		prefix of files saved by program pw.x
	    }
	}

	var outdir -type STRING {
	    default { './' }
	    info {
		the scratch directory where the massive data-files are written
	    }
	}

	var real_or_complex -type INTEGER {
	    default { 2 }
	    info {
		1 | 2
		@b 1 for real flavor of BerkeleyGW (for systems with inversion symmetry and
		time-reversal symmetry) or @b 2 for complex flavor of BerkeleyGW (for systems
		without inversion symmetry and time-reversal symmetry)
	    }
	}

	var symm_type -type STRING {
	    default { 'cubic' }
	    options {
		info {
		    Options are:
		}
		opt -val 'cubic' {}
		opt -val 'hexagonal' {}
		info {
		    type of crystal system, @b 'cubic' for space groups 1 ... 142 and 195 ... 230
		    and @b 'hexagonal' for space groups 143 ... 194. Only used if ibrav = 0 in a
		    pw.x run. Written to BerkeleyGW WFN, RHO, VXC and VKB files but no longer
		    used (except in SAPO code in BerkeleyGW). You can use the default value for
		    all systems. Don't set to different values in different files for the same
		    system or you will get errors in BerkeleyGW.
		}
	    }
	}

	var wfng_flag -type LOGICAL {
	    default { .FALSE. }
	    info {
		write wavefunctions in G-space to BerkeleyGW WFN file
	    }
	}

	var wfng_file -type STRING {
	    default { 'WFN' }
	    info {
		name of BerkeleyGW WFN output file. Not used if @ref wfng_flag = .FALSE.
	    }
	}

	var wfng_kgrid -type LOGICAL {
	    default { .FALSE. }
	    info {
		overwrite k-grid parameters in BerkeleyGW WFN file.
		If pw.x input file contains an explicit list of k-points,
		the k-grid parameters in the output of pw.x will be set to zero.
		Since sigma and absorption in BerkeleyGW both need to know the
		k-grid dimensions, we patch these parameters into BerkeleyGW WFN file
	    }
	}

	var wfng_nk1 -type INTEGER {
	    default { 0 }
	    info {
		number of k-points along b_1 reciprocal lattice vector.
		Not used if @ref wfng_kgrid = .FALSE.
	    }
	}

	var wfng_nk2 -type INTEGER {
	    default { 0 }
	    info {
		number of k-points along b_2 reciprocal lattice vector.
		Not used if @ref wfng_kgrid = .FALSE.
	    }
	}

	var wfng_nk3 -type INTEGER {
	    default { 0 }
	    info {
		number of k-points along b_3 reciprocal lattice vector.
		Not used if @ref wfng_kgrid = .FALSE.
	    }
	}

	var wfng_dk1 -type REAL {
	    default { 0.0 }
	    info {
		k-grid offset (0.0 unshifted, 0.5 shifted by half a grid step)
		along b_1 reciprocal lattice vector. Not used if @ref wfng_kgrid = .FALSE.
	    }
	}

	var wfng_dk2 -type REAL {
	    default { 0.0 }
	    info {
		k-grid offset (0.0 unshifted, 0.5 shifted by half a grid step)
		along b_2 reciprocal lattice vector. Not used if @ref wfng_kgrid = .FALSE.
	    }
	}

	var wfng_dk3 -type REAL {
	    default { 0.0 }
	    info {
		k-grid offset (0.0 unshifted, 0.5 shifted by half a grid step)
		along b_3 reciprocal lattice vector. Not used if @ref wfng_kgrid = .FALSE.
	    }
	}

	var wfng_occupation -type LOGICAL {
	    default { .FALSE. }
	    info {
		overwrite occupations in BerkeleyGW WFN file
	    }
	}

	var wfng_nvmin -type INTEGER {
	    default { 0 }
	    info {
		index of the lowest occupied band (normally = 1).
		Not used if @ref wfng_occupation = .FALSE.
	    }
	}

	var wfng_nvmax -type INTEGER {
	    default { 0 }
	    info {
		index of the highest occupied band (normally = number of occupied bands).
		Not used if @ref wfng_occupation = .FALSE.
	    }
	}

	var rhog_flag -type LOGICAL {
	    default { .FALSE. }
	    info {
		write charge density in G-space to BerkeleyGW RHO file.
		Only used for the GPP model in sigma code in BerkeleyGW
	    }
	}

	var rhog_file -type STRING {
	    default { 'RHO' }
	    info {
		name of BerkeleyGW RHO output file. Only used for the GPP model in sigma
		code in BerkeleyGW. Not used if @ref rhog_flag = .FALSE.
	    }
	}

	var rhog_nvmin -type INTEGER {
	    default { 0 }
	    info {
		index of the lowest band used for calculation of charge density. This is
		needed if one wants to exclude semicore states from charge density used
		for the GPP model in sigma code in BerkeleyGW. Make sure to include the
		same k-points as in scf calculation. Self-consistent charge density is
		used if rhog_nvmin = 0 and rhog_nvmax = 0. Not used if @ref rhog_flag = .FALSE.
		@b BEWARE: this feature is highly experimental and may not work at all in
		parallel, with pools, with spins, etc.
	    }
	}

	var rhog_nvmax -type INTEGER {
	    default { 0 }
	    info {
		index of the highest band used for calculation of charge density. See
		description of rhog_nvmin for more details
	    }
	}

	var vxcg_flag -type LOGICAL {
	    default { .FALSE. }
	    info {
		write local part of exchange-correlation potential in G-space to
		BerkeleyGW VXC file. Only used in sigma code in BerkeleyGW, it is
		recommended to use @ref vxc_flag instead
	    }
	}

	var vxcg_file -type STRING {
	    default { 'VXC' }
	    info {
		name of BerkeleyGW VXC output file. Only used in sigma code in BerkeleyGW,
		it is recommended to use @ref vxc_flag instead. Not used if @ref vxcg_flag = .FALSE.
	    }
	}

	var vxc0_flag -type LOGICAL {
	    default { .FALSE. }
	    info {
		write Vxc(G = 0) to text file. Only for testing, not required for BerkeleyGW
	    }
	}

	var vxc0_file -type STRING {
	    default { 'vxc0.dat' }
	    info {
		name of output text file for Vxc(G = 0). Only for testing, not required for
		BerkeleyGW. Not used if @ref vxc0_flag = .FALSE.
	    }
	}

	var vxc_flag -type LOGICAL {
	    default { .FALSE. }
	    info {
		write matrix elements of exchange-correlation potential to text file.
		Only used in sigma code in BerkeleyGW
	    }
	}

	var vxc_file -type STRING {
	    default { 'vxc.dat' }
	    info {
		name of output text file for Vxc matrix elements. Only used in sigma code
		in BerkeleyGW. Not used if @ref vxc_flag = .FALSE.
	    }
	}

	var vxc_integral -type STRING {
	    default { 'g' }
	    info {
		'g' | 'r'
		'g' to compute matrix elements of exchange-correlation potential in G-space.
		'r' to compute matrix elements of the local part of exchange-correlation
		potential in R-space. It is recommended to use 'g'. Not used if @ref vxc_flag = .FALSE.
	    }
	}

	var vxc_diag_nmin -type INTEGER {
	    default { 0 }
	    info {
		minimum band index for diagonal Vxc matrix elements. Not used if @ref vxc_flag = .FALSE.
	    }
	}

	var vxc_diag_nmax -type INTEGER {
	    default { 0 }
	    info {
		maximum band index for diagonal Vxc matrix elements. Not used if @ref vxc_flag = .FALSE.
	    }
	}

	var vxc_offdiag_nmin -type INTEGER {
	    default { 0 }
	    info {
		minimum band index for off-diagonal Vxc matrix elements. Not used if @ref vxc_flag = .FALSE.
	    }
	}

	var vxc_offdiag_nmax -type INTEGER {
	    default { 0 }
	    info {
		maximum band index for off-diagonal Vxc matrix elements. Not used if @ref vxc_flag = .FALSE.
	    }
	}

	var vxc_zero_rho_core -type LOGICAL {
	    default { .TRUE. }
	    info {
		set to .TRUE. to zero out NLCC or to .FALSE. to keep NLCC when computing
		exchange-correlation potential. This flag has no effect for pseudopotentials
		without NLCC.
		@b BEWARE: setting @ref vxc_zero_rho_core to .FALSE. will produce
		incorrect results. This functionality is only included for testing purposes
		and is not meant to be used in a production environment
	    }
	}

	var vscg_flag -type LOGICAL {
	    default { .FALSE. }
	    info {
		write local part of self-consistent potential in G-space to
		BerkeleyGW VSC file. Only used in SAPO code in BerkeleyGW
	    }
	}

	var vscg_file -type STRING {
	    default { 'VSC' }
	    info {
		name of BerkeleyGW VSC output file. Only used in SAPO code in BerkeleyGW.
		Not used if @ref vscg_flag = .FALSE.
	    }
	}

	var vkbg_flag -type LOGICAL {
	    default { .FALSE. }
	    info {
		write Kleinman-Bylander projectors in G-space to BerkeleyGW VKB file.
		Only used in SAPO code in BerkeleyGW
	    }
	}

	var vkbg_file -type STRING {
	    default { 'VKB' }
	    info {
		name of BerkeleyGW VKB output file. Only used in SAPO code in BerkeleyGW.
		Not used if @ref vkbg_flag = .FALSE.
	    }
	}

    }
}