TRIQS / dft_tools

Interface to DFT codes
https://triqs.github.io/dft_tools
Other
40 stars 38 forks source link

Small bug in `SumkDFTTools.spaghettis(mesh=mesh)` #193

Closed jrhui closed 2 years ago

jrhui commented 2 years ago

In SumkDFTTools.spaghettis(), SK.lattice_gf() is called. Inside SK.lattice_gf() G_lattice will be used if exists. However when the mesh passed into spaghettis() is inconsistence with G_lattice.mesh, the result will be wrong.

the-hampel commented 2 years ago

Hi @zhl-95,

the problem is known and will be fixed with this PR: #177 . We can only merge it after we release the next version of triqs, because the PR will break backward compatibility. if you want to, you can try the PR with this git repo / fork: https://github.com/jkarp314/dft_tools/tree/sumk_mesh

Thanks for reporting this. I will keep the issue open until we merged the PR.

Best regards, Alex

the-hampel commented 2 years ago

This should be fixed now with #177 being merged into unstable.