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
Update the file names controlled by the out_pot command (#6240)
* fix a bug, when out_chg becomes 2, the read in function fails
* update out_dm and out_dm1 parameters and documents
* update io_dmk unittests
* update autotests for out_dm and out_dm1
* update reference data
* update 04_NO_KP_GTH
* update out_pot command
* update ref pot
Copy file name to clipboardExpand all lines: docs/advanced/input_files/input-main.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1626,16 +1626,15 @@ These variables are used to control the output of properties.
1626
1626
-**Type**: Integer
1627
1627
-**Description**:
1628
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:
1629
-
- nspin = 1: SPIN1_POT.cube;
1630
-
- nspin = 2: SPIN1_POT.cube, and SPIN2_POT.cube;
1631
-
- nspin = 4: SPIN1_POT.cube, SPIN2_POT.cube, SPIN3_POT.cube, and SPIN4_POT.cube.
1632
-
- 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.
1633
-
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.
1634
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.
1635
1634
- 3: Apart from 1, also output the **total local potential** of the initial charge density. The files are named as:
1636
-
- nspin = 1: SPIN1_POT_INI.cube;
1637
-
- nspin = 2: SPIN1_POT_INI.cube, and SPIN2_POT_INI.cube;
1638
-
- 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`
1639
1638
1640
1639
In molecular dynamics calculations, the output frequency is controlled by [out_interval](#out_interval).
1641
1640
-**Default**: 0
@@ -1657,7 +1656,7 @@ These variables are used to control the output of properties.
1657
1656
1658
1657
-**Type**: Boolean
1659
1658
-**Availability**: Numerical atomic orbital basis (multi-k points)
1660
-
-**Description**: Whether to output the density matrix with Bravias lattice vector R, labelled as DM(R), 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:
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:
1661
1660
- nspin = 1: `dmrs1_nao.csr`;
1662
1661
- nspin = 2: `dmrs1_nao.csr` and `dmrs2_nao.csr` for the two spin channels.
0 commit comments