TRIQS / cthyb

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

Allow the user to provide Delta_tau and Delta_infty instead of G0_iw #141

Closed jkarp314 closed 3 years ago

jkarp314 commented 3 years ago

I added a parameter from_Delta that is by default false. If it's true then G0_iw is ignored and Delta_tau and Delta_infty have to be provided by the user.

Delta_tau and Delta_infty are checked to make sure they are real in either case.

jkarp314 commented 3 years ago

Issue #91

jkarp314 commented 3 years ago

I made _G0_iw a std::optional object so that it's only initialized and accessed if from_Delta = false

jkarp314 commented 3 years ago

I think everything is ready now.

@Wentzell how does it look?

Wentzell commented 3 years ago

This was merged in 7bc20bd, with a number of related code changes and refactorings in 660194f