Skip to content

Commit 8b8c17a

Browse files
committed
update
1 parent 711b02b commit 8b8c17a

File tree

17 files changed

+5
-19
lines changed

17 files changed

+5
-19
lines changed

source/module_cell/test/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ remove_definitions(-D__DEEPKS)
22
remove_definitions(-D__CUDA)
33
remove_definitions(-D__ROCM)
44
remove_definitions(-D__EXX)
5-
remove_definitions(-DUSE_PAW)
65

76
find_program(BASH bash)
87
install(DIRECTORY support DESTINATION ${CMAKE_CURRENT_BINARY_DIR})

source/module_cell/test_pw/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ remove_definitions(-D__CUDA)
33
remove_definitions(-D__ROCM)
44
remove_definitions(-D__EXX)
55
remove_definitions(-D__LCAO)
6-
remove_definitions(-DUSE_PAW)
76

87
install(DIRECTORY support DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
98
install(FILES unitcell_test_pw_para.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR})

source/module_elecstate/test/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ remove_definitions(-D__UT_USE_ROCM)
66
remove_definitions(-D__ROCM)
77
remove_definitions(-D__DEEPKS)
88
remove_definitions(-D_OPENMP)
9-
remove_definitions(-DUSE_PAW)
109

1110
if (ENABLE_MPI)
1211

source/module_esolver/esolver_ks_pw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ void ESolver_KS_PW<T, Device>::hamilt2rho_single(UnitCell& ucell, const int iste
529529
PARAM.inp.calculation,
530530
PARAM.inp.basis_type,
531531
PARAM.inp.ks_solver,
532-
PARAM.inp.use_paw,
532+
false,
533533
PARAM.globalv.use_uspp,
534534
PARAM.inp.nspin,
535535
hsolver::DiagoIterAssist<T, Device>::SCF_ITER,

source/module_esolver/esolver_sdft_pw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ void ESolver_SDFT_PW<T, Device>::hamilt2rho_single(UnitCell& ucell, int istep, i
164164
PARAM.inp.calculation,
165165
PARAM.inp.basis_type,
166166
PARAM.inp.ks_solver,
167-
PARAM.inp.use_paw,
167+
false,
168168
PARAM.globalv.use_uspp,
169169
PARAM.inp.nspin,
170170
hsolver::DiagoIterAssist<T, Device>::SCF_ITER,

source/module_hamilt_general/module_surchem/test/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
remove_definitions(-D__LCAO )
22
remove_definitions(-DUSE_LIBXC)
3-
remove_definitions(-DUSE_PAW)
43
install(DIRECTORY support DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
54

65
list(APPEND depend_files

source/module_hamilt_general/module_xc/test/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
remove_definitions(-DUSE_PAW)
2-
31
AddTest(
42
TARGET XCTest_PBE
53
LIBS parameter MPI::MPI_CXX Libxc::xc # required by global.h; for details, `remove_definitions(-D__MPI)`.

source/module_hamilt_general/module_xc/test/xc3_mock.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ namespace GlobalV
169169
int NPOL;
170170
bool DOMAG;
171171
bool DOMAG_Z;
172-
bool use_paw = false;
173172
std::ofstream ofs_device;
174173
std::ofstream ofs_running;
175174
}

source/module_hamilt_lcao/module_deepks/test/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
remove_definitions(-DUSE_PAW)
21
add_executable(
32
test_deepks
43
main_deepks.cpp klist_1.cpp LCAO_deepks_test_prep.cpp LCAO_deepks_test.cpp

source/module_hamilt_lcao/module_deltaspin/cal_mw_from_lambda.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ void spinconstrain::SpinConstrain<std::complex<double>>::update_psi_charge(const
434434
PARAM.inp.calculation,
435435
PARAM.inp.basis_type,
436436
PARAM.inp.ks_solver,
437-
PARAM.inp.use_paw,
437+
false,
438438
PARAM.globalv.use_uspp,
439439
PARAM.inp.nspin,
440440
hsolver::DiagoIterAssist<std::complex<double>, base_device::DEVICE_CPU>::SCF_ITER,
@@ -509,7 +509,7 @@ void spinconstrain::SpinConstrain<std::complex<double>>::update_psi_charge(const
509509
PARAM.inp.calculation,
510510
PARAM.inp.basis_type,
511511
PARAM.inp.ks_solver,
512-
PARAM.inp.use_paw,
512+
false,
513513
PARAM.globalv.use_uspp,
514514
PARAM.inp.nspin,
515515
hsolver::DiagoIterAssist<std::complex<double>, base_device::DEVICE_GPU>::SCF_ITER,

0 commit comments

Comments
 (0)