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
Feature: add nbands_mul for setting multiply for default nbands and fix initial mag for SOC (#5946)
* Feature: add nbands_mul for setting multiply for default nbands
* Fix: not autoset atomic mag with lspinorb only
* Fix: reference in tests with initial magnetization changed
---------
Co-authored-by: dyzheng <[email protected]>
Copy file name to clipboardExpand all lines: docs/advanced/input_files/input-main.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,7 @@
60
60
-[basis\_type](#basis_type)
61
61
-[ks\_solver](#ks_solver)
62
62
-[nbands](#nbands)
63
+
-[nbands_mul](#nbands_mul)
63
64
-[nelec](#nelec)
64
65
-[nelec\_delta](#nelec_delta)
65
66
-[nupdown](#nupdown)
@@ -967,9 +968,15 @@ calculations.
967
968
-**Type**: Integer
968
969
-**Description**: The number of Kohn-Sham orbitals to calculate. It is recommended to setup this value, especially when smearing techniques are utilized, more bands should be included.
- nspin=2: max(`nbands_mul`\*nelec_spin, nelec_spin + 10), in which nelec_spin = max(nelec_spin_up, nelec_spin_down)
973
+
- nspin=4: max(`nbands_mul`\*nelec, nelec + 20)
974
+
975
+
### nbands_mul
976
+
977
+
-**Type**: Real
978
+
-**Description**: the multiply value of default formular of `nbands`. It is recommended that the user set a larger default multiplier for systems with complex electron levels near the Fermi surface, such as `2.0`.
0 commit comments