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
-[OFDFT: orbital free density functional theory](#ofdft-orbital-free-density-functional-theory)
@@ -1625,16 +1626,15 @@ These variables are used to control the output of properties.
1625
1626
-**Type**: Integer
1626
1627
-**Description**:
1627
1628
- 1: Output the **total local potential** (i.e., local pseudopotential + Hartree potential + XC potential + external electric field (if exists) + dipole correction potential (if exists) + ...) on real space grids (in Ry) into files in the folder `OUT.${suffix}`. The files are named as:
1628
-
- nspin = 1: SPIN1_POT.cube;
1629
-
- nspin = 2: SPIN1_POT.cube, and SPIN2_POT.cube;
1630
-
- nspin = 4: SPIN1_POT.cube, SPIN2_POT.cube, SPIN3_POT.cube, and SPIN4_POT.cube.
1631
-
- 2: Output the **electrostatic potential** on real space grids into `OUT.${suffix}/ElecStaticPot.cube`. The Python script named `tools/average_pot/aveElecStatPot.py` can be used to calculate the average electrostatic potential along the z-axis and outputs it into ElecStaticPot_AVE.
1632
-
1629
+
- nspin = 1: `pots1.cube`;
1630
+
- nspin = 2: `pots1.cube` and `pots2.cube`;
1631
+
- nspin = 4: `pots1.cube`, `pots2.cube`, `pots3.cube`, and `pots4.cube`
1632
+
- 2: Output the **electrostatic potential** on real space grids into `OUT.${suffix}/pot_es.cube`. The Python script named `tools/average_pot/aveElecStatPot.py` can be used to calculate the average electrostatic potential along the z-axis and outputs it into ElecStaticPot_AVE.
1633
1633
Please note that the total local potential refers to the local component of the self-consistent potential, excluding the non-local pseudopotential. The distinction between the local potential and the electrostatic potential is as follows: local potential = electrostatic potential + XC potential.
1634
1634
- 3: Apart from 1, also output the **total local potential** of the initial charge density. The files are named as:
1635
-
- nspin = 1: SPIN1_POT_INI.cube;
1636
-
- nspin = 2: SPIN1_POT_INI.cube, and SPIN2_POT_INI.cube;
1637
-
- nspin = 4: SPIN1_POT_INI.cube, SPIN2_POT_INI.cube, SPIN3_POT_INI.cube, and SPIN4_POT_INI.cube.
1635
+
- nspin = 1: `pots1_ini.cube`;
1636
+
- nspin = 2: `pots1_ini.cube` and `pots2_ini.cube`;
1637
+
- nspin = 4: `pots1_ini.cube`, `pots2_ini.cube`, `pots3_ini.cube`, and `pots4_ini.cube`
1638
1638
1639
1639
In molecular dynamics calculations, the output frequency is controlled by [out_interval](#out_interval).
1640
1640
-**Default**: 0
@@ -1643,21 +1643,22 @@ These variables are used to control the output of properties.
1643
1643
1644
1644
-**Type**: Boolean
1645
1645
-**Availability**: Numerical atomic orbital basis
1646
-
-**Description**: Whether to output the density matrix of localized orbitals into files in the folder `OUT.${suffix}`. The files are named as:
1646
+
-**Description**: Whether to output the density matrix for each k-point into files in the folder `OUT.${suffix}`. The files are named as:
1647
1647
- For gamma only case:
1648
-
- nspin = 1: SPIN1_DM;
1649
-
- nspin = 2: SPIN1_DM, and SPIN2_DM.
1648
+
- nspin = 1: `dms1_nao.csr`;
1649
+
- nspin = 2: `dms1_nao.csr` and `dms2_nao.csr` for the two spin channels.
1650
1650
- For multi-k points case:
1651
-
- SPIN\*_K\*_DM, where \* stands for index of spin and kpoints;
- nspin = 2: `dms1k1_nao.csr`... and `dms2k1_nao.csr`... for the two spin channels.
1652
1653
-**Default**: False
1653
1654
1654
1655
### out_dm1
1655
1656
1656
1657
-**Type**: Boolean
1657
1658
-**Availability**: Numerical atomic orbital basis (multi-k points)
1658
-
-**Description**: Whether to output the density matrix of localized orbitals into files in the folder `OUT.${suffix}`. The density matrices are written in the format of sparse matrices, as mentioned in [out_mat_hs2](#out_mat_hs2). The files are named as:
1659
-
- nspin = 1: data-DMR-sparse_SPIN0.csr;
1660
-
- nspin = 2: data-DMR-sparse_SPIN0.csr, and data-DMR-sparse_SPIN1.csr.
1659
+
-**Description**: Whether to output the density matrix with Bravias lattice vector R index into files in the folder `OUT.${suffix}`. The files are named as `dmr{s}{spin index}{g}{geometry index}{_nao} + {".csr"}`. Here, 's' refers to spin, where s1 means spin up channel while s2 means spin down channel, and the sparse matrix format 'csr' is mentioned in [out_mat_hs2](#out_mat_hs2). Finally, if [out_app_flag](#out_app_flag) is set to false, the file name contains the optinal 'g' index for each ionic step that may have different geometries, and if [out_app_flag](#out_app_flag) is set to true, the density matrix with respect to Bravias lattice vector R accumulates during ionic steps:
1660
+
- nspin = 1: `dmrs1_nao.csr`;
1661
+
- nspin = 2: `dmrs1_nao.csr` and `dmrs2_nao.csr` for the two spin channels.
1661
1662
-**Default**: False
1662
1663
1663
1664
### out_wfc_pw
@@ -2144,10 +2145,24 @@ Warning: this function is not robust enough for the current version. Please try
2144
2145
2145
2146
### deepks_bandgap
2146
2147
2147
-
-**Type**: Boolean
2148
+
-**Type**: Int
2148
2149
-**Availability**: numerical atomic orbital basis and `deepks_scf` is true
2149
2150
-**Description**: include bandgap label for DeePKS training
2150
-
-**Default**: False
2151
+
- 0: Don't include bandgap label
2152
+
- 1: Include HOMO and LOMO for bandgap label
2153
+
- 2: Include multiple bandgap label (see [deepks\_bandgap\_range](#deepks_bandgap_range) for more details)
2154
+
- 3: Include target bandgap label (see [deepks\_bandgap\_range](#deepks_bandgap_range) for more details)
2155
+
- 4: For systems containing H atoms only, HOMO is defined as the max occupation expect H atoms and the bandgap label is the energy between (HOMO, HOMO + 1)
2156
+
-**Default**: 0
2157
+
2158
+
### deepks_bandgap_range
2159
+
2160
+
-**Type**: Int*2
2161
+
-**Availability**: numerical atomic orbital basis, `deepks_scf` is true, and `deepks_bandgap` is 2 or 3
2162
+
-**Description**:
2163
+
-`deepks_bandgap` is 2: Bandgap labels are energies between (LUMO + deepks_bandgap_range[0], HOMO), (LUMO + deepks_bandgap_range[0] + 1, HOMO), ..., (LUMO + deepks_bandgap_range[1], HOMO) except (HOMO, HOMO)
2164
+
-`deepks_bandgap` is 3: Bandgap label is the energy between (LUMO + deepks_bandgap_range[0], LUMO + deepks_bandgap_range[1])
0 commit comments