Skip to content

Commit 2342de1

Browse files
committed
remove adjacent set, replaced by std list
1 parent 18a05d1 commit 2342de1

File tree

9 files changed

+6
-359
lines changed

9 files changed

+6
-359
lines changed

source/Makefile.Objects

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,7 @@ OBJS_MD=fire.o\
364364
run_md.o\
365365
verlet.o\
366366

367-
OBJS_NEIGHBOR=sltk_adjacent_set.o\
368-
sltk_atom.o\
367+
OBJS_NEIGHBOR=sltk_atom.o\
369368
sltk_atom_arrange.o\
370369
sltk_atom_input.o\
371370
sltk_grid.o\

source/module_cell/module_neighbor/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
add_library(
22
neighbor
33
OBJECT
4-
sltk_adjacent_set.cpp
54
sltk_atom.cpp
65
sltk_atom_arrange.cpp
76
sltk_atom_input.cpp

source/module_cell/module_neighbor/sltk_adjacent_set.cpp

Lines changed: 0 additions & 112 deletions
This file was deleted.

source/module_cell/module_neighbor/sltk_adjacent_set.h

Lines changed: 0 additions & 115 deletions
This file was deleted.

source/module_cell/module_neighbor/sltk_atom.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
#include <memory>
55
#include "sltk_util.h"
6-
#include "sltk_adjacent_set.h"
76
#include "module_base/timer.h"
87
#include <list>
98

source/module_cell/module_neighbor/test/CMakeLists.txt

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,29 @@ remove_definitions(-D__CUDA)
44
remove_definitions(-D__ROCM)
55
remove_definitions(-D__EXX)
66

7-
AddTest(
8-
TARGET cell_neighbor_sltk_adjacent_set
9-
LIBS parameter
10-
SOURCES sltk_adjacent_set_test.cpp ../sltk_adjacent_set.cpp
11-
)
12-
137
AddTest(
148
TARGET cell_neighbor_sltk_atom
15-
SOURCES sltk_atom_test.cpp ../sltk_atom.cpp ../sltk_adjacent_set.cpp
9+
SOURCES sltk_atom_test.cpp ../sltk_atom.cpp
1610
)
1711

1812
AddTest(
1913
TARGET cell_neighbor_sltk_atom_input
2014
LIBS parameter ${math_libs} base device cell_info
21-
SOURCES sltk_atom_input_test.cpp ../sltk_atom_input.cpp ../sltk_atom.cpp ../sltk_adjacent_set.cpp
15+
SOURCES sltk_atom_input_test.cpp ../sltk_atom_input.cpp ../sltk_atom.cpp
2216
../../../module_io/output.cpp
2317
)
2418

2519
AddTest(
2620
TARGET cell_neighbor_sltk_grid
2721
LIBS parameter ${math_libs} base device cell_info
28-
SOURCES sltk_grid_test.cpp ../sltk_grid.cpp ../sltk_atom_input.cpp ../sltk_atom.cpp ../sltk_adjacent_set.cpp
22+
SOURCES sltk_grid_test.cpp ../sltk_grid.cpp ../sltk_atom_input.cpp ../sltk_atom.cpp
2923
../../../module_io/output.cpp
3024
)
3125

3226
AddTest(
3327
TARGET cell_neighbor_sltk_atom_arrange
3428
LIBS parameter ${math_libs} base device cell_info
3529
SOURCES sltk_atom_arrange_test.cpp ../sltk_atom_arrange.cpp ../sltk_grid_driver.cpp ../sltk_grid.cpp
36-
../sltk_atom_input.cpp ../sltk_atom.cpp ../sltk_adjacent_set.cpp
30+
../sltk_atom_input.cpp ../sltk_atom.cpp
3731
../../../module_io/output.cpp
3832
)

0 commit comments

Comments
 (0)