triqs_modest.module.density

triqs_modest.module.density()

Function dispatched to the following (C++) functions:

[1] (obe: OneBodyElementsOnGrid,
     mu: float,
     Sigma_dynamic: Block2Gf[MeshImFreq, 2],
     Sigma_static: ndarray[ndarray[complex, 2], 2])
  -> float

[2] (obe: OneBodyElementsTb,
     mu: float,
     Sigma_dynamic: Block2Gf[MeshImFreq, 2],
     Sigma_static: ndarray[ndarray[complex, 2], 2],
     opt: BzIntOptions)
  -> float

[0] Compute the density of the lattice Green’s function with a self-energy using Woodbury.


[1] Compute the density of the lattice Green’s function with a self-energy.


Parameters
obe:

The one-body elements.

mu:

The chemical potential.

Sigma_dynamic:

The dynamic part of the embedded self-energy.

Sigma_static:

The static part of the embedded self-energy.

opt:

Container for options related integration of the BZ


Returns

[0] The electron density of the lattice Gren’s function

[1] density