triqs.gfs.descriptor_base.Const.__call__
- Const.__call__(G)[source]
Fill
G.datawith 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.meshis not a frequency mesh.- RuntimeError
If the stored constant has a shape incompatible with
G.target_shape.