Skip to content

Commit 9b25018

Browse files
committed
update documents
1 parent cb74729 commit 9b25018

File tree

1 file changed

+40
-29
lines changed

1 file changed

+40
-29
lines changed

docs/advanced/input_files/input-main.md

Lines changed: 40 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@
129129
- [fixed\_atoms](#fixed_atoms)
130130
- [cell\_factor](#cell_factor)
131131
- [Output Variables](#variables-related-to-output-information)
132-
- [out\_mul](#out_mul)
133132
- [out\_freq\_elec](#out_freq_elec)
134133
- [out\_chg](#out_chg)
135134
- [out\_pot](#out_pot)
@@ -158,6 +157,7 @@
158157
- [out\_eband\_terms](#out_eband_terms)
159158
- [out\_hr\_npz/out\_dm\_npz](#out_hr_npzout_dm_npz)
160159
- [dm\_to\_rho](#dm_to_rho)
160+
- [out\_mul](#out_mul)
161161
- [out\_app\_flag](#out_app_flag)
162162
- [out\_ndigits](#out_ndigits)
163163
- [out\_interval](#out_interval)
@@ -658,8 +658,8 @@ These variables are used to control general system parameters.
658658
- **Description**: Set the smallest allowed spacing between k points, unit in 1/bohr. It should be larger than 0.0, and suggest smaller than 0.25. When you have set this value > 0.0, then the KPT file is unnecessary, and the number of K points nk_i = max(1, int(|b_i|/KSPACING_i)+1), where b_i is the reciprocal lattice vector. The default value 0.0 means that ABACUS will read the applied KPT file.
659659
If only one value is set (such as `kspacing 0.5`), then kspacing values of a/b/c direction are all set to it; and one can also set 3 values to set the kspacing value for a/b/c direction separately (such as: `kspacing 0.5 0.6 0.7`).
660660

661-
Note: if gamma_only is set to be true, kspacing is invalid.
662661
- **Default**: 0.0
662+
- **Note**: If gamma_only is set to be true, kspacing is invalid.
663663

664664
### min_dist_coef
665665

@@ -791,17 +791,15 @@ These variables are used to control the plane wave related parameters.
791791

792792
- **Type**: Integer
793793
- **Description**: If set to a positive number, then the three variables specify the numbers of FFT grid points in x, y, z directions, respectively. If set to 0, the number will be calculated from ecutrho.
794-
795-
Note: You must specify all three dimensions for this setting to be used.
796794
- **Default**: 0
795+
- **Note**: You must specify all three dimensions for this setting to be used.
797796

798797
### ndx, ndy, ndz
799798

800799
- **Type**: Integer
801800
- **Description**: If set to a positive number, then the three variables specify the numbers of FFT grid (for the dense part of charge density in ultrasoft pseudopotential) points in x, y, z directions, respectively. If set to 0, the number will be calculated from ecutwfc.
802801

803802
Note: You must specify all three dimensions for this setting to be used.
804-
805803
Note: These parameters must be used combined with [nx,ny,nz](#nx-ny-nz). If [nx,ny,nz](#nx-ny-nz) are unset, ndx,ndy,ndz are used as [nx,ny,nz](#nx-ny-nz).
806804
- **Default**: 0
807805

@@ -1587,13 +1585,6 @@ These variables are used to control the geometry relaxation.
15871585

15881586
These variables are used to control the output of properties.
15891587

1590-
### out_mul
1591-
1592-
- **Type**: Boolean
1593-
- **Availability**: Numerical atomic orbital basis
1594-
- **Description**: Whether to print the Mulliken population analysis result into `OUT.${suffix}/mulliken.txt`. In molecular dynamics calculations, the output frequency is controlled by [out_interval](#out_interval).
1595-
- **Default**: False
1596-
15971588
### out_freq_elec
15981589

15991590
- **Type**: Integer
@@ -1625,7 +1616,7 @@ These variables are used to control the output of properties.
16251616

16261617
In molecular dynamics simulations, the output frequency is controlled by [out_interval](#out_interval).
16271618
- **Default**: 0 3
1628-
- **NOTE**: In the 3.10-LTS version, the file names are SPIN1_CHG.cube and SPIN1_CHG_INI.cube, etc.
1619+
- **Note**: In the 3.10-LTS version, the file names are SPIN1_CHG.cube and SPIN1_CHG_INI.cube, etc.
16291620

16301621
### out_pot
16311622

@@ -1644,7 +1635,7 @@ These variables are used to control the output of properties.
16441635

16451636
In molecular dynamics calculations, the output frequency is controlled by [out_interval](#out_interval).
16461637
- **Default**: 0
1647-
- **NOTE**: In the 3.10-LTS version, the file names are SPIN1_POT.cube and SPIN1_POT_INI.cube, etc.
1638+
- **Note**: In the 3.10-LTS version, the file names are SPIN1_POT.cube and SPIN1_POT_INI.cube, etc.
16481639

16491640
### out_dm
16501641

@@ -1658,7 +1649,7 @@ These variables are used to control the output of properties.
16581649
- nspin = 1: `dms1k1_nao.csr`, `dms1k2_nao.csr`, ...;
16591650
- nspin = 2: `dms1k1_nao.csr`... and `dms2k1_nao.csr`... for the two spin channels.
16601651
- **Default**: False
1661-
- **NOTE**: In the 3.10-LTS version, the file names are SPIN1_DM and SPIN2_DM, etc.
1652+
- **Note**: In the 3.10-LTS version, the file names are SPIN1_DM and SPIN2_DM, etc.
16621653

16631654
### out_dm1
16641655

@@ -1668,7 +1659,7 @@ These variables are used to control the output of properties.
16681659
- nspin = 1: `dmrs1_nao.csr`;
16691660
- nspin = 2: `dmrs1_nao.csr` and `dmrs2_nao.csr` for the two spin channels.
16701661
- **Default**: False
1671-
- **NOTE**: In the 3.10-LTS version, the file names are data-DMR-sparse_SPIN0.csr and data-DMR-sparse_SPIN1.csr, etc.
1662+
- **Note**: In the 3.10-LTS version, the file names are data-DMR-sparse_SPIN0.csr and data-DMR-sparse_SPIN1.csr, etc.
16721663

16731664
### out_wfc_pw
16741665

@@ -1681,7 +1672,7 @@ These variables are used to control the output of properties.
16811672
- 2: (binary format)
16821673
- non-gamma-only: `wfs1k1_pw.dat` or `wfs1k2_pw.dat`, ....
16831674
- **Default**: 0
1684-
- **NOTE**: In the 3.10-LTS version, the file names are OUT.${suffix}/WAVEFUNC${K}.dat, etc.
1675+
- **Note**: In the 3.10-LTS version, the file names are WAVEFUNC1.dat, WAVEFUNC2.dat, etc.
16851676

16861677
### out_wfc_lcao
16871678

@@ -1700,7 +1691,7 @@ These variables are used to control the output of properties.
17001691

17011692
Also controled by [out_interval](#out_interval) and [out_app_flag](#out_app_flag).
17021693
- **Default**: False
1703-
- **NOTE**: In the 3.10-LTS version, the file names are WFC_NAO_GAMMA1_ION1.txt and WFC_NAO_K1_ION1.txt, etc.
1694+
- **Note**: In the 3.10-LTS version, the file names are WFC_NAO_GAMMA1_ION1.txt and WFC_NAO_K1_ION1.txt, etc.
17041695

17051696
### out_dos
17061697

@@ -1784,66 +1775,79 @@ These variables are used to control the output of properties.
17841775
- nspin = 4: `hks12k1_nao.txt` for the Hamiltonian matrix at the 1st k-point, and `sks12k1_nao.txt` for the overlap matrix for the 1st k-point, ...;
17851776
- **Default**: False 8
17861777
- **Unit**: Ry
1787-
- **NOTE**: In the 3.10-LTS version, the file names are `data-0-H` and `data-0-S`, etc.
1778+
- **Note**: In the 3.10-LTS version, the file names are data-0-H and data-0-S, etc.
17881779

17891780
### out_mat_hs2
17901781

17911782
- **Type**: Boolean
17921783
- **Availability**: Numerical atomic orbital basis (not gamma-only algorithm)
1793-
- **Description**: Whether to print files containing the Hamiltonian matrix $H(R)$ (in Ry) and overlap matrix $S(R)$ into files in the directory `OUT.${suffix}`. For more information, please refer to [hs_matrix.md](../elec_properties/hs_matrix.md#out_mat_hs2).
1784+
- **Description**: Whether to print files containing the Hamiltonian matrix $H(R)$ and overlap matrix $S(R)$ into files in the directory `OUT.${suffix}`. For more information, please refer to [hs_matrix.md](../elec_properties/hs_matrix.md#out_mat_hs2).
17941785
- **Default**: False
17951786
- **Unit**: Ry
1796-
- **NOTE**: In the 3.10-LTS version, the file names are `data-HR-sparse_SPIN0.csr` and `data-SR-sparse_SPIN0.csr`, etc.
1787+
- **Note**: In the 3.10-LTS version, the file names are data-HR-sparse_SPIN0.csr and data-SR-sparse_SPIN0.csr, etc.
17971788

17981789
### out_mat_tk
17991790

18001791
- **Type**: Boolean \[Integer\](optional)
18011792
- **Availability**: Numerical atomic orbital basis
1802-
- **Description**: Whether to print the upper triangular part of the kinetic matrices (in Ry) for each k point into `OUT.${suffix}/data-i-T`, where i is the index of k points (see `OUT.${suffix}/kpoints`). One may optionally provide a second parameter to specify the precision.
1793+
- **Description**: Whether to print the upper triangular part of the kinetic matrices for each k-point into `OUT.${suffix}/tks1ki_nao.txt`, where i is the index of k points. One may optionally provide a second parameter to specify the precision.
18031794
- **Default**: False \[8\]
1795+
- **Unit**: Ry
1796+
- **Note**: In the 3.10-LTS version, the file names are data-TR-sparse_SPIN0.csr and data-TR-sparse_SPIN0.csr, etc.
18041797

18051798
### out_mat_r
18061799

18071800
- **Type**: Boolean
18081801
- **Availability**: Numerical atomic orbital basis (not gamma-only algorithm)
1809-
- **Description**: Whether to print the matrix representation of the position matrix (in Bohr) into a file named `data-rR-tr` in the directory `OUT.${suffix}`. If [calculation](#calculation) is set to `get_S`, the position matrix can be obtained without scf iterations. For more information, please refer to [position_matrix.md](../elec_properties/position_matrix.md#extracting-position-matrices).
1802+
- **Description**: Whether to print the matrix representation of the position matrix into a file named `rr.csr` in the directory `OUT.${suffix}`. If [calculation](#calculation) is set to `get_S`, the position matrix can be obtained without scf iterations. For more information, please refer to [position_matrix.md](../elec_properties/position_matrix.md#extracting-position-matrices).
18101803
- **Default**: False
1804+
- **Unit**: Bohr
1805+
- **Note**: In the 3.10-LTS version, the file name is data-rR-sparse.csr.
18111806

18121807
### out_mat_t
18131808

18141809
- **Type**: Boolean
18151810
- **Availability**: Numerical atomic orbital basis (not gamma-only algorithm)
1816-
- **Description**: For LCAO calculations, if out_mat_t is set to 1, ABACUS will generate files containing the kinetic energy matrix $T(R)$ (in Ry). The format will be the same as the Hamiltonian matrix $H(R)$ and overlap matrix $S(R)$ as mentioned in [out_mat_hs2](#out_mat_hs2). The name of the files will be `data-TR-sparse_SPIN0.csr` and so on. Also controled by [out_interval](#out_interval) and [out_app_flag](#out_app_flag).
1811+
- **Description**: Generate files containing the kinetic energy matrix $T(R)$. The format will be the same as the Hamiltonian matrix $H(R)$ and overlap matrix $S(R)$ as mentioned in [out_mat_hs2](#out_mat_hs2). The name of the files will be `trs1.csr` and so on. Also controled by [out_interval](#out_interval) and [out_app_flag](#out_app_flag).
18171812
- **Default**: False
1813+
- **Unit**: Ry
1814+
- **Note**: In the 3.10-LTS version, the file name is data-TR-sparse_SPIN0.csr.
18181815

18191816
### out_mat_dh
18201817

18211818
- **Type**: Boolean
18221819
- **Availability**: Numerical atomic orbital basis (not gamma-only algorithm)
1823-
- **Description**: Whether to print files containing the derivatives of the Hamiltonian matrix (in Ry/Bohr). The format will be the same as the Hamiltonian matrix $H(R)$ and overlap matrix $S(R)$ as mentioned in [out_mat_hs2](#out_mat_hs2). The name of the files will be `data-dHRx-sparse_SPIN0.csr` and so on. Also controled by [out_interval](#out_interval) and [out_app_flag](#out_app_flag).
1820+
- **Description**: Whether to print files containing the derivatives of the Hamiltonian matrix. The format will be the same as the Hamiltonian matrix $H(R)$ and overlap matrix $S(R)$ as mentioned in [out_mat_hs2](#out_mat_hs2). The name of the files will be `dhrxs1.csr` and so on. Also controled by [out_interval](#out_interval) and [out_app_flag](#out_app_flag).
18241821
- **Default**: False
1822+
- **Unit**: Ry/Bohr
1823+
- **Note**: In the 3.10-LTS version, the file name is data-dHRx-sparse_SPIN0.csr and so on.
18251824

18261825
### out_mat_ds
18271826

18281827
- **Type**: Boolean
18291828
- **Availability**: Numerical atomic orbital basis (not gamma-only algorithm)
1830-
- **Description**: Whether to print files containing the derivatives of the Overlap matrix (in Ry/Bohr). The format will be the same as the Overlap matrix $dH(R)$ as mentioned in [out_mat_dh](#out_mat_dh). The name of the files will be `data-dSRx-sparse_SPIN0.csr` and so on. Also controled by [out_interval](#out_interval) and [out_app_flag](#out_app_flag). This feature can be used with `calculation get_S`.
1829+
- **Description**: Whether to print files containing the derivatives of the overlap matrix. The format will be the same as the overlap matrix $dH(R)$ as mentioned in [out_mat_dh](#out_mat_dh). The name of the files will be `dsrxs1.csr` and so on. Also controled by [out_interval](#out_interval) and [out_app_flag](#out_app_flag). This feature can be used with `calculation get_S`.
18311830
- **Default**: False
1831+
- **Unit**: Ry/Bohr
1832+
- **Note**: In the 3.10-LTS version, the file name is data-dSRx-sparse_SPIN0.csr and so on.
18321833

18331834
### out_mat_xc
18341835

18351836
- **Type**: Boolean
18361837
- **Availability**: Numerical atomic orbital (NAO) and NAO-in-PW basis
1837-
- **Description**: Whether to print the upper triangular part of the exchange-correlation matrices in **Kohn-Sham orbital representation** (unit: Ry): $\braket{\psi_i|V_\text{xc}^\text{(semi-)local}+V_\text{exx}+V_\text{DFTU}|\psi_j}$ for each k point into files in the directory `OUT.${suffix}`, which is useful for the subsequent GW calculation. (Note that currently DeePKS term is not included. ) The files are named `k-$k-Vxc`, the meaning of `$k`corresponding to k point and spin is the same as [hs_matrix.md](../elec_properties/hs_matrix.md#out_mat_hs).
1838-
The band (KS orbital) energy for each (k-point, spin, band) will be printed in the file `OUT.${suffix}/vxc_out.dat`. If EXX is calculated, the local and EXX part of band energy will also be printed in `OUT.${suffix}/vxc_local_out.dat`and `OUT.${suffix}/vxc_exx_out.dat`, respectively. All the `vxc*_out.dat` files contains 3 integers (nk, nspin, nband) followed by nk\*nspin\*nband lines of energy Hartree and eV.
1838+
- **Description**: Whether to print the upper triangular part of the exchange-correlation matrices in Kohn-Sham orbital representation: $\braket{\psi_i|V_\text{xc}^\text{(semi-)local}+V_\text{exx}+V_\text{DFTU}|\psi_j}$ for each k point into files in the directory `OUT.${suffix}`, which is useful for the subsequent GW calculation (the code is still under development). (Note that currently DeePKS term is not included.) The files are named `vxcs1k$i_nao.txt`, where `$i` corresponds to the k point index. The band (KS orbital) energy for each (k-point, spin, band) will be printed in the file `OUT.${suffix}/vxc_out.dat`. If EXX is calculated, the local and EXX part of band energy will also be printed in `OUT.${suffix}/vxc_local_out.dat`and `OUT.${suffix}/vxc_exx_out.dat`, respectively. All the `vxc*_out.dat` files contains 3 integers (nk, nspin, nband) followed by nk\*nspin\*nband lines of energy Hartree and eV.
18391839
- **Default**: False
1840+
- **Unit**: Ry
1841+
- **Note**: In the 3.10-LTS version, the file name is k-$k-Vxc and so on.
18401842

18411843
### out_mat_xc2
18421844

18431845
- **Type**: Boolean
18441846
- **Availability**: Numerical atomic orbital (NAO) basis
1845-
- **Description**: Whether to print the exchange-correlation matrices in **numerical orbital representation** (unit: Ry): $\braket{\phi_i|V_\text{xc}^\text{(semi-)local}+V_\text{exx}+V_\text{DFTU}|\phi_j}(\mathbf{R})$ in CSR format (the same format as [out_mat_hs2](../elec_properties/hs_matrix.md#out_mat_hs2)) in the directory `OUT.${suffix}`. (Note that currently DeePKS term is not included. ) The files are named `Vxc_R_spin$s`.
1847+
- **Description**: Whether to print the exchange-correlation matrices in numerical orbital representation: $\braket{\phi_i|V_\text{xc}^\text{(semi-)local}+V_\text{exx}+V_\text{DFTU}|\phi_j}(\mathbf{R})$ in CSR format in the directory `OUT.${suffix}`. (Note that currently DeePKS term is not included. ) The files are named `Vxc_R_spin$s`.
18461848
- **Default**: False
1849+
- **Unit**: Ry
1850+
- **Note**: In the 3.10-LTS version, the file name is Vxc_R_spin$s and so on.
18471851

18481852
### out_mat_l
18491853

@@ -1873,6 +1877,13 @@ The band (KS orbital) energy for each (k-point, spin, band) will be printed in t
18731877
- **Description**: Reads density matrix $DM(R)$ in npz format and creates electron density on grids. This feature does not work for gamma-only calculations. Only supports serial calculations.
18741878
- **Default**: False
18751879

1880+
### out_mul
1881+
1882+
- **Type**: Boolean
1883+
- **Availability**: Numerical atomic orbital basis
1884+
- **Description**: Whether to print the Mulliken population analysis result into `OUT.${suffix}/mulliken.txt`. In molecular dynamics calculations, the output frequency is controlled by [out_interval](#out_interval).
1885+
- **Default**: False
1886+
18761887
### out_app_flag
18771888

18781889
- **Type**: Boolean

0 commit comments

Comments
 (0)