Commit d71661d
authored
Feature: Add deepks_out_base to support simultaneous output of numpy files of base and target functionals (#6483)
* add parameter deepks_out_base, when it is not "none", use a new esolver type "Esolver_DoubleXC"
* Modify Esolver_DoubleXC to calculate ebase,hbase,obase of output charge density (not charge density after charge mixing). Force to use deepks_out_freq_elec along with deepks_out_base
* some output info which helps when debuging
* output files of deepks base; add some annotation for output
* fix bug of force output related to gevdm when deepks_scf = false but deepks_out_labels = 1
* fix the bug of gamma only related to smatrix_k, add some annotations
* update annotation
* add conditions for p_hamit->refresh
* output force and stress base also in DeePKS_Labels_Elec
* revert changes to INPUT in test
* modify test for deepks_out_base
* Revert "some output info which helps when debuging" to delete output information
This reverts commit 73c3d6d.
* remove some output info for debugging in esolver_double_xc
* add some anotation for out_mat_hs used along with deepks_out_base
* add esolver_double_xc in Makefile.Objects
* Add deepks_out_base to input-main.md
Added documentation for deepks_out_base parameter.
* add ifdef for __MLALGO in esolver_double_xc, in case of not compiling with MLALGO
* Update doc for deepks_out_base1 parent a6ced75 commit d71661d
File tree
20 files changed
+953
-359
lines changed- docs/advanced/input_files
- source
- source_esolver
- source_hamilt/module_xc
- source_io
- module_parameter
- source_lcao
- module_deepks
- module_operator_lcao
- tests
- 09_DeePKS
- 103_NO_GO_deepks_out_freq_elec
- 103_NO_KP_deepks_out_freq_elec
- integrate/tools
20 files changed
+953
-359
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| 194 | + | |
194 | 195 | | |
195 | 196 | | |
196 | 197 | | |
| |||
2173 | 2174 | | |
2174 | 2175 | | |
2175 | 2176 | | |
| 2177 | + | |
| 2178 | + | |
| 2179 | + | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
| 2183 | + | |
2176 | 2184 | | |
2177 | 2185 | | |
2178 | 2186 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| 278 | + | |
278 | 279 | | |
279 | 280 | | |
280 | 281 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
200 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
201 | 209 | | |
202 | 210 | | |
203 | 211 | | |
204 | 212 | | |
205 | 213 | | |
206 | 214 | | |
207 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
208 | 220 | | |
209 | 221 | | |
210 | 222 | | |
| |||
216 | 228 | | |
217 | 229 | | |
218 | 230 | | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
219 | 235 | | |
220 | 236 | | |
221 | 237 | | |
| |||
0 commit comments