Commit a43cbfb
Refactor: replaced the original atomlink data structure with the Standard Template Library (#5642)
* A highly aggressive change: replaced the original atomlink data structure with the Standard Template Library.
* fix unittest errors
* [pre-commit.ci lite] apply automatic fixes
* fix a adj set clear bug and add self to adj list
* use vector to refactor Cellset varible
* remove adjacent set, replaced by std list
* remove set fatom
* [pre-commit.ci lite] apply automatic fixes
* use 2 layers vector replace undered_map to improve perfermance
* remove a lot useless variable
* remove some useless variables
* refresh unit test to code logic
* [pre-commit.ci lite] apply automatic fixes
* fix a bug to force quit when test
* fresh unit test according to latest code logic
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>1 parent b377902 commit a43cbfb
File tree
23 files changed
+1088
-2552
lines changed- source
- module_cell/module_neighbor
- test
- module_hamilt_lcao
- hamilt_lcaodft
- module_deepks/test
- module_io
- module_md/test
23 files changed
+1088
-2552
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
370 | | - | |
| 369 | + | |
371 | 370 | | |
372 | 371 | | |
373 | 372 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
Lines changed: 0 additions & 121 deletions
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | 4 | | |
10 | 5 | | |
11 | 6 | | |
12 | 7 | | |
13 | 8 | | |
14 | 9 | | |
15 | | - | |
16 | 10 | | |
17 | 11 | | |
18 | 12 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | | - | |
| 17 | + | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
68 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
69 | 55 | | |
70 | 56 | | |
71 | 57 | | |
| |||
77 | 63 | | |
78 | 64 | | |
79 | 65 | | |
80 | | - | |
| 66 | + | |
81 | 67 | | |
82 | 68 | | |
83 | 69 | | |
0 commit comments