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
Feature: add use_k_continuity method for initializing psi with PW base (#6724)
* Feature: add use_k_continuity method for initialize psi
* Fix: cuda and rocm compiling error
* Fix: kpar error with use_k_continuity
* Fix: test error of CI
---------
Co-authored-by: Jie Li <76780849+jieli-matrix@users.noreply.github.com>
Co-authored-by: dyzheng <zhengdy@bjaisi.com>
Copy file name to clipboardExpand all lines: docs/advanced/input_files/input-main.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@
37
37
-[pw\_seed](#pw_seed)
38
38
-[pw\_diag\_thr](#pw_diag_thr)
39
39
-[diago\_smooth\_ethr](#diago_smooth_ethr)
40
+
-[use\_k\_continuity](#use_k_continuity)
40
41
-[pw\_diag\_nmax](#pw_diag_nmax)
41
42
-[pw\_diag\_ndim](#pw_diag_ndim)
42
43
-[erf\_ecut](#erf_ecut)
@@ -774,6 +775,18 @@ These variables are used to control the plane wave related parameters.
774
775
-**Description**: If `TRUE`, the smooth threshold strategy, which applies a larger threshold (10e-5) for the empty states, will be implemented in the diagonalization methods. (This strategy should not affect total energy, forces, and other ground-state properties, but computational efficiency will be improved.) If `FALSE`, the smooth threshold strategy will not be applied.
775
776
-**Default**: false
776
777
778
+
### use_k_continuity
779
+
780
+
-**Type**: Boolean
781
+
-**Availability**: Used only for plane wave basis set.
782
+
-**Description**: Whether to use k-point continuity for initializing wave functions. When enabled, this strategy exploits the similarity between wavefunctions at neighboring k-points by propagating the wavefunction from a previously initialized k-point to a new k-point, significantly reducing the computational cost of the initial guess.
783
+
784
+
**Important constraints:**
785
+
- Must be used together with `diago_smooth_ethr = 1` for optimal performance
786
+
787
+
This feature is particularly useful for calculations with dense k-point sampling where the computational cost of wavefunction initialization becomes significant.
0 commit comments