mirror of
https://github.com/triqs/dft_tools
synced 2025-01-03 10:05:49 +01:00
use mesh from Sigma instead of Sumk in lattice_gf
This commit is contained in:
parent
1e7c66805f
commit
fc893a0f48
@ -543,12 +543,12 @@ class SumkDFT(object):
|
|||||||
sigma_minus_dc = [s.copy() for s in Sigma_imp]
|
sigma_minus_dc = [s.copy() for s in Sigma_imp]
|
||||||
if with_dc:
|
if with_dc:
|
||||||
sigma_minus_dc = self.add_dc()
|
sigma_minus_dc = self.add_dc()
|
||||||
if isinstance(self.mesh, MeshReFreq) and broadening > 0 and mpi.is_master_node():
|
mesh = Sigma_imp[0].mesh
|
||||||
|
if isinstance(mesh, MeshReFreq) and broadening > 0 and mpi.is_master_node():
|
||||||
warn('lattice_gf called with Sigma and broadening > 0 (broadening = {}). You might want to explicitly set the broadening to 0.'.format(broadening))
|
warn('lattice_gf called with Sigma and broadening > 0 (broadening = {}). You might want to explicitly set the broadening to 0.'.format(broadening))
|
||||||
elif not mesh is None:
|
elif not mesh is None:
|
||||||
mesh = MeshReFreq(mesh[0], mesh[1], mesh[2])
|
mesh = MeshReFreq(mesh[0], mesh[1], mesh[2])
|
||||||
|
else:
|
||||||
if mesh is None:
|
|
||||||
mesh = self.mesh
|
mesh = self.mesh
|
||||||
|
|
||||||
# Set up G_latt
|
# Set up G_latt
|
||||||
|
Loading…
Reference in New Issue
Block a user