Skip to content

Commit 928db58

Browse files
dyzhengdyzheng
andauthored
Refactor: move module symmetry and neighbor into cell (#1841)
Co-authored-by: dyzheng <[email protected]>
1 parent 37597db commit 928db58

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+76
-75
lines changed

source/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
add_subdirectory(module_base)
22
add_subdirectory(module_cell)
3-
add_subdirectory(module_symmetry)
4-
add_subdirectory(module_neighbor)
53
add_subdirectory(module_psi)
64
add_subdirectory(module_elecstate)
75
add_subdirectory(module_hamilt_general)

source/Makefile.Objects

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ HEADERS = *.h
1313

1414
VPATH=./src_global:\
1515
./module_orbital:\
16-
./module_neighbor:\
17-
./module_symmetry:\
16+
./module_cell/module_neighbor:\
17+
./module_cell/module_symmetry:\
1818
./module_cell:\
1919
./module_base:\
2020
./module_base/kernels:\

source/driver_run.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include "module_hamilt_pw/hamilt_pwdft/global.h"
33
#include "module_io/input.h"
44
#include "module_io/winput.h"
5-
#include "module_neighbor/sltk_atom_arrange.h"
5+
#include "module_cell/module_neighbor/sltk_atom_arrange.h"
66
#include "module_io/print_info.h"
77
#include "module_md/run_md.h"
88

source/module_cell/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
add_subdirectory(module_symmetry)
2+
add_subdirectory(module_neighbor)
3+
14
add_library(
25
cell
36
OBJECT

source/module_cell/klist.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "module_hamilt_pw/hamilt_pwdft/global.h"
22
#include "klist.h"
33
#include "src_parallel/parallel_global.h"
4-
#include "module_symmetry/symmetry.h"
4+
#include "module_cell/module_symmetry/symmetry.h"
55
#include "src_parallel/parallel_reduce.h"
66
#include "src_parallel/parallel_common.h"
77
#include "module_base/memory.h"

source/module_cell/klist.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#ifndef K_VECTORS_H
22
#define K_VECTORS_H
33

4-
#include "../module_base/global_function.h"
5-
#include "../module_base/global_variable.h"
6-
#include "../module_base/matrix3.h"
7-
#include "../module_symmetry/symmetry.h"
4+
#include "module_base/global_function.h"
5+
#include "module_base/global_variable.h"
6+
#include "module_base/matrix3.h"
7+
#include "module_cell/module_symmetry/symmetry.h"
88
#include <vector>
99

1010
class K_Vectors
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)