Skip to content

Commit 257e50a

Browse files
ddhhsssunml99
andauthored
Feature: Add module surchem. (#846)
* add H_Hartree files. * fix bug of ngmc/nrxx .. * fix bug, CG test PASS. * fix eb_k * print square of residue * change dim of epsilon from nrxx*2 to nrxx*1.. * add get_atom_num and Vcav * add test for rho * fix test * debug of gauss charge. * add Vcav and Vel * delete malloced vectors, fix bug of segfault in function createcavity. * fix bug: no match for 'operator*' (operand types are 'std::complex<double>' and 'int') * remove redundant annotations. * add v_cav and v_el. * Use laplace(vloc) to N_nuclear, delete redundant comments. * add test for N & n * fix N nuclear / 4pi * Add calculation of Acav, Ael, and Hamitonian. * add globalV * change cmakelists * update input file * add module surchem into link libraries of deepks_test. Co-authored-by: sunml99 <[email protected]>
1 parent c693ea0 commit 257e50a

23 files changed

+4526
-3351
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ target_link_libraries(${ABACUS_BIN_NAME}
263263
cell
264264
symmetry
265265
md
266+
surchem
266267
neighbor
267268
orb
268269
io

source/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ add_subdirectory(module_hamilt)
88
add_subdirectory(module_hsolver)
99
add_subdirectory(module_orbital)
1010
add_subdirectory(module_md)
11+
add_subdirectory(module_surchem)
1112
add_subdirectory(module_deepks)
1213
add_subdirectory(module_xc)
1314
add_subdirectory(module_esolver)

0 commit comments

Comments
 (0)