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
Copy file name to clipboardExpand all lines: docs/advanced/input_files/input-main.md
+21-14Lines changed: 21 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -599,7 +599,7 @@ These variables are used to control general system parameters.
599
599
- nao: from numerical atomic orbitals. If they are not enough, other wave functions are initialized with random numbers.
600
600
- nao+random: add small random numbers on numerical atomic orbitals
601
601
602
-
> Only the `file` option is useful for the lcao basis set, which is mostly used when [calculation](#calculation) is set to `set_wf` and `get_pchg`. See more details in [out_wfc_lcao](#out_wfc_lcao).
602
+
> Only the `file` option is useful for the lcao basis set, which is mostly used when [calculation](#calculation) is set to `get_wf` and `get_pchg`. See more details in [out_wfc_lcao](#out_wfc_lcao).
603
603
-**Default**: atomic
604
604
605
605
### init_chg
@@ -608,7 +608,7 @@ These variables are used to control general system parameters.
608
608
-**Description**: This variable is used for both plane wave set and localized orbitals set. It indicates the type of starting density.
609
609
610
610
- atomic: the density is starting from the summation of the atomic density of single atoms.
611
-
- 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 SPIN1_CHG.cube. However, if you do `nspin=2` calculation, you also need the density file SPIN2_CHG.cube. The density file should be output with these names if you set out_chg = 1 in INPUT file.
611
+
- 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.
612
612
- 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 `istate.info`.
613
613
- auto: Abacus first attempts to read the density from a file; if not found, it defaults to using atomic density.
614
614
-**Default**: atomic
@@ -742,7 +742,7 @@ These variables are used to control parameters related to input files.
742
742
### read_file_dir
743
743
744
744
-**Type**: String
745
-
-**Description**: Indicates the location of files, such as electron density (`SPIN1_CHG.cube`), required as a starting point.
745
+
-**Description**: Location of files, such as the electron density (`chgs1.cube`), required as a starting point.
746
746
- Example: './' implies the files to be read are located in the working directory.
747
747
-**Default**: OUT.$suffix
748
748
@@ -1602,24 +1602,26 @@ These variables are used to control the output of properties.
1602
1602
-**Description**:
1603
1603
The first integer controls whether to output the charge density on real space grids:
1604
1604
- 1: Output the charge density (in Bohr^-3) on real space grids into the density files in the folder `OUT.${suffix}`. The files are named as:
1605
-
- nspin = 1: SPIN1_CHG.cube;
1606
-
- nspin = 2: SPIN1_CHG.cube, and SPIN2_CHG.cube;
1607
-
- nspin = 4: SPIN1_CHG.cube, SPIN2_CHG.cube, SPIN3_CHG.cube, and SPIN4_CHG.cube.
1608
-
- 2: On top of 1, also output the initial charge density. The files are named as:
1609
-
- nspin = 1: SPIN1_CHG_INI.cube
1610
-
- nspin = 2: SPIN1_CHG_INI.cube, and SPIN2_CHG_INI.cube;
1611
-
- nspin = 4: SPIN1_CHG_INI.cube, SPIN2_CHG_INI.cube, SPIN3_CHG_INI.cube, and SPIN4_CHG_INI.cube.
1605
+
- nspin = 1: `chgs1.cube`;
1606
+
- nspin = 2: `chgs1.cube`, and `chgs2.cube`;
1607
+
- nspin = 4: `chgs1.cube`, `chgs2.cube`, `chgs3.cube`, and `chgs4.cube`;
1608
+
Note that by using the Meta-GGA functional, additional files containing the kinetic energy density will be output with the following names:
1609
+
- nspin = 1: `taus1.cube`;
1610
+
- nspin = 2: `taus1.cube`, and `taus2.cube`;
1611
+
- nspin = 4: `taus1.cube`, `taus2.cube`, `taus3.cube`, and `taus4.cube`;
1612
+
- 2: On top of 1, also output the initial charge density files with a suffix name as '_ini', such as `taus1_ini.cube`, etc.
1612
1613
- -1: disable the charge density auto-back-up file `{suffix}-CHARGE-DENSITY.restart`, useful for large systems.
1613
1614
1614
1615
The second integer controls the precision of the charge 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`.
1615
1616
1616
1617
---
1617
1618
The circle order of the charge density on real space grids is: x is the outer loop, then y and finally z (z is moving fastest).
1618
1619
1619
-
If EXX(exact exchange) is calculated, (i.e. *[dft_fuctional](#dft_functional)==hse/hf/pbe0/scan0/opt_orb* or *[rpa](#rpa)==True*), the Hexx(R) files will be output in the folder `OUT.${suffix}` too, which can be read in NSCF calculation.
1620
+
In EXX(exact exchange) calculations, (i.e. *[dft_fuctional](#dft_functional)==hse/hf/pbe0/scan0/opt_orb* or *[rpa](#rpa)==True*), the Hexx(R) files will be output in the folder `OUT.${suffix}` too, which can be read in NSCF calculation.
1620
1621
1621
-
In molecular dynamics calculations, the output frequency is controlled by [out_interval](#out_interval).
1622
+
In molecular dynamics simulations, the output frequency is controlled by [out_interval](#out_interval).
1622
1623
-**Default**: 0 3
1624
+
-**NOTE**: In the 3.10-LTS version, the file names are SPIN1_CHG.cube and SPIN1_CHG_INI.cube, etc.
1623
1625
1624
1626
### out_pot
1625
1627
@@ -1638,6 +1640,7 @@ These variables are used to control the output of properties.
1638
1640
1639
1641
In molecular dynamics calculations, the output frequency is controlled by [out_interval](#out_interval).
1640
1642
-**Default**: 0
1643
+
-**NOTE**: In the 3.10-LTS version, the file names are SPIN1_POT.cube and SPIN1_POT_INI.cube, etc.
1641
1644
1642
1645
### out_dm
1643
1646
@@ -1651,6 +1654,7 @@ These variables are used to control the output of properties.
- nspin = 2: `dms1k1_nao.csr`... and `dms2k1_nao.csr`... for the two spin channels.
1653
1656
-**Default**: False
1657
+
-**NOTE**: In the 3.10-LTS version, the file names are SPIN1_DM and SPIN2_DM, etc.
1654
1658
1655
1659
### out_dm1
1656
1660
@@ -1660,6 +1664,7 @@ These variables are used to control the output of properties.
1660
1664
- nspin = 1: `dmrs1_nao.csr`;
1661
1665
- nspin = 2: `dmrs1_nao.csr` and `dmrs2_nao.csr` for the two spin channels.
1662
1666
-**Default**: False
1667
+
-**NOTE**: In the 3.10-LTS version, the file names are data-DMR-sparse_SPIN0.csr and data-DMR-sparse_SPIN1.csr, etc.
1663
1668
1664
1669
### out_wfc_pw
1665
1670
@@ -1672,6 +1677,7 @@ These variables are used to control the output of properties.
1672
1677
- 2: (binary format)
1673
1678
- non-gamma-only: `wfs1k1_pw.dat` or `wfs1k2_pw.dat`, ....
1674
1679
-**Default**: 0
1680
+
-**NOTE**: In the 3.10-LTS version, the file names are OUT.${suffix}/WAVEFUNC${K}.dat, etc.
1675
1681
1676
1682
### out_wfc_lcao
1677
1683
@@ -1689,7 +1695,8 @@ These variables are used to control the output of properties.
1689
1695
The corresponding sequence of the orbitals can be seen in [Basis Set](../pp_orb.md#basis-set).
1690
1696
1691
1697
Also controled by [out_interval](#out_interval) and [out_app_flag](#out_app_flag).
1692
-
-**Default**: Flase
1698
+
-**Default**: False
1699
+
-**NOTE**: In the 3.10-LTS version, the file names are WFC_NAO_GAMMA1_ION1.txt and WFC_NAO_K1_ION1.txt, etc.
1693
1700
1694
1701
### out_dos
1695
1702
@@ -1921,7 +1928,7 @@ The band (KS orbital) energy for each (k-point, spin, band) will be printed in t
1921
1928
### if_separate_k
1922
1929
1923
1930
-**Type**: Boolean
1924
-
-**Availability**: Only for LCAO, used only when `calculation = get_pchg` and `gamma_only` is turned off.
1931
+
-**Availability**: For both PW and LCAO. When `basis_type = pw`, used if `out_pchg` is set. When `basis_type = lcao`, used only when `calculation = get_pchg` and `gamma_only` is turned off.
1925
1932
-**Description**: Specifies whether to write the partial charge densities for all k-points to individual files or merge them. **Warning**: Enabling symmetry may produce incorrect results due to incorrect k-point weights. Therefore, when calculating partial charge densities, it is strongly recommended to set `symmetry = -1`.
0 commit comments