Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GF_Bloc_ImFreq::density() returns NaN for bosonic GF's #69

Open
krivenko opened this issue Jun 19, 2012 · 0 comments
Open

GF_Bloc_ImFreq::density() returns NaN for bosonic GF's #69

krivenko opened this issue Jun 19, 2012 · 0 comments

Comments

@krivenko
Copy link
Contributor

GF_Bloc_ImFreq::density() constantly returns 'not a number' values for a bosonic GF.
There is a line in the code (triqs/gf_local/GF_Bloc_ImFreq.cpp, line 63):

dens_part(n1,n2)+= data(n1,n2,om)  -  (a1/(om1 - b1) + a2 / (om1-b2) + a3/(om1-b3));

which does a Matsubara summation of the GF's data and explicitly subtracts a tail contribution. But term (a1/(om1 - b1) (with b1=0) is affected by a zero-frequency problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant