TRIQS / cthyb

A fast and generic hybridization-expansion solver
https://triqs.github.io/cthyb
Other
21 stars 23 forks source link

set small off diagonal elements of Delta_infty to 0 #140

Closed jkarp314 closed 3 years ago

jkarp314 commented 3 years ago

I added a parameter "off_diag_threshold" which is by default 1e-13. If the off diagonal elements of Delta_infty are less than this threshold, then they are set to 0.

Wentzell commented 3 years ago

Can you also regenerate the Python bindings and commit the updated solver_core_desc.py file?

cd path_to_src/python/triqs_cthyb
c++2py -r solver_core_desc.py
jkarp314 commented 3 years ago

@Wentzell I think I've dealt with all of your comments and suggestions. How does it look now?