|
65 | 65 | - [nupdown](#nupdown) |
66 | 66 | - [dft\_functional](#dft_functional) |
67 | 67 | - [xc\_temperature](#xc_temperature) |
| 68 | + - [xc\_exch\_ext](#xc_exch_ext) |
| 69 | + - [xc\_corr\_ext](#xc_corr_ext) |
68 | 70 | - [pseudo\_rcut](#pseudo_rcut) |
69 | 71 | - [pseudo\_mesh](#pseudo_mesh) |
70 | 72 | - [nspin](#nspin) |
@@ -1060,6 +1062,26 @@ calculations. |
1060 | 1062 | - **Default**: 0.0 |
1061 | 1063 | - **Unit**: Ry |
1062 | 1064 |
|
| 1065 | +### xc_exch_ext |
| 1066 | + |
| 1067 | +- **Type**: Integer Real ... |
| 1068 | +- **Description**: Customized parameterization on the exchange part of XC functional. The first value should be the LibXC ID of the original functional, and latter values are external parameters. Default values are those of Perdew-Burke-Ernzerhof (PBE) functional. For more information on LibXC ID of functionals, please refer to [LibXC](https://libxc.gitlab.io/functionals/). For parameters of functionals of interest, please refer to the source code of LibXC, such as PBE functional interface in LibXC: [gga_x_pbe.c](https://gitlab.com/libxc/libxc/-/blob/7.0.0/src/gga_x_pbe.c). |
| 1069 | +- **Default**: 101 0.8040 0.2195149727645171 |
| 1070 | +- **Note**: |
| 1071 | + 1. Solely setting this keyword will take no effect on XC functionals. One should also set `dft_functional` to corresponding functional to apply the customized parameterization. For example, if you want to use the PBE functional with customized parameters, you should set `dft_functional` to `GGA_X_PBE+GGA_C_PBE` and `xc_exch_ext` to `101 0.8040 0.2195149727645171`. |
| 1072 | + 2. For functionals that do not have separate exchange and correlation parts, such as HSE06 whose corresponding LibXC notation is `HYB_GGA_XC_HSE06` and LibXC id is 428, you can set either `xc_exch_ext` or `xc_corr_ext` to `428 0.25 0.11 0.11` (which means 25% Hartree-Fock fraction, 0.11 as range-seperation) and leave the other one unset. |
| 1073 | + 3. Presently this feature can only support parameterization on **one** exchange functional. |
| 1074 | + |
| 1075 | +### xc_corr_ext |
| 1076 | + |
| 1077 | +- **Type**: Integer Real ... |
| 1078 | +- **Description**: Customized parameterization on the correlation part of XC functional. The first value should be the LibXC ID of the original functional, and latter values are external parameters. Default values are those of Perdew-Burke-Ernzerhof (PBE) functional. For more information on LibXC ID of functionals, please refer to [LibXC](https://libxc.gitlab.io/functionals/). For parameters of functionals of interest, please refer to the source code of LibXC, such as PBE functional interface in LibXC: [gga_c_pbe.c](https://gitlab.com/libxc/libxc/-/blob/7.0.0/src/gga_c_pbe.c). |
| 1079 | +- **Default**: 130 0.06672455060314922 0.031090690869654895034 1.0 |
| 1080 | +- **Note**: |
| 1081 | + 1. Solely setting this keyword will take no effect on XC functionals. One should also set `dft_functional` to corresponding functional to apply the customized parameterization. For example, if you want to use the PBE functional with customized parameters, you should set `dft_functional` to `GGA_X_PBE+GGA_C_PBE` and `xc_corr_ext` to `130 0.06672455060314922 0.031090690869654895034 1.0`. |
| 1082 | + 2. For functionals that do not have separate exchange and correlation parts, such as HSE06 whose corresponding LibXC notation is `HYB_GGA_XC_HSE06` and LibXC id is 428, you can set either `xc_exch_ext` or `xc_corr_ext` to `428 0.25 0.11 0.11` (which means 25% Hartree-Fock fraction, 0.11 as range-seperation) and leave the other one unset. |
| 1083 | + 3. Presently this feature can only support parameterization on **one** correlation functional. |
| 1084 | + |
1063 | 1085 | ### pseudo_rcut |
1064 | 1086 |
|
1065 | 1087 | - **Type**: Real |
@@ -2378,8 +2400,29 @@ Warning: this function is not robust enough for the current version. Please try |
2378 | 2400 | ### of_ml_gene_data |
2379 | 2401 |
|
2380 | 2402 | - **Type**: Boolean |
2381 | | -- **Availability**: OFDFT |
2382 | | -- **Description**: Generate training data or not. |
| 2403 | +- **Availability**: Used only for KSDFT with plane wave basis |
| 2404 | +- **Description**: Controls the generation of machine learning training data. When enabled, training data in `.npy` format will be saved in the directory `OUT.${suffix}/MLKEDF_Descriptors/`. The generated descriptors are categorized as follows: |
| 2405 | + - Local/Semilocal Descriptors. Files are named as `{var}.npy`, where `{var}` corresponds to the descriptor type: |
| 2406 | + - `gamma`: Enabled by [of_ml_gamma](#of_ml_gamma) |
| 2407 | + - `p`: Enabled by [of_ml_p](#of_ml_p) |
| 2408 | + - `q`: Enabled by [of_ml_q](#of_ml_q) |
| 2409 | + - `tanhp`: Enabled by [of_ml_tanhp](#of_ml_tanhp) |
| 2410 | + - `tanhq`: Enabled by [of_ml_tanhq](#of_ml_tanhq) |
| 2411 | + - Nonlocal Descriptors generated using kernels configured via [of_ml_nkernel](#of_ml_nkernel), [of_ml_kernel](#of_ml_kernel), and [of_ml_kernel_scaling](#of_ml_kernel_scaling). Files follow the naming convention `{var}_{kernel_type}_{kernel_scaling}.npy`, where `{kernel_type}` and `{kernel_scaling}` are specified by [of_ml_kernel](#of_ml_kernel), and [of_ml_kernel_scaling](#of_ml_kernel_scaling), respectively, and `{val}` denotes the kind of the descriptor, including |
| 2412 | + - `gammanl`: Enabled by [of_ml_gammanl](#of_ml_gammanl) |
| 2413 | + - `pnl`: Enabled by [of_ml_pnl](#of_ml_pnl) |
| 2414 | + - `qnl`: Enabled by [of_ml_qnl](#of_ml_qnl) |
| 2415 | + - `xi`: Enabled by [of_ml_xi](#of_ml_xi) |
| 2416 | + - `tanhxi`: Enabled by [of_ml_tanhxi](#of_ml_tanhxi) |
| 2417 | + - `tanhxi_nl`: Enabled by [of_ml_tanhxi_nl](#of_ml_tanhxi_nl) |
| 2418 | + - `tanh_pnl`: Enabled by [of_ml_tanh_pnl](#of_ml_tanh_pnl) |
| 2419 | + - `tanh_qnl`: Enabled by [of_ml_tanh_qnl](#of_ml_tanh_qnl) |
| 2420 | + - `tanhp_nl`: Enabled by [of_ml_tanhp_nl](#of_ml_tanhp_nl) |
| 2421 | + - `tanhq_nl`: Enabled by [of_ml_tanhq_nl](#of_ml_tanhq_nl) |
| 2422 | + - Training Targets, including key quantum mechanical quantities: |
| 2423 | + - `enhancement.npy`: Pauli energy enhancement factor $T_\theta/T_{\rm{TF}}$, where $T_{\rm{TF}}$ is the Thomas-Fermi functional |
| 2424 | + - `pauli.npy`: Pauli potential $V_\theta$ |
| 2425 | + - `veff.npy`: Effective potential |
2383 | 2426 | - **Default**: False |
2384 | 2427 |
|
2385 | 2428 | ### of_ml_device |
|
0 commit comments