Skip to content

Commit 10efbea

Browse files
committed
Renamd hamilt_ofdft
1 parent c717d9e commit 10efbea

37 files changed

+31
-31
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ target_link_libraries(
737737
hamilt_general
738738
hamilt_pwdft
739739
module_ofdft
740-
hamilt_stodft
740+
module_stodft
741741
psi
742742
psi_initializer
743743
psi_overall_init

docs/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ For those who are interested in the source code, the following figure shows the
7777
| |-- module_ofdft The module for defining the Hamiltonian in OFDFT calculations.
7878
| |-- hamilt_pwdft The module for defining the Hamiltonian in PW-DFT calculations.
7979
| | |-- operator_pw The module for defining the operators in PW-DFT calculations.
80-
| `-- hamilt_stodft The module for defining the Hamiltonian in STODFT calculations.
80+
| `-- module_stodft The module for defining the Hamiltonian in STODFT calculations.
8181
|-- source_hsolver The module for solving the Hamiltonian with different diagonalization methods, including CG, Davidson in PW
8282
| | calculations, and scalapack and genelpa in LCAO calculations.
8383
|-- source_io The module for reading of INPUT files and output properties including band structure, density of states, charge density, etc.

source/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ list(APPEND device_srcs
3333
source_pw/hamilt_pwdft/kernels/veff_op.cpp
3434
source_pw/hamilt_pwdft/kernels/ekinetic_op.cpp
3535
source_pw/hamilt_pwdft/kernels/meta_op.cpp
36-
source_pw/hamilt_stodft/kernels/hpsi_norm_op.cpp
36+
source_pw/module_stodft/kernels/hpsi_norm_op.cpp
3737
source_basis/module_pw/kernels/pw_op.cpp
3838
source_hsolver/kernels/dngvd_op.cpp
3939
source_hsolver/kernels/bpcg_kernel_op.cpp
@@ -62,7 +62,7 @@ if(USE_CUDA)
6262
source_pw/hamilt_pwdft/kernels/cuda/veff_op.cu
6363
source_pw/hamilt_pwdft/kernels/cuda/ekinetic_op.cu
6464
source_pw/hamilt_pwdft/kernels/cuda/meta_op.cu
65-
source_pw/hamilt_stodft/kernels/cuda/hpsi_norm_op.cu
65+
source_pw/module_stodft/kernels/cuda/hpsi_norm_op.cu
6666
source_pw/hamilt_pwdft/kernels/cuda/onsite_op.cu
6767
source_basis/module_pw/kernels/cuda/pw_op.cu
6868
source_hsolver/kernels/cuda/dngvd_op.cu
@@ -90,7 +90,7 @@ if(USE_ROCM)
9090
source_pw/hamilt_pwdft/kernels/rocm/ekinetic_op.hip.cu
9191
source_pw/hamilt_pwdft/kernels/rocm/meta_op.hip.cu
9292
source_pw/hamilt_pwdft/kernels/rocm/onsite_op.hip.cu
93-
source_pw/hamilt_stodft/kernels/rocm/hpsi_norm_op.hip.cu
93+
source_pw/module_stodft/kernels/rocm/hpsi_norm_op.hip.cu
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

source/Makefile.Objects

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ VPATH=./src_global:\
4848
./source_hamilt/module_xc/kernels:\
4949
./source_pw/hamilt_pwdft:\
5050
./source_pw/module_ofdft:\
51-
./source_pw/hamilt_stodft:\
51+
./source_pw/module_stodft:\
5252
./source_pw/hamilt_pwdft/operator_pw:\
5353
./source_pw/hamilt_pwdft/kernels:\
5454
./source_pw/hamilt_pwdft/module_exx_helper:\
55-
./source_pw/hamilt_stodft/kernels:\
55+
./source_pw/module_stodft/kernels:\
5656
./source_lcao/module_hcontainer:\
5757
./source_lcao/hamilt_lcaodft:\
5858
./source_lcao/module_rt:\

source/source_esolver/esolver_sdft_pw.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
#include "source_base/global_variable.h"
44
#include "source_base/memory.h"
55
#include "source_estate/module_charge/symmetry_rho.h"
6-
#include "source_pw/hamilt_stodft/sto_dos.h"
7-
#include "source_pw/hamilt_stodft/sto_elecond.h"
8-
#include "source_pw/hamilt_stodft/sto_forces.h"
9-
#include "source_pw/hamilt_stodft/sto_stress_pw.h"
6+
#include "source_pw/module_stodft/sto_dos.h"
7+
#include "source_pw/module_stodft/sto_elecond.h"
8+
#include "source_pw/module_stodft/sto_forces.h"
9+
#include "source_pw/module_stodft/sto_stress_pw.h"
1010
#include "source_hsolver/diago_iter_assist.h"
1111
#include "module_parameter/parameter.h"
1212

source/source_esolver/esolver_sdft_pw.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
#define ESOLVER_SDFT_PW_H
33

44
#include "esolver_ks_pw.h"
5-
#include "source_pw/hamilt_stodft/hamilt_sdft_pw.h"
6-
#include "source_pw/hamilt_stodft/sto_che.h"
7-
#include "source_pw/hamilt_stodft/sto_iter.h"
8-
#include "source_pw/hamilt_stodft/sto_wf.h"
5+
#include "source_pw/module_stodft/hamilt_sdft_pw.h"
6+
#include "source_pw/module_stodft/sto_che.h"
7+
#include "source_pw/module_stodft/sto_iter.h"
8+
#include "source_pw/module_stodft/sto_wf.h"
99

1010
namespace ModuleESolver
1111
{

source/source_hsolver/hsolver_pw_sdft.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#ifndef HSOLVERPW_SDFT_H
22
#define HSOLVERPW_SDFT_H
33
#include "hsolver_pw.h"
4-
#include "source_pw/hamilt_stodft/hamilt_sdft_pw.h"
5-
#include "source_pw/hamilt_stodft/sto_iter.h"
4+
#include "source_pw/module_stodft/hamilt_sdft_pw.h"
5+
#include "source_pw/module_stodft/sto_iter.h"
66
namespace hsolver
77
{
88
template <typename T, typename Device = base_device::DEVICE_CPU>

source/source_hsolver/test/hsolver_supplementary_mock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ void Potential::cal_fixed_v(double* vl_pseudo)
9494
} // namespace elecstate
9595

9696
// mock of Stochastic_WF
97-
#include "source_pw/hamilt_stodft/sto_wf.h"
97+
#include "source_pw/module_stodft/sto_wf.h"
9898
template <typename T, typename Device>
9999
Stochastic_WF<T, Device>::Stochastic_WF()
100100
{

source/source_pw/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
add_subdirectory(hamilt_pwdft)
22
add_subdirectory(module_ofdft)
3-
add_subdirectory(hamilt_stodft)
3+
add_subdirectory(module_stodft)

source/source_pw/hamilt_stodft/CMakeLists.txt renamed to source/source_pw/module_stodft/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ list(APPEND hamilt_stodft_srcs
1212
)
1313

1414
add_library(
15-
hamilt_stodft
15+
module_stodft
1616
OBJECT
1717
${hamilt_stodft_srcs}
1818
)
1919

2020
if(ENABLE_COVERAGE)
21-
add_coverage(hamilt_stodft)
21+
add_coverage(module_stodft)
2222
endif()
2323

2424
if(BUILD_TESTING)

0 commit comments

Comments
 (0)