Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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/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/psiinit.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
2 changes: 1 addition & 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,7 @@ list(APPEND objects
VNL_grad_pw.cpp
wavefunc.cpp
wf_atomic.cpp
psiinit.cpp
# ../../module_psi/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
psiinit.cpp
)

add_library(
psi_initializer
OBJECT
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/psiinit.h"
#include "module_hamilt_pw/hamilt_pwdft/structure_factor.h"
#include "module_base/tool_title.h"
#include "module_base/timer.h"
Expand Down
Loading