Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@ target_link_libraries(
hamilt_stodft
psi
psi_initializer
psi_overall_init
esolver
vdw
device
Expand Down
2 changes: 1 addition & 1 deletion source/Makefile.Objects
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ OBJS_SRCPW=H_Ewald_pw.o\
symmetry_rhog.o\
wavefunc.o\
wf_atomic.o\
psiinit.o\
psi_init.o\
elecond.o\
sto_tool.o\
sto_elecond.o\
Expand Down
2 changes: 1 addition & 1 deletion source/module_esolver/esolver_ks_pw.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define ESOLVER_KS_PW_H
#include "./esolver_ks.h"
#include "module_hamilt_pw/hamilt_pwdft/operator_pw/velocity_pw.h"
#include "module_hamilt_pw/hamilt_pwdft/psiinit.h"
#include "module_psi/psi_init.h"

#include <memory>
#include <module_base/macros.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ target_link_libraries(
neighbor orb io_basic io_advanced relax gint driver esolver hsolver psi elecstate
hamilt_general hamilt_pwdft hamilt_lcao tddft hamilt_ofdft hamilt_stodft planewave
pthread vdw dftu deltaspin hcontainer
deepks device numerical_atomic_orbitals container psi_initializer
deepks device numerical_atomic_orbitals container psi_initializer psi_overall_init
${ABACUS_LINK_LIBRARIES}
)

Expand Down
1 change: 0 additions & 1 deletion source/module_hamilt_pw/hamilt_pwdft/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ list(APPEND objects
VNL_grad_pw.cpp
wavefunc.cpp
wf_atomic.cpp
psiinit.cpp
structure_factor.cpp
structure_factor_k.cpp
soc.cpp
Expand Down
6 changes: 6 additions & 0 deletions source/module_psi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ add_library(
psi.cpp
)

add_library(
psi_overall_init
OBJECT
psi_init.cpp
)

add_library(
psi_initializer
OBJECT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "psiinit.h"
#include "psi_init.h"

#include "module_base/macros.h"
#include "module_base/timer.h"
Expand Down
2 changes: 1 addition & 1 deletion source/module_ri/exx_lip.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "module_elecstate/elecstate.h"
#include "module_basis/module_pw/pw_basis_k.h"
#include "module_cell/module_symmetry/symmetry.h"
#include "module_hamilt_pw/hamilt_pwdft/psiinit.h"
#include "module_psi/psi_init.h"
#include "module_hamilt_pw/hamilt_pwdft/structure_factor.h"
#include "module_base/tool_title.h"
#include "module_base/timer.h"
Expand Down
Loading