Commit 4722169
Fix: DFT+U nscf calculation of nspin=1 and output onsite.dm with out_chg>=0 (#6550)
* Fix: DFT+U nscf calculation of nspin=1 and output onsite.dm with out_chg>=0
* Fix: nscf force calculation with DFT+U
---------
Co-authored-by: dyzheng <[email protected]>1 parent 9438146 commit 4722169
File tree
2 files changed
+6
-3
lines changed- source
- module_esolver
- module_hamilt_lcao/module_dftu
2 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
672 | | - | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
673 | 676 | | |
674 | 677 | | |
675 | 678 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
| 312 | + | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| |||
0 commit comments