triqs.gfs.gf_fnt.gf_fnt_misc.enforce_discontinuity

triqs.gfs.gf_fnt.gf_fnt_misc.enforce_discontinuity()

Dispatched C++ function(s).

[1] (gl: Gf[MeshLegendre, 2], disc: ndarray[float, 2])
  -> void

Enforce a prescribed jump at \(\tau = 0\) for a Legendre Green’s function.

The Legendre coefficients are adjusted in place so that the corresponding imaginary-time Green’s function has the specified discontinuity \(G(0^+) - G(0^-)\) at \(\tau = 0\) (which equals \(-1\) for a fermionic propagator). Coefficients above the constrained subspace are left unchanged.

Parameters:
glGf[MeshLegendre, 2]

Legendre Green’s function modified in place.

discndarray[float, 2]

Target discontinuity at \(\tau = 0\).