Commit d061719
authored
Restore deepks unit test in gamma-only case and make H_V_delta have full size of Hamiltonian in multi-k case (#5785)
* renew deepks unit test
* renew deepks unit test
* reduce deepks-unitest's dependence on other modules
* fix the bug of "Couldn't find orbital files for descriptor"
* fix bugs of read orbitals and init orb&ParaO
* fix the bug of DMR ; change the names of files being compared
* fix: calculate H_V_delta
* fix : cal_H_V_delta for check_e_deltabands
* fix : Add pointer for GridD in deepks operator. use Test_Deepks::GridD in deepks unit test instead of GlobalC::GridD
* fix : modify deepks operator to support insert_pair in initilize_HR in multi-k
* fix : undefined reference of test_hsolver_sdft when using mpiicpx and icpx
* update intergrate test result. Note modification in deepks operator for complete atom_pairs will cause time increase in multi-k cases.
* remove some useless code
* remove nnr in deepks unittest
* fix: cutoff for overlap_orb_alpha_ in deepks test
* fix : psialpha ref of gamma only case , just change the order of neighour atoms
* fix uninitilized nmax_total in unitcell; simplize cal_descriptor
* restore deepks unit test in gamma-only case
* modify STRU of SiO2 in deepks test to reduce the number of neighbor atoms, thus reducing much time
* fix a bug when merge
* fix : setup nonlocal for ucell
* rename phialpha_ref.dat for multi-k
* modify STRU of H2O_multik in deepks test to reduce the number of neighbor atoms, thus reducing much time
* fix : add module paw dependence in deepks unittest
* fix : rename descriptor file
* fix : modify result.ref for SiO2. The privious modification don't change totaldes wrongly.
* update CMakeLists.txt1 parent 7d14803 commit d061719
File tree
33 files changed
+1535
-1639
lines changed- source
- module_basis
- module_ao
- module_nao
- module_cell
- module_hamilt_lcao
- hamilt_lcaodft/operator_lcao
- module_deepks
- test
- module_hsolver/test
- tests/deepks
- 603_NO_deepks_H2O_multik
- 603_NO_deepks_SiO2_bandgap_multik
- 604_NO_deepks_ut_CH4_gamma
- 604_NO_deepks_ut_H2O_multik
33 files changed
+1535
-1639
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
267 | 266 | | |
268 | 267 | | |
269 | 268 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
| 654 | + | |
654 | 655 | | |
655 | 656 | | |
656 | 657 | | |
| |||
Lines changed: 19 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
147 | 146 | | |
148 | 147 | | |
149 | 148 | | |
| |||
165 | 164 | | |
166 | 165 | | |
167 | 166 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
173 | 172 | | |
174 | 173 | | |
175 | 174 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
| 382 | + | |
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
| |||
Lines changed: 35 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
4 | 33 | | |
5 | 34 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 35 | | |
12 | 36 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
19 | 40 | | |
20 | 41 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 42 | + | |
| 43 | + | |
36 | 44 | | |
37 | 45 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
0 commit comments