You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/input-main.md
+29-34Lines changed: 29 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -210,40 +210,33 @@ This part of variables are used to control general system parameters.
210
210
#### dft_functional
211
211
212
212
-**Type**: String
213
-
-**Description**: In our package, the XC functional can either be set explicitly using the dft_functional keyword as explained below, or set implicitly according to the XC functional information read from pseudopotential file. The user should ensure that the XC functional set in the INPUT file and the pseudopotential file are consistent. If more than one element is present in the system, make sure all of pseudopotentials have the same XC functional. **Currently only LDA and GGA are supported.**
214
-
215
-
To be specific, we briefly explain the format of the pseudopotential file and the key information it contains. There are a few lines in Si`s GGA pseudopotential file Si_ONCV_PBE-1.0.upf:
216
-
217
-
```
218
-
...
219
-
<PP_HEADER
220
-
generated="Generated using ONCVPSP code by D. R. Hamann"
221
-
author="Martin Schlipf and Francois Gygi"
222
-
date="150105"
223
-
comment=""
224
-
element="Si"
225
-
pseudo_type="NC"
226
-
relativistic="scalar"
227
-
is_ultrasoft="F"
228
-
is_paw="F"
229
-
is_coulomb="F"
230
-
has_so="F"
231
-
has_wfc="F"
232
-
has_gipaw="F"
233
-
core_correction="F"
234
-
functional="PBE"
235
-
z_valence=" 4.00"
236
-
total_psenergy=" -3.74274958433E+00"
237
-
rho_cutoff=" 6.01000000000E+00"
238
-
```
239
-
240
-
Possible values of this variable are:
241
-
- none: the functional is specified implicity by the input pseudopotential file
242
-
- lda: Perdew-Zunger local density approximation
243
-
- pbe: Perdew-Burke-Ernzerhof general gradient approximation
244
-
245
-
If the functional specified by the user is not consistent with the pseudopotential file, the program will stop with an error message.
246
-
- **Default**: none
213
+
-**Description**: type of exchange-correlation functional used in calculation. If dft_functional is not set, the program will adopt the functional used to generate pseudopotential files, provided all of them are generated using the same functional. For example, we present a few lines in Si’s GGA pseudopotential file Si_ONCV_PBE-1.0.upf:
214
+
```
215
+
...
216
+
<PP_HEADER
217
+
generated="Generated using ONCVPSP code by D. R. Hamann"
218
+
author="Martin Schlipf and Francois Gygi"
219
+
date="150105"
220
+
comment=""
221
+
element="Si"
222
+
pseudo_type="NC"
223
+
relativistic="scalar"
224
+
is_ultrasoft="F"
225
+
is_paw="F"
226
+
is_coulomb="F"
227
+
has_so="F"
228
+
has_wfc="F"
229
+
has_gipaw="F"
230
+
core_correction="F"
231
+
functional="PBE"
232
+
z_valence=" 4.00"
233
+
total_psenergy=" -3.74274958433E+00"
234
+
rho_cutoff=" 6.01000000000E+00"
235
+
```
236
+
According to the information above, this pseudopotential is generated using PBE functional.
237
+
On the other hand, if dft_functional is specified, it will overwrite the functional from pseudopotentials and performs calculation with whichever functional the user prefers. We further offer two ways of supplying exchange-correlation functional. The first is using 'short-hand' names such as 'LDA', 'PBE', 'SCAN'. A complete list of 'short-hand' expressions can be found in [source code](../source/module_xc/xc_functional.cpp). The other way is only available when ***compiling with LIBXC***, and it allows for supplying exchange-correlation functionals as combinations of LIBXC keywords for functional components, joined by plus sign, for example, 'dft_functional='LDA_X_1D_EXPONENTIAL+LDA_C_1D_CSC'. The list of LIBXC keywords can be found on its [website](https://www.tddft.org/programs/libxc/functionals/). In this way, **we support all the LDA,GGA and mGGA functionals provided by LIBXC**.
238
+
We also provides (under test) two hybrid functionals: PBE0 and HSE. For more information about hybrid functionals, refer to the [section](#exact-exchange) on its input variables.
239
+
-**Default**: same as UPF file.
247
240
248
241
#### pseudo_type
249
242
@@ -975,6 +968,8 @@ This part of variables are used to control the molecular dynamics calculations.
975
968
- 2: NVT ensemble with Langevin method;
976
969
- 3: NVT ensemble with Anderson thermostat;
977
970
- 4: MSST method;
971
+
972
+
***Note: when md_type is set to 1, md_tfreq is required to stablize temperature. It is an empifical parameter whose value is system-dependent, ranging from 1/(40\*md_dt) to 1/(100\*md_dt). An improper choice of its value might lead to failure of job.***
0 commit comments