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: init_chg hr for initializing charge density with hrs1_nao.csr (deepmodeling#6791)
* Fix: init_chg dm with mismatched sparsity
* Feature: for initializing charge density with hrs1_nao.csr
* Test: add a test case
---------
Co-authored-by: dyzheng <zhengdy@bjaisi.com>
Copy file name to clipboardExpand all lines: docs/advanced/input_files/input-main.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -640,6 +640,8 @@ These variables are used to control general system parameters.
640
640
- atomic: the density is starting from the summation of the atomic density of single atoms.
641
641
- file: the density will be read in from a binary file `charge-density.dat` first. If it does not exist, the charge density will be read in from cube files. Besides, when you do `nspin=1` calculation, you only need the density file chgs1.cube. However, if you do `nspin=2` calculation, you also need the density file chgs2.cube. The density file should be output with these names if you set out_chg = 1 in INPUT file.
642
642
- wfc: the density will be calculated by wavefunctions and occupations. Wavefunctions are read in from binary files `wf*.dat` (see [out_wfc_pw](#out_wfc_pw)) while occupations are read in from file `eig.txt`.
643
+
- dm: the density will be calculated by real space density matrix(DMR) of LCAO base. DMR is read in from file `dmrs1_nao.csr` in directory [read_file_dir](#read_file_dir).
644
+
- hr: the real space Hamiltonian matrix(HR) will be read in from file `hrs1_nao.csr` in directory [read_file_dir](#read_file_dir), and DMR and charge density will be calculated from it.
643
645
- auto: Abacus first attempts to read the density from a file; if not found, it defaults to using atomic density.
0 commit comments