Skip to content

Commit b5b4c36

Browse files
committed
Rename module_elecstate to source_estate
1 parent 17d9f1d commit b5b4c36

File tree

279 files changed

+322
-322
lines changed

Some content is hidden

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

279 files changed

+322
-322
lines changed

docs/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ For those who are interested in the source code, the following figure shows the
5454
| |-- module_neighbor The module for finding the neighbors of each atom in the unit cell.
5555
| |-- module_paw The module for performing PAW calculations.
5656
| |-- module_symmetry The module for finding the symmetry operations of the unit cell.
57-
|-- module_elecstate The module for defining the electronic state and its operations.
57+
|-- source_estate The module for defining the electronic state and its operations.
5858
| |-- module_charge The module for calculating the charge density, charge mixing
5959
| |-- potentials The module for calculating the potentials, including Hartree, exchange-correlation, local pseudopotential, etc.
6060
|-- source_esolver The module defining task-specific driver of corresponding workflow for evaluating energies, forces, etc., including lj, dp, ks, sdft, ofdft, etc.

source/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
add_subdirectory(source_base)
22
add_subdirectory(source_cell)
33
add_subdirectory(module_psi)
4-
add_subdirectory(module_elecstate)
4+
add_subdirectory(source_estate)
55
add_subdirectory(module_hamilt_general)
66
add_subdirectory(module_hamilt_pw)
77
add_subdirectory(module_hamilt_lcao)
@@ -37,7 +37,7 @@ list(APPEND device_srcs
3737
source_basis/module_pw/kernels/pw_op.cpp
3838
source_hsolver/kernels/dngvd_op.cpp
3939
source_hsolver/kernels/bpcg_kernel_op.cpp
40-
module_elecstate/kernels/elecstate_op.cpp
40+
source_estate/kernels/elecstate_op.cpp
4141

4242
# module_psi/kernels/psi_memory_op.cpp
4343
# module_psi/kernels/device.cpp
@@ -67,7 +67,7 @@ if(USE_CUDA)
6767
source_basis/module_pw/kernels/cuda/pw_op.cu
6868
source_hsolver/kernels/cuda/dngvd_op.cu
6969
source_hsolver/kernels/cuda/bpcg_kernel_op.cu
70-
module_elecstate/kernels/cuda/elecstate_op.cu
70+
source_estate/kernels/cuda/elecstate_op.cu
7171

7272
# module_psi/kernels/cuda/memory_op.cu
7373
source_base/module_device/cuda/memory_op.cu
@@ -94,7 +94,7 @@ if(USE_ROCM)
9494
source_basis/module_pw/kernels/rocm/pw_op.hip.cu
9595
source_hsolver/kernels/rocm/dngvd_op.hip.cu
9696
source_hsolver/kernels/rocm/bpcg_kernel_op.hip.cu
97-
module_elecstate/kernels/rocm/elecstate_op.hip.cu
97+
source_estate/kernels/rocm/elecstate_op.hip.cu
9898

9999
# module_psi/kernels/rocm/memory_op.hip.cu
100100
source_base/module_device/rocm/memory_op.hip.cu

source/Makefile.Objects

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ VPATH=./src_global:\
3434
./source_hsolver/kernels:\
3535
./source_hsolver/genelpa:\
3636
./source_hsolver/module_pexsi:\
37-
./module_elecstate:\
38-
./module_elecstate/kernels:\
39-
./module_elecstate/module_pot:\
40-
./module_elecstate/module_charge:\
41-
./module_elecstate/module_dm:\
37+
./source_estate:\
38+
./source_estate/kernels:\
39+
./source_estate/module_pot:\
40+
./source_estate/module_charge:\
41+
./source_estate/module_dm:\
4242
./module_psi:\
4343
./module_psi/kernels:\
4444
./module_hamilt_general:\

source/module_hamilt_general/module_xc/xc_functional.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include "source_base/matrix.h"
1818
#include "exx_info.h"
1919
#include "source_basis/module_pw/pw_basis_k.h"
20-
#include "module_elecstate/module_charge/charge.h"
20+
#include "source_estate/module_charge/charge.h"
2121
#include "source_cell/unitcell.h"
2222

2323
#include <map> // added by jghan, 2024-10-10

source/module_hamilt_general/module_xc/xc_functional_libxc_tools.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include "xc_functional_libxc.h"
44
#include "xc_functional.h"
5-
#include "module_elecstate/module_charge/charge.h"
5+
#include "source_estate/module_charge/charge.h"
66
#include "module_parameter/parameter.h"
77

88
// converting rho (abacus=>libxc)

source/module_hamilt_general/module_xc/xc_functional_libxc_vxc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include "xc_functional.h"
44
#include "xc_functional_libxc.h"
5-
#include "module_elecstate/module_charge/charge.h"
5+
#include "source_estate/module_charge/charge.h"
66
#include "source_base/global_variable.h"
77
#include "module_parameter/parameter.h"
88
#include "source_base/parallel_reduce.h"

source/module_hamilt_lcao/hamilt_lcaodft/FORCE.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
#include "source_base/global_variable.h"
66
#include "source_base/matrix.h"
77
#include "source_basis/module_nao/two_center_bundle.h"
8-
#include "module_elecstate/elecstate.h"
9-
#include "module_elecstate/module_dm/density_matrix.h"
10-
#include "module_elecstate/module_pot/potential_new.h"
8+
#include "source_estate/elecstate.h"
9+
#include "source_estate/module_dm/density_matrix.h"
10+
#include "source_estate/module_pot/potential_new.h"
1111
#include "module_hamilt_lcao/hamilt_lcaodft/force_stress_arrays.h"
1212
#include "module_hamilt_lcao/module_deepks/LCAO_deepks.h"
1313
#include "module_hamilt_lcao/module_gint/gint_gamma.h"

source/module_hamilt_lcao/hamilt_lcaodft/FORCE_STRESS.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
// new
88
#include "source_base/timer.h"
99
#include "source_cell/module_neighbor/sltk_grid_driver.h"
10-
#include "module_elecstate/elecstate_lcao.h"
11-
#include "module_elecstate/module_pot/H_TDDFT_pw.h" // Taoni add 2025-02-20
12-
#include "module_elecstate/module_pot/efield.h" // liuyu add 2022-05-18
13-
#include "module_elecstate/module_pot/gatefield.h" // liuyu add 2022-09-13
10+
#include "source_estate/elecstate_lcao.h"
11+
#include "source_estate/module_pot/H_TDDFT_pw.h" // Taoni add 2025-02-20
12+
#include "source_estate/module_pot/efield.h" // liuyu add 2022-05-18
13+
#include "source_estate/module_pot/gatefield.h" // liuyu add 2022-09-13
1414
#include "module_hamilt_general/module_surchem/surchem.h" //sunml add 2022-08-10
1515
#include "module_hamilt_general/module_vdw/vdw.h"
1616
#include "module_parameter/parameter.h"

source/module_hamilt_lcao/hamilt_lcaodft/FORCE_gamma.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "module_hamilt_lcao/module_deepks/LCAO_deepks_io.h"
1111
#endif
1212
#include "source_cell/module_neighbor/sltk_grid_driver.h" //GridD
13-
#include "module_elecstate/elecstate_lcao.h"
13+
#include "source_estate/elecstate_lcao.h"
1414
#include "module_hamilt_lcao/hamilt_lcaodft/LCAO_domain.h"
1515
#include "module_hamilt_lcao/hamilt_lcaodft/pulay_force_stress.h"
1616
#include "module_io/write_HS.h"

source/module_hamilt_lcao/hamilt_lcaodft/FORCE_k.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
#include "source_base/tool_threading.h"
66
#include "source_basis/module_ao/ORB_read.h"
77
#include "source_cell/module_neighbor/sltk_grid_driver.h"
8-
#include "module_elecstate/cal_dm.h"
9-
#include "module_elecstate/elecstate_lcao.h"
10-
#include "module_elecstate/module_dm/cal_dm_psi.h"
8+
#include "source_estate/cal_dm.h"
9+
#include "source_estate/elecstate_lcao.h"
10+
#include "source_estate/module_dm/cal_dm_psi.h"
1111
#include "module_hamilt_lcao/hamilt_lcaodft/LCAO_domain.h"
1212
#include "module_hamilt_lcao/hamilt_lcaodft/pulay_force_stress.h"
1313
#include "module_hamilt_pw/hamilt_pwdft/global.h"

0 commit comments

Comments
 (0)