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
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -557,6 +557,7 @@ These variables are used to control general system parameters.
557
557
- If ([dft_fuctional](#dft_functional)==hse/hf/pbe0/scan0 or [rpa](#rpa)==True).
558
558
- If [efield_flag](#efield_flag)==1
559
559
- 1: else
560
+
-**Note**: When symmetry is enabled (value 1), k-points are reduced to the irreducible Brillouin zone (IBZ). For explicit k-point lists with custom weights (see [KPT file](./kpt.md#k-point-weights-and-symmetry)), the custom weights are preserved during symmetry reduction. For Monkhorst-Pack grids, uniform weights are used.
Copy file name to clipboardExpand all lines: docs/advanced/input_files/kpt.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,40 @@ Direct //`Direct' or `Cartesian' coordinate
58
58
0.5 0.5 0.5 0.125
59
59
```
60
60
61
+
### K-point Weights and Symmetry
62
+
63
+
When explicitly setting k-points, you can specify custom weights for each k-point. These weights determine the contribution of each k-point to the total energy and density calculations.
64
+
65
+
**Important notes about k-point weights:**
66
+
67
+
1.**Custom weights are preserved**: When using explicit k-point lists (non-Monkhorst-Pack), ABACUS preserves the custom weights you specify, even when symmetry operations are applied to reduce the k-points to the irreducible Brillouin zone (IBZ).
68
+
69
+
2.**Symmetry reduction**: When [`symmetry`](./input-main.md#symmetry) is set to 1, ABACUS will analyze the crystal symmetry and reduce the k-point set to the irreducible Brillouin zone. During this reduction:
70
+
- For **Monkhorst-Pack grids** (automatically generated): All k-points have uniform weights (1/N where N is the total number of k-points)
71
+
- For **explicit k-point lists**: Custom weights are preserved and properly combined when symmetry-equivalent k-points are merged
72
+
73
+
3.**Weight normalization**: After symmetry reduction, k-point weights are normalized so that their sum equals `degspin` (2 for non-spin-polarized calculations, 1 for spin-polarized calculations).
74
+
75
+
**Example with custom weights:**
76
+
77
+
```
78
+
K_POINTS
79
+
5
80
+
Direct
81
+
0.0 0.0 0.0 0.1 // Gamma point with weight 0.1
82
+
0.5 0.0 0.0 0.2 // X point with weight 0.2
83
+
0.0 0.5 0.0 0.3 // Y point with weight 0.3
84
+
0.5 0.5 0.0 0.2 // M point with weight 0.2
85
+
0.0 0.0 0.5 0.2 // Z point with weight 0.2
86
+
```
87
+
88
+
In this example, different k-points have different weights, which might be useful for:
89
+
- Special sampling schemes
90
+
- Convergence testing with specific k-point importance
91
+
- Custom integration methods
92
+
93
+
> **Note**: When using custom weights with symmetry, ensure that your weight distribution is consistent with the crystal symmetry. ABACUS will preserve your weights during IBZ reduction, but inconsistent weights may lead to unexpected results.
0 commit comments