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
Used to perform a calculation assuming an isolated system in a 3D supercell.
145
+
146
+
Available options are:
147
+
* none: regular periodic calculation without isolated-system correction.
148
+
* makov-payne, m-p, mp: compute the Makov-Payne correction to the total energy and estimate a corrected vacuum level for eigenvalue alignment. This option is available only for cubic lattices (latname = sc, fcc, or bcc).
149
+
150
+
Theory: G. Makov and M. C. Payne, Phys. Rev. B 51, 4014 (1995).
151
+
default_value: none
152
+
unit: ""
153
+
availability: ""
140
154
- name: init_wfc
141
155
category: System variables
142
156
type: String
@@ -704,14 +718,18 @@ parameters:
704
718
* 0.1 or less: if convergence of SCF calculation is difficult to reach, please try 0 < mixing_beta < 0.1.
705
719
706
720
Note: For low-dimensional large systems, the setup of mixing_beta=0.1, mixing_ndim=20, and mixing_gg0=1.0 usually works well.
721
+
722
+
For spin-polarized calculations (nspin=2 or nspin=4) that are difficult to converge, try reducing both mixing_beta and mixing_beta_mag simultaneously, e.g., mixing_beta=0.1 and mixing_beta_mag=0.1 or lower.
707
723
default_value: "0.8 for nspin=1, 0.4 for nspin=2 and nspin=4."
708
724
unit: ""
709
725
availability: ""
710
726
- name: mixing_beta_mag
711
727
category: Electronic structure
712
728
type: Real
713
729
description: |
714
-
Mixing parameter of magnetic density.
730
+
Mixing parameter of magnetic density for spin-polarized calculations. A lower value of mixing_beta_mag results in less influence of the magnetic density update, making the SCF calculation more stable for spin-polarized systems. However, it may require more steps to achieve convergence.
731
+
732
+
If SCF convergence is difficult with spin polarization (nspin=2 or nspin=4), try reducing both mixing_beta and mixing_beta_mag simultaneously, e.g., mixing_beta=0.1 and mixing_beta_mag=0.1 or lower.
715
733
default_value: "4*mixing_beta, but the maximum value is 1.6."
716
734
unit: ""
717
735
availability: ""
@@ -823,15 +841,15 @@ parameters:
823
841
category: Electronic structure
824
842
type: Real
825
843
description: |
826
-
It's the density threshold for electronic iteration. It represents the charge density error between two sequential densities from electronic iterations. This criterion is always enabled. If `scf_ene_thr` is set, the total-energy criterion (`scf_ene_thr`) is evaluated conditionally after the charge-density criterion (`scf_thr`) is satisfied, and not on the first iteration. For local-orbital calculations, 1e-6 is usually accurate enough.
844
+
It's the density threshold for electronic iteration. It represents the charge density error between two sequential densities from electronic iterations. Usually for local orbitals, usually 1e-6 may be accurate enough.
827
845
default_value: "1.0e-9 (plane-wave basis), or 1.0e-7 (localized atomic orbital basis)."
828
846
unit: "Ry if scf_thr_type=1, dimensionless if scf_thr_type=2"
829
847
availability: ""
830
848
- name: scf_ene_thr
831
849
category: Electronic structure
832
850
type: Real
833
851
description: |
834
-
It's the energy threshold for electronic iteration. The compared quantity is the total-energy difference evaluated from the charge densities before and after the `Hpsi` operation in one SCF step. It is not the same as the screen-output `EDIFF`, which is the energy difference before `Hpsi` and after charge mixing (i.e., across both `Hpsi` and charge-mixing operations).
852
+
It's the energy threshold for electronic iteration. It represents the totalenergy error between two sequential densities from electronic iterations.
835
853
default_value: "-1.0. If the user does not set this parameter, it will not take effect."
836
854
unit: eV
837
855
availability: ""
@@ -1686,6 +1704,14 @@ parameters:
1686
1704
default_value: "1.0"
1687
1705
unit: fs
1688
1706
availability: ""
1707
+
- name: md_csvr_tau
1708
+
category: Molecular dynamics
1709
+
type: Real
1710
+
description: |
1711
+
The characteristic time scale for the CSVR (Canonical Sampling through Velocity Rescaling) thermostat. Larger values give weaker coupling, smaller values give stronger coupling. Recommended value: 100 * md_dt.
1712
+
default_value: "100.0"
1713
+
unit: fs
1714
+
availability: md_thermostat = csvr
1689
1715
- name: md_tolerance
1690
1716
category: Molecular dynamics
1691
1717
type: Real
@@ -2848,7 +2874,18 @@ parameters:
2848
2874
- nspin = 1: `tau.cube`;
2849
2875
- nspin = 2: `taus1.cube`, and `taus2.cube`;
2850
2876
- nspin = 4: `taus1.cube`, `taus2.cube`, `taus3.cube`, and `taus4.cube`;
2851
-
- 2: On top of 1, also output the initial charge density files with a suffix name as '_ini', such as `taus1_ini.cube`, etc.
2877
+
- 2: On top of 1, also output the initial charge density files. The files are named as:
2878
+
- out_freq_ion = 0:
2879
+
- nspin = 1: `chg_ini.cube`;
2880
+
- nspin = 2: `chgs1_ini.cube` and `chgs2_ini.cube`;
2881
+
- nspin = 4: `chgs1_ini.cube`, `chgs2_ini.cube`, `chgs3_ini.cube`, and `chgs4_ini.cube`;
- nspin = 2: `chgs1g{geom_step}_ini.cube` and `chgs2g{geom_step}_ini.cube`;
2886
+
- nspin = 4: `chgs1g{geom_step}_ini.cube`, `chgs2g{geom_step}_ini.cube`, `chgs3g{geom_step}_ini.cube`, and `chgs4g{geom_step}_ini.cube`.
2887
+
- output every out_freq_ion steps
2888
+
Here, {geom_step} denotes the geometry step index, starting from 1 (geom_step = istep + 1).
2852
2889
- -1: Disable the charge density auto-back-up file `{suffix}-CHARGE-DENSITY.restart`, useful for large systems.
2853
2890
2854
2891
The second integer controls the precision of the charge density output. If not given, `3` is used as default. For restarting from this file and other high-precision calculations, `10` is recommended.
@@ -2869,9 +2906,17 @@ parameters:
2869
2906
* nspin = 4: pots1.cube, pots2.cube, pots3.cube, and pots4.cube
2870
2907
* 2: Output the electrostatic potential on real space grids into OUT.{suffix}/pot_es.cube. The Python script named tools/02_postprocessing/average_pot/aveElecStatPot.py can be used to calculate the average electrostatic potential along the z-axis and outputs it into ElecStaticPot_AVE. Please note that the total local potential refers to the local component of the self-consistent potential, excluding the non-local pseudopotential. The distinction between the local potential and the electrostatic potential is as follows: local potential = electrostatic potential + XC potential.
2871
2908
* 3: Apart from 1, also output the total local potential of the initial charge density. The files are named as:
2872
-
* nspin = 1: pots1_ini.cube;
2873
-
* nspin = 2: pots1_ini.cube and pots2_ini.cube;
2874
-
* nspin = 4: pots1_ini.cube, pots2_ini.cube, pots3_ini.cube, and pots4_ini.cube
2909
+
* out_freq_ion = 0:
2910
+
* nspin = 1: `pot_ini.cube`;
2911
+
* nspin = 2: `pots1_ini.cube` and `pots2_ini.cube`;
2912
+
* nspin = 4: `pots1_ini.cube`, `pots2_ini.cube`, `pots3_ini.cube`, and `pots4_ini.cube`;
* nspin = 2: `pots1g{geom_step}_ini.cube` and `pots2g{geom_step}_ini.cube`;
2917
+
* nspin = 4: `pots1g{geom_step}_ini.cube`, `pots2g{geom_step}_ini.cube`, `pots3g{geom_step}_ini.cube`, and `pots4g{geom_step}_ini.cube`.
2918
+
* output every out_freq_ion steps
2919
+
Here, {geom_step} denotes the geometry step index, starting from 1 (geom_step = istep + 1).
2875
2920
2876
2921
The optional second integer controls the output precision. If not provided, the default precision is 8.
2877
2922
@@ -2886,17 +2931,18 @@ parameters:
2886
2931
type: "Boolean \\[Integer\\](optional)"
2887
2932
description: |
2888
2933
Whether to output the density matrix for each k-point into files in the folder OUT.${suffix}. For current develop versions, out_dmk writes *_nao.txt files and includes a g{istep} index in the file name:
2889
-
* For gamma only case:
2890
-
* nspin = 1 and 4: dmg1_nao.txt;
2891
-
* nspin = 2: dms1g1_nao.txt and dms2g1_nao.txt for the two spin channels.
2892
-
* For multi-k points case:
2893
-
* nspin = 1 and 4: dmk1g1_nao.txt, dmk2g1_nao.txt, ...;
2894
-
* nspin = 2: dmk1s1g1_nao.txt... and dmk1s2g1_nao.txt... for the two spin channels.
2895
-
Here, g{istep} denotes the geometry/step index in the output file name.
2934
+
* For gamma only case:
2935
+
* nspin = 1 and 4: dmg1_nao.txt;
2936
+
* nspin = 2: dms1g1_nao.txt and dms2g1_nao.txt for the two spin channels.
2937
+
* For multi-k points case:
2938
+
* nspin = 1 and 4: dmk1g1_nao.txt, dmk2g1_nao.txt, ...;
2939
+
* nspin = 2: dmk1s1g1_nao.txt... and dmk1s2g1_nao.txt... for the two spin channels.
2896
2940
2897
-
[NOTE] Version difference (develop vs 3.10-LTS):
2898
-
* In develop, out_dmk supports both gamma-only and multi-k-point density-matrix output.
2899
-
* In 3.10-LTS, the corresponding keyword is out_dm, and the output files are SPIN1_DM and SPIN2_DM, etc.
2941
+
Here, g{istep} denotes the geometry/step index in the output file name.
2942
+
2943
+
[NOTE] Version difference (develop vs 3.10-LTS):
2944
+
* In develop, out_dmk supports both gamma-only and multi-k-point density-matrix output.
2945
+
* In 3.10-LTS, the corresponding keyword is out_dm, and the output files are SPIN1_DM and SPIN2_DM, etc.
2900
2946
default_value: "False"
2901
2947
unit: ""
2902
2948
availability: Numerical atomic orbital basis
@@ -3151,23 +3197,23 @@ parameters:
3151
3197
category: Output information
3152
3198
type: Boolean
3153
3199
description: |
3154
-
Whether to print Hamiltonian matrices H(R) in npz format. The output files are named output_HR0.npz, output_HR1.npz, and so on according to spin channel. This feature requires ABACUS to be built with CNPY.
3200
+
Whether to print Hamiltonian matrices H(R) in npz format. This feature does not work for gamma-only calculations.
3155
3201
default_value: "False"
3156
3202
unit: Ry
3157
3203
availability: Numerical atomic orbital basis (not gamma-only algorithm)
3158
3204
- name: out_hsr_npz
3159
3205
category: Output information
3160
3206
type: Boolean
3161
3207
description: |
3162
-
Whether to print Hamiltonian matrices H(R) and overlap matrix S(R) in npz format. The output files are named output_SR.npz, output_HR0.npz, output_HR1.npz, and so on according to spin channel. This feature requires ABACUS to be built with CNPY.
3208
+
Whether to print Hamiltonian matrices H(R) and overlap matrix S(R) in npz format. This feature does not work for gamma-only calculations.
3163
3209
default_value: "False"
3164
-
unit: ""
3210
+
unit: Ry
3165
3211
availability: Numerical atomic orbital basis (not gamma-only algorithm)
3166
3212
- name: out_dm_npz
3167
3213
category: Output information
3168
3214
type: Boolean
3169
3215
description: |
3170
-
Whether to print density matrices DM(R) in npz format. The output files are named output_DM0.npz, output_DM1.npz, and so on according to spin channel. This feature requires ABACUS to be built with CNPY.
3216
+
Whether to print density matrices DM(R) in npz format. This feature does not work for gamma-only calculations.
3171
3217
default_value: "False"
3172
3218
unit: ""
3173
3219
availability: Numerical atomic orbital basis (not gamma-only algorithm)
@@ -3262,12 +3308,14 @@ parameters:
3262
3308
description: |
3263
3309
Whether to output the electron localization function (ELF) in the folder `OUT.${suffix}`. The files are named as
* elf.cube: ELF for total charge density, ${\rm{ELF}} = \frac{1}{1+\chi^2}$, $\chi = \frac{\frac{1}{2}\sum_{i}{f_i |\nabla\psi_{i}|^2} - \frac{|\nabla\rho|^2}{8\rho}}{\frac{3}{10}(3\pi^2)^{2/3}\rho^{5/3}}$
3316
+
* elftot.cube: ELF for total charge density, ${\rm{ELF}} = \frac{1}{1+\chi^2}$, $\chi = \frac{\frac{1}{2}\sum_{i}{f_i |\nabla\psi_{i}|^2} - \frac{|\nabla\rho|^2}{8\rho}}{\frac{3}{10}(3\pi^2)^{2/3}\rho^{5/3}}$
3317
+
3318
+
When `out_freq_ion > 0`, a geometry step suffix `g{#}` is appended to the file names (e.g., `elftotg1.cube`, `elfs1g1.cube`).
3271
3319
3272
3320
The second integer controls the precision of the kinetic energy density output, if not given, will use 3 as default. For purpose restarting from this file and other high-precision involved calculation, recommend to use 10.
3273
3321
@@ -3766,25 +3814,27 @@ parameters:
3766
3814
* none: no vdW correction
3767
3815
3768
3816
[NOTE] ABACUS supports automatic setting of DFT-D3 parameters for common functionals. To benefit from this feature, please specify the parameter dft_functional explicitly, otherwise the autoset procedure will crash. If not satisfied with the built-in parameters, any manual setting on vdw_s6, vdw_s8, vdw_a1 and vdw_a2 will overwrite the automatic values.
3769
-
3770
-
[NOTE] DFT-D4 support requires ABACUS to be configured with ENABLE_DFTD4=ON and a CMake-installed dftd4 library exporting `dftd4-config.cmake`. DFT-D4 damping parameters are loaded from the external library.
3771
3817
default_value: none
3772
3818
unit: ""
3773
3819
availability: ""
3774
3820
- name: vdw_d4_xc
3775
3821
category: vdW correction
3776
3822
type: String
3777
3823
description: |
3778
-
Functional name passed to the DFT-D4 library to load its internal damping parameters. If set to default, ABACUS infers the functional name from dft_functional or pseudopotential metadata.
3824
+
Functional name used to load DFT-D4 damping parameters from the DFT-D4 library.
3825
+
If set to default, ABACUS infers the functional name from dft_functional or pseudopotential metadata.
3779
3826
default_value: default
3780
3827
unit: ""
3781
3828
availability: vdw_method is set to d4
3782
3829
- name: vdw_d4_model
3783
3830
category: vdW correction
3784
3831
type: String
3785
3832
description: |
3786
-
DFT-D4 dispersion model used by the external DFT-D4 library. Available options are d4 for the standard D4 model and d4s for the smooth D4S model.
3787
-
default_value: d4
3833
+
DFT-D4 dispersion model used by the external DFT-D4 library.
3834
+
Available options are:
3835
+
* d4: standard D4 model
3836
+
* d4s: smooth D4S model
3837
+
default_value: "d4"
3788
3838
unit: ""
3789
3839
availability: vdw_method is set to d4
3790
3840
- name: vdw_s6
@@ -3895,7 +3945,7 @@ parameters:
3895
3945
category: vdW correction
3896
3946
type: String
3897
3947
description: |
3898
-
Defines the cutoff radius when vdw_cutoff_type is set to radius. The default values depend on the chosen vdw_method. For DFT-D4, this controls the two-body dispersion cutoff, while the three-body cutoff is internally limited to the DFT-D4 default value of 40 Bohr.
3948
+
Defines the radius of the cutoff sphere when vdw_cutoff_type is set to radius. The default values depend on the chosen vdw_method.
3899
3949
default_value: ""
3900
3950
unit: defined by vdw_radius_unit (default Bohr)
3901
3951
availability: vdw_cutoff_type is set to radius
@@ -3921,10 +3971,10 @@ parameters:
3921
3971
category: vdW correction
3922
3972
type: Real
3923
3973
description: |
3924
-
The cutoff radius when calculating coordination numbers. The default is 40 Bohr for DFT-D3 and 30 Bohr for DFT-D4.
3974
+
The cutoff radius when calculating coordination numbers.
3925
3975
default_value: "40"
3926
3976
unit: "defined by vdw_cn_thr_unit (default: Bohr)"
3927
-
availability: vdw_method is set to d3_0, d3_bj, or d4
3977
+
availability: "vdw_method is set to d3_0, d3_bj, or d4"
3928
3978
- name: vdw_cn_thr_unit
3929
3979
category: vdW correction
3930
3980
type: String
@@ -4269,14 +4319,6 @@ parameters:
4269
4319
default_value: "2"
4270
4320
unit: ""
4271
4321
availability: sc_mag_switch is true
4272
-
- name: sc_scf_nmin
4273
-
category: Spin-Constrained DFT
4274
-
type: Integer
4275
-
description: |
4276
-
Minimum number of outer scf loop before initializing lambda loop
4277
-
default_value: "2"
4278
-
unit: ""
4279
-
availability: sc_mag_switch is true
4280
4322
- name: alpha_trial
4281
4323
category: Spin-Constrained DFT
4282
4324
type: Real
@@ -4309,6 +4351,53 @@ parameters:
4309
4351
default_value: "1.0e-4"
4310
4352
unit: ""
4311
4353
availability: sc_mag_switch is true
4354
+
- name: sc_direction_only
4355
+
category: Spin-Constrained DFT
4356
+
type: Boolean
4357
+
description: |
4358
+
When true, only the direction of the magnetic moment is constrained to the target direction, while the magnitude is allowed to vary freely. This is useful for studying magnetic anisotropy or when the magnitude of the moment is determined by the electronic structure rather than an external constraint.
4359
+
4360
+
When false (default), both the direction and magnitude of the magnetic moment are constrained to the target values.
4361
+
default_value: "False"
4362
+
unit: ""
4363
+
availability: sc_mag_switch is true
4364
+
- name: sc_lambda_strategy
4365
+
category: Spin-Constrained DFT
4366
+
type: String
4367
+
description: |
4368
+
Lambda update strategy for spin-constrained DFT:
4369
+
* bfgs: BFGS quasi-Newton method
4370
+
* linear_response: linear response (Scheme B)
4371
+
* augmented_lagrangian: augmented Lagrangian (Scheme C)
0 commit comments