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
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -977,7 +977,7 @@
977
977
### pw_diag_thr
978
978
979
979
-**Type**: Real
980
-
-**Description**: Only used when you use ks_solver = cg/dav/dav_subspace/bpcg. It indicates the threshold for the first electronic iteration, from the second iteration the pw_diag_thr will be updated automatically. For nscf calculations with planewave basis set, pw_diag_thr should be <= 1e-3.
980
+
-**Description**: Only used when you use ks_solver = cg/dav/dav_subspace/bpcg/ppcg. It indicates the threshold for the first electronic iteration, from the second iteration the pw_diag_thr will be updated automatically. For nscf calculations with planewave basis set, pw_diag_thr should be <= 1e-3.
-**Description**: Only useful when you use ks_solver = cg/dav/dav_subspace/bpcg. It indicates the maximal iteration number for cg/david/dav_subspace/bpcg method.
-**Description**: Only useful when you use ks_solver = cg/dav/dav_subspace/bpcg/ppcg. It indicates the maximal iteration number for cg/david/dav_subspace/bpcg/ppcg method.
1001
1001
-**Default**: 50
1002
1002
1003
1003
### pw_diag_ndim
@@ -1112,6 +1112,7 @@
1112
1112
- bpcg: The BPCG method, which is a block-parallel Conjugate Gradient (CG) method, typically exhibits higher acceleration in a GPU environment.
1113
1113
- dav: The Davidson algorithm.
1114
1114
- dav_subspace: The Davidson algorithm without orthogonalization operation, this method is the most recommended for efficiency. pw_diag_ndim can be set to 2 for this method.
1115
+
- ppcg: The projection preconditioned conjugate-gradient method, currently available for CPU plane-wave calculations.
Copy file name to clipboardExpand all lines: docs/parameters.yaml
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -521,6 +521,7 @@ parameters:
521
521
* bpcg: The BPCG method, which is a block-parallel Conjugate Gradient (CG) method, typically exhibits higher acceleration in a GPU environment.
522
522
* dav: The Davidson algorithm.
523
523
* dav_subspace: The Davidson algorithm without orthogonalization operation, this method is the most recommended for efficiency. `pw_diag_ndim` can be set to 2 for this method.
524
+
* ppcg: The projection preconditioned conjugate-gradient method, currently available for CPU plane-wave calculations.
524
525
525
526
For numerical atomic orbitals basis,
526
527
@@ -942,7 +943,7 @@ parameters:
942
943
category: Plane wave related variables
943
944
type: Real
944
945
description: |
945
-
Only used when you use ks_solver = cg/dav/dav_subspace/bpcg. It indicates the threshold for the first electronic iteration, from the second iteration the pw_diag_thr will be updated automatically. For nscf calculations with planewave basis set, pw_diag_thr should be <= 1e-3.
946
+
Only used when you use ks_solver = cg/dav/dav_subspace/bpcg/ppcg. It indicates the threshold for the first electronic iteration, from the second iteration the pw_diag_thr will be updated automatically. For nscf calculations with planewave basis set, pw_diag_thr should be <= 1e-3.
946
947
default_value: "0.01"
947
948
unit: ""
948
949
availability: ""
@@ -966,10 +967,10 @@ parameters:
966
967
category: Plane wave related variables
967
968
type: Integer
968
969
description: |
969
-
Only useful when you use ks_solver = cg/dav/dav_subspace/bpcg. It indicates the maximal iteration number for cg/david/dav_subspace/bpcg method.
970
+
Only useful when you use ks_solver = cg/dav/dav_subspace/bpcg/ppcg. It indicates the maximal iteration number for cg/david/dav_subspace/bpcg/ppcg method.
Copy file name to clipboardExpand all lines: source/source_io/module_parameter/read_input_item_elec_stru.cpp
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,7 @@ For plane-wave basis,
56
56
* bpcg: The BPCG method, which is a block-parallel Conjugate Gradient (CG) method, typically exhibits higher acceleration in a GPU environment.
57
57
* dav: The Davidson algorithm.
58
58
* dav_subspace: The Davidson algorithm without orthogonalization operation, this method is the most recommended for efficiency. `pw_diag_ndim` can be set to 2 for this method.
59
+
* ppcg: The projection preconditioned conjugate-gradient method, currently available for CPU plane-wave calculations.
59
60
60
61
For numerical atomic orbitals basis,
61
62
@@ -131,7 +132,7 @@ Then the user has to correct the input file and restart the calculation.)";
@@ -1040,7 +1041,7 @@ Use case: When experimental or high-level theoretical results suggest that the S
1040
1041
item.annotation = "threshold for eigenvalues is cg electron iterations";
1041
1042
item.category = "Plane wave related variables";
1042
1043
item.type = "Real";
1043
-
item.description = "Only used when you use ks_solver = cg/dav/dav_subspace/bpcg. It indicates the threshold for the first electronic iteration, from the second iteration the pw_diag_thr will be updated automatically. For nscf calculations with planewave basis set, pw_diag_thr should be <= 1e-3.";
1044
+
item.description = "Only used when you use ks_solver = cg/dav/dav_subspace/bpcg/ppcg. It indicates the threshold for the first electronic iteration, from the second iteration the pw_diag_thr will be updated automatically. For nscf calculations with planewave basis set, pw_diag_thr should be <= 1e-3.";
1044
1045
item.default_value = "0.01";
1045
1046
item.unit = "";
1046
1047
item.availability = "";
@@ -1102,10 +1103,10 @@ Use case: When experimental or high-level theoretical results suggest that the S
1102
1103
item.annotation = "max iteration number for cg";
1103
1104
item.category = "Plane wave related variables";
1104
1105
item.type = "Integer";
1105
-
item.description = "Only useful when you use ks_solver = cg/dav/dav_subspace/bpcg. It indicates the maximal iteration number for cg/david/dav_subspace/bpcg method.";
1106
+
item.description = "Only useful when you use ks_solver = cg/dav/dav_subspace/bpcg/ppcg. It indicates the maximal iteration number for cg/david/dav_subspace/bpcg/ppcg method.";
0 commit comments