Skip to content

Commit cac78df

Browse files
authored
Refactor:Change potentials to module_pot (#6070)
* modify name * modify file include * add the CMakefile
1 parent e506d00 commit cac78df

Some content is hidden

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

53 files changed

+61
-61
lines changed

source/Makefile.Objects

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ VPATH=./src_global:\
3535
./module_hsolver/module_pexsi:\
3636
./module_elecstate:\
3737
./module_elecstate/kernels:\
38-
./module_elecstate/potentials:\
38+
./module_elecstate/module_pot:\
3939
./module_elecstate/module_charge:\
4040
./module_elecstate/module_dm:\
4141
./module_psi:\

source/module_elecstate/CMakeLists.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ list(APPEND objects
88
elecstate_pw.cpp
99
elecstate_pw_sdft.cpp
1010
elecstate_pw_cal_tau.cpp
11-
potentials/gatefield.cpp
12-
potentials/efield.cpp
13-
potentials/H_Hartree_pw.cpp
14-
potentials/pot_xc.cpp
15-
potentials/pot_local.cpp
16-
potentials/pot_local_paw.cpp
17-
potentials/potential_new.cpp
18-
potentials/potential_types.cpp
11+
module_pot/gatefield.cpp
12+
module_pot/efield.cpp
13+
module_pot/H_Hartree_pw.cpp
14+
module_pot/pot_xc.cpp
15+
module_pot/pot_local.cpp
16+
module_pot/pot_local_paw.cpp
17+
module_pot/potential_new.cpp
18+
module_pot/potential_types.cpp
1919
module_charge/charge.cpp
2020
module_charge/charge_init.cpp
2121
module_charge/charge_mpi.cpp
@@ -42,7 +42,7 @@ if(ENABLE_LCAO)
4242
list(APPEND objects
4343
elecstate_lcao.cpp
4444
elecstate_lcao_cal_tau.cpp
45-
potentials/H_TDDFT_pw.cpp
45+
module_pot/H_TDDFT_pw.cpp
4646
module_dm/density_matrix.cpp
4747
module_dm/density_matrix_io.cpp
4848
module_dm/cal_dm_psi.cpp

source/module_elecstate/elecstate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include "module_elecstate/module_charge/charge.h"
66
#include "module_parameter/parameter.h"
77
#include "module_psi/psi.h"
8-
#include "potentials/potential_new.h"
8+
#include "module_pot/potential_new.h"
99

1010
namespace elecstate
1111
{

source/module_elecstate/elecstate_energy_terms.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "elecstate.h"
2-
#include "module_elecstate/potentials/H_Hartree_pw.h"
3-
#include "module_elecstate/potentials/efield.h"
4-
#include "module_elecstate/potentials/gatefield.h"
2+
#include "module_elecstate/module_pot/H_Hartree_pw.h"
3+
#include "module_elecstate/module_pot/efield.h"
4+
#include "module_elecstate/module_pot/gatefield.h"
55
#include "module_hamilt_lcao/module_deepks/LCAO_deepks.h"
66
#include "module_hamilt_lcao/module_deltaspin/spin_constrain.h"
77
#include "module_hamilt_lcao/module_dftu/dftu.h"

source/module_elecstate/elecstate_print.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
#include "module_base/formatter.h"
33
#include "module_base/global_variable.h"
44
#include "module_base/parallel_common.h"
5-
#include "module_elecstate/potentials/H_Hartree_pw.h"
6-
#include "module_elecstate/potentials/efield.h"
7-
#include "module_elecstate/potentials/gatefield.h"
5+
#include "module_elecstate/module_pot/H_Hartree_pw.h"
6+
#include "module_elecstate/module_pot/efield.h"
7+
#include "module_elecstate/module_pot/gatefield.h"
88
#include "module_hamilt_general/module_xc/xc_functional.h"
99
#include "module_hamilt_lcao/module_deepks/LCAO_deepks.h"
1010
#include "module_parameter/parameter.h"

0 commit comments

Comments
 (0)