Commit 9c1a061
Refactor the test directories of 02_NAO_Gamma and 03_NAO_multik, and several related output formats (#6973)
* Refactor: Encapsulate timer functionality in timer_wrapper.h
* Refactor timer code and clean_esolver function
1. Remove #ifdef __MPI from timer code, encapsulate in timer_wrapper.h
2. Move ESolver clean logic to after_all_runners method
3. Replace clean_esolver calls with direct delete p_esolver
4. Remove #ifdef __MPI from delete p_esolver
5. Add Cblacs_exit(1) in after_all_runners for LCAO calculations
* add module_energy directory
* updates
* Rename json_output to module_json and move para_json files, update include paths
* Update CMakeLists.txt: change json_output to module_json
* Fix CMakeLists.txt: update source_io file paths to module_output directory
* Fix csr_reader.h include paths: update to module_output directory
* fix bugs related to libxc
* fix
* fix
* fix several CMakeLists
* update CMake and other test files
* update cmakelists
* fix bugs
* Fix: Correct para_json.cpp path in test CMakeLists.txt
* fix cmake
* fix
* fix
* fix
* fix
* fix
* json!
* small updates of mulliken file format
* update mulliken charge output nspin=1
* Fix: Create symbolic link 'abacus' for test compatibility
* update mulliken output
* update mulliken spin 2
* update mulliken 4
* mulliken for spin 1
* update mulliken and refs
* update mulliken test to match new output format
* update pchg
* update mulliken test
* update directories in 02_NAO_Gamma
* change the directories in 02_NAO_Gamma to make it more clear
* exclude a test
* Update INPUT files: replace tabs with spaces and align columns
* update write_dmk.cpp
* update out_dmr_dmk example in 03
* fix write_dmk_test.cpp
* fix bug
* update write_dmk.cpp
* update write_dmk
* update
* update dmr output format, and change all the output of sparsematrix format
* update dmrs1_nap.csr.ref
* fix reader of dmr matrix
* fix bug, now it works!
* update format
* add spin information in dmr
* update example in 03: scf_in_dmr_GaAs
* add reference data
* update example in 03: scf_in_dmr_Si
* add example: scf_in_dmr_Si_spin2_hasbug
* update example 03: scf_out_dmr_dmk_pot
* change pot from int to vector!
* fix bug about out_pot
* update potential, now it works with 2 parameters
* fix bug, out_chg 2 now supports precision control of chginit.cube file!
* fix tests
* fix example
* fix example reference data
* update tab of write_HS.hpp
* replace tab with blank in write_HS_R.cpp
* fix elf test
* delete 40_NO_ELF test
* update nscf_out_pot test
* update pot in nscf_out_pot
* update md_out_syns test
* update meta-gga output charge density and kinetic energy density
* update test chg tau in metagga
* update examples
* fix tests!
* update 03 CASES_CPU.txt
* fix 03 scf_in_dmr_GaAs test
* update 02 CASES_CPU.txt
* fix 054 test in 01
* fix another test scf_out_elf in 01
* fix ldos test
* fix test in scf_out_chg_tau
* fix two tests in OFDFT
* update deepks examples
* fix the unittest of csr_reader.cpp
* fix sparse_matrix.cpp unit tests
* fix read_input_item_test.cpp
* fix dmk
* comment out read_dmk
* fix rho_io test
* fix bug
* update unitcell, about changing none to user_defined_lattice
* fix scf_in_dmr_GaAs
* temporaly remove csr reader test in Hcontainer, will add back later
---------
Co-authored-by: abacus_fixer <mohanchen@pku.eud.cn>1 parent 46bd897 commit 9c1a061
File tree
364 files changed
+5936
-5039
lines changed- source
- source_cell
- test
- source_esolver
- source_io
- module_chgpot
- module_ctrl
- module_dm
- test
- module_hs
- module_output
- module_parameter
- test_serial
- support
- test
- support
- source_lcao/module_hcontainer
- test
- tests
- 01_PW
- nscf_out_pot
- scf_out_chg_tau
- scf_out_elf
- scf_out_ldos
- 02_NAO_Gamma
- 001_NO_GO_OHK
- 002_NO_GO_OHK2
- 003_NO_GO_RE_OHK
- 004_NO_GO_RE_OHK2
- 005_NO_GO_MD_OHK
- 006_NO_GO_MD_OHK2
- 007_NO_GO_OHR
- 008_NO_GO_OW
- 009_NO_GO_OW2
- 010_NO_GO_RE_OW
- 011_NO_GO_RE_OW2
- 012_NO_GO_MD_OW
- 013_NO_GO_MD_OW2
- 014_NO_GO_IW
- 016_NO_GO_ODM
- 110_NO_GO_BS
- 111_NO_GO_get_wf
- 114_NO_GO_get_pchg
- 115_NO_GO_mulliken
- 132_NO_GO_CF_RE
- 133_NO_GO_CS_CR
- 134_NO_GO_RE_MB
- 135_NO_GO_elec_minus
- 136_NO_GO_S2_elec_minus
- 137_NO_GO_sol_H2O
- 138_NO_GO_SCAN_Si2
- 139_NO_GO_FeBiTe
- 140_NO_GO_ocp
- 141_NO_GO_MSST
- 142_NO_GO_MSST2
- 143_NO_GO_AF
- 144_NO_GO_AF_mag
- 145_NO_GO_FM
- 146_NO_GO_PU_AF
- 147_NO_GO_OXC
- get_pchg
- get_wf_spin2
- md_msst2
- md_msst
- md_out_hk_spin2
- md_out_hk_syns
- relax_bfgs2
- relax_cell
- relax_old_cg
- relax_out_hk_spin2
- relax_out_hk
- scf_FeBiTe
- scf_afm
- scf_bsse
- scf_elenum_spin2
- scf_elenum
- scf_fm
- scf_force_stress
- scf_in_wf
- scf_metagga
- scf_ocp_spin2
- scf_out_dm
- scf_out_hk_spin2
- scf_out_hk
- scf_out_hxc
- scf_out_mul_spin2
- scf_out_mul
- scf_out_wf_spin2
- scf_out_wf
- scf_solvation
- scf_u_spin2
- 03_NAO_multik
- 01_NO_KP_15f_ODM
- 02_NO_KP_15
- 05_NO_KP_DJ_OC2
- 23_NO_KP_OK
- 39_NO_OP_nscf
- 40_NO_ELF
- 57_NO_MD_1O
- md_out_syns
- nscf_out_pot
- scf_in_dmr_GaAs
- scf_in_dmr_Si_spin2_hasbug
- scf_in_dmr_Si
- scf_out_chg_pot
- scf_out_chg_tau
- scf_out_dmr_dmk
- scf_out_elf
- 07_OFDFT
- 24_OF_out_elf
- 33_OF_out_chg
- 09_DeePKS
- 21_NO_GO_deepks_vdelta_r_1
- 22_NO_GO_deepks_vdelta_r_2
- 23_NO_KP_deepks_vdelta_r_1
- 24_NO_KP_deepks_vdelta_r_2
- integrate/tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
364 files changed
+5936
-5039
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
| 593 | + | |
593 | 594 | | |
594 | 595 | | |
595 | 596 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
| 550 | + | |
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
| |||
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
566 | | - | |
| 566 | + | |
567 | 567 | | |
568 | 568 | | |
569 | 569 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
0 commit comments