triqs_modest.module.double_counting

triqs_modest.module.double_counting()

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

[1] (density_matrix: ndarray[ndarray[complex, 2], 2],
     U_int: float,
     J_hund: float,
     method: str)
  -> tuple[ndarray[ndarray[float, 2], 2], ndarray[float, 2]]

compute double counting correction for a dc_type (method) from the density matrix of a Green’s function.


Parameters
density_matrix:

the density matrix [orbital, spin] indices

U_int:

Coulomb interaction parameter

J_hund:

Hund’s coupling interaction parameter

method:

dc_formula (sFLL, cFLL, sAMF, cAMF, cHeld)


Returns

A pair of Σ_DC and E_DC