Skip to content

Commit 91db3ff

Browse files
committed
Rename hamilt_ofdft to module_ofdft
1 parent 9609916 commit 91db3ff

37 files changed

+19
-19
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ target_link_libraries(
736736
elecstate
737737
hamilt_general
738738
hamilt_pwdft
739-
hamilt_ofdft
739+
module_ofdft
740740
hamilt_stodft
741741
psi
742742
psi_initializer

docs/CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,27 +54,27 @@ 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-
|-- source_estate 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.
6161
| | TDDFT, Orbital-free DFT, etc.
62-
|-- source_hamilt The module for defining general Hamiltonian that can be used both in PW and LCAO calculations.
62+
|-- source_hamilt The module for defining general Hamiltonian that can be used both in PW and LCAO calculations.
6363
| |-- module_ewald The module for calculating the Ewald summation.
6464
| |-- module_surchem The module for calculating the surface charge correction.
6565
| |-- module_vdw The module for calculating the van der Waals correction.
6666
| |-- module_xc The module for calculating the exchange-correlation energy and potential.
67-
|-- source_lcao The module for defining the Hamiltonian in LCAO calculations.
67+
|-- source_lcao The module for defining the Hamiltonian in LCAO calculations.
6868
| |-- hamilt_lcaodft The module for defining the Hamiltonian in LCAO-DFT calculations.
6969
| | |-- operator_lcao The module for defining the operators in LCAO-DFT calculations.
7070
| |-- module_deepks The module for defining the Hamiltonian in DeepKS calculations.
7171
| |-- module_dftu The module for defining the Hamiltonian in DFT+U calculations.
7272
| |-- module_gint The module for performing grid integral in LCAO calculations.
7373
| |-- module_hcontainer The module for storing the Hamiltonian matrix in LCAO calculations.
74-
| |-- module_rt The module for defining the Hamiltonian in TDDFT calculations.
74+
| |-- module_rt The module for defining the Hamiltonian in TDDFT calculations.
7575
| `-- module_ri The module for performing RI calculations.
76-
|-- source_pw The module for defining the Hamiltonian in PW calculations.
77-
| |-- hamilt_ofdft The module for defining the Hamiltonian in OFDFT calculations.
76+
|-- source_pw The module for defining the Hamiltonian in PW calculations.
77+
| |-- 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.
8080
| `-- hamilt_stodft The module for defining the Hamiltonian in STODFT calculations.

source/Makefile.Objects

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ VPATH=./src_global:\
4747
./source_hamilt/module_xc:\
4848
./source_hamilt/module_xc/kernels:\
4949
./source_pw/hamilt_pwdft:\
50-
./source_pw/hamilt_ofdft:\
50+
./source_pw/module_ofdft:\
5151
./source_pw/hamilt_stodft:\
5252
./source_pw/hamilt_pwdft/operator_pw:\
5353
./source_pw/hamilt_pwdft/kernels:\

source/source_esolver/esolver_of.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
//-----force-------------------
1515
#include "source_pw/hamilt_pwdft/forces.h"
1616
//-----stress------------------
17-
#include "source_pw/hamilt_ofdft/of_stress_pw.h"
17+
#include "source_pw/module_ofdft/of_stress_pw.h"
1818

1919
namespace ModuleESolver
2020
{

source/source_esolver/esolver_of.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
#include "source_base/opt_DCsrch.h"
66
#include "source_base/opt_TN.hpp"
77
#include "source_estate/module_charge/charge.h"
8-
#include "source_pw/hamilt_ofdft/kedf_lkt.h"
9-
#include "source_pw/hamilt_ofdft/kedf_tf.h"
10-
#include "source_pw/hamilt_ofdft/kedf_vw.h"
11-
#include "source_pw/hamilt_ofdft/kedf_wt.h"
12-
#include "source_pw/hamilt_ofdft/kedf_ml.h"
8+
#include "source_pw/module_ofdft/kedf_lkt.h"
9+
#include "source_pw/module_ofdft/kedf_tf.h"
10+
#include "source_pw/module_ofdft/kedf_vw.h"
11+
#include "source_pw/module_ofdft/kedf_wt.h"
12+
#include "source_pw/module_ofdft/kedf_ml.h"
1313
#include "source_psi/psi.h"
1414

1515
namespace ModuleESolver

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)
2-
add_subdirectory(hamilt_ofdft)
2+
add_subdirectory(module_ofdft)
33
add_subdirectory(hamilt_stodft)

source/source_pw/hamilt_ofdft/CMakeLists.txt renamed to source/source_pw/module_ofdft/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ list(APPEND hamilt_ofdft_srcs
77
)
88

99
add_library(
10-
hamilt_ofdft
10+
module_ofdft
1111
OBJECT
1212
${hamilt_ofdft_srcs}
1313
)
1414

1515
if(ENABLE_COVERAGE)
16-
add_coverage(hamilt_ofdft)
16+
add_coverage(module_ofdft)
1717
endif()
1818

1919
if(ENABLE_MLALGO)

0 commit comments

Comments
 (0)