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/elec_properties/hs_matrix.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,11 @@ We also offer the option of only calculating the overlap matrix without running
61
61
62
62
A file named `SR.csr` will be generated in the working directory, which contains the overlap matrix.
63
63
64
+
> When `nspin` is set to 1 or 2, the dimension of the overlap matrix is nlocal $\times$ nlocal, where nlocal is the total number of numerical atomic orbitals.
65
+
These numerical atomic orbitals are ordered from outer to inner loop as atom, angular quantum number $l$, zeta (multiple radial orbitals corresponding to each $l$), and magnetic quantum number $m$.
66
+
When `nspin` is set to 4, the dimension of the overlap matrix is (2 $\times$ nlocal) $\times$ (2 $\times$ nlocal). In this case, the numerical atomic orbitals are ordered from outer to inner loop as atom, angular quantum number $l$, zeta (multiple radial orbitals corresponding to each $l$), magnetic quantum number $m$, and npol (index of spin, ranges from 0 to 1).
67
+
68
+
64
69
## examples
65
70
We provide [examples](https://github.com/deepmodeling/abacus-develop/tree/develop/examples/matrix_hs) of outputting the matrices. There are four examples:
Copy file name to clipboardExpand all lines: docs/advanced/elec_properties/position_matrix.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,4 +18,7 @@ Each file or each section of the appended file starts with "STEP: " followed by
18
18
19
19
Each block here contains the matrix for the corresponding cell. There are three columns in each block, giving the matrix elements in x, y, z directions, respectively. There are altogether nbasis * nbasis lines in each block, which emulates the matrix elements.
20
20
21
-
In molecular dynamics (MD) calculations, if [out_app_flag](../input_files/input-main.md#out_app_flag) is set to true, then `data-rR-tr` is written in an append manner. Otherwise, output files will be put in a separate directory, `matrix`, and named as `$x`_data-rR-tr, where `$x` is the number of MD step. In addition, The output frequency is controlled by [out_interval](../input_files/input-main.md#out_interval). For example, if we are running a 10-step MD with out_interval = 3, then `$x` will be 0, 3, 6, and 9.
21
+
In molecular dynamics (MD) calculations, if [out_app_flag](../input_files/input-main.md#out_app_flag) is set to true, then `data-rR-tr` is written in an append manner. Otherwise, output files will be put in a separate directory, `matrix`, and named as `$x`_data-rR-tr, where `$x` is the number of MD step. In addition, the output frequency is controlled by [out_interval](../input_files/input-main.md#out_interval). For example, if we are running a 10-step MD with out_interval = 3, then `$x` will be 0, 3, 6, and 9.
22
+
23
+
## get_S
24
+
We also offer the option of only calculating the position matrix without running SCF. For that purpose, in `INPUT` file we need to set the keyword [calculation](../input_files/input-main.md#calculation) to `get_S`, and [out_mat_r](../input_files/input-main.md#out_mat_r) to `true`.
Copy file name to clipboardExpand all lines: docs/advanced/input_files/input-main.md
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -435,6 +435,9 @@
435
435
-[abs\_broadening](#abs_broadening)
436
436
-[ri\_hartree\_benchmark](#ri_hartree_benchmark)
437
437
-[aims\_nbasis](#aims_nbasis)
438
+
-[Reduced Density Matrix Functional Theory](#Reduced-Density-Matrix-Functional-Theory)
439
+
-[rdmft](#rdmft)
440
+
-[rdmft\_power\_alpha](#rdmft_power_alpha)
438
441
439
442
[back to top](#full-list-of-input-keywords)
440
443
## System variables
@@ -1717,7 +1720,7 @@ These variables are used to control the output of properties.
1717
1720
1718
1721
-**Type**: Boolean
1719
1722
-**Availability**: Numerical atomic orbital basis (not gamma-only algorithm)
1720
-
-**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}`. For more information, please refer to [position_matrix.md](../elec_properties/position_matrix.md#extracting-position-matrices).
1723
+
-**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).
1721
1724
-**Default**: False
1722
1725
1723
1726
### out_mat_hs2
@@ -4031,4 +4034,21 @@ The output files are `OUT.${suffix}/Excitation_Energy.dat` and `OUT.${suffix}/Ex
4031
4034
-**Description**: Atomic basis set size for each atom type (with the same order as in `STRU`) in FHI-aims.
4032
4035
-**Default**: {} (empty list, where ABACUS use its own basis set size)
4033
4036
4037
+
## Reduced Density Matrix Functional Theory
4038
+
4039
+
ab-initio methods and the xc-functional parameters used in RDMFT.
4040
+
The physical quantities that RDMFT temporarily expects to output are the kinetic energy, total energy, and 1-RDM of the system in the ground state, etc.
4041
+
4042
+
### rdmft
4043
+
4044
+
-**Type**: Boolean
4045
+
-**Description**: Whether to perform rdmft calculation (reduced density matrix funcional theory)
4046
+
-**Default**: false
4047
+
4048
+
### rdmft_power_alpha
4049
+
4050
+
-**Type**: Real
4051
+
-**Description**: The alpha parameter of power-functional(or other exx-type/hybrid functionals) which used in RDMFT, g(occ_number) = occ_number^alpha
0 commit comments