triqs.gfs.descriptor_base.Const.__call__

Const.__call__(G)[source]

Fill G.data with the stored constant on every mesh point.

Parameters:
GGf

Target Green’s function on a frequency mesh (modified in place).

Returns:
Gf

G.

Raises:
TypeError

If G.mesh is not a frequency mesh.

RuntimeError

If the stored constant has a shape incompatible with G.target_shape.