Commit 4baa8af
Feature: Add deepks_out_base to support simultaneous output of numpy files of base and target functionals (deepmodeling#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 0680c75 commit 4baa8af
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 | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
280 | 281 | | |
281 | 282 | | |
282 | 283 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
222 | 223 | | |
223 | 224 | | |
224 | 225 | | |
225 | | - | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
226 | 234 | | |
227 | 235 | | |
228 | 236 | | |
229 | 237 | | |
230 | 238 | | |
231 | 239 | | |
232 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
233 | 245 | | |
234 | 246 | | |
235 | 247 | | |
| |||
241 | 253 | | |
242 | 254 | | |
243 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
244 | 260 | | |
245 | 261 | | |
246 | 262 | | |
| |||
0 commit comments