triqs_modest.module.DcSolver.dc_energy

DcSolver.dc_energy()

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

[1] (gimp: BlockGf[MeshImFreq, 2])
  -> ndarray[float, 2]

Compute the double counting correction to the energy.


Parameters
gimp:

The impurity Green’s function which is used to calculate the orbital-resolved density matrices to evaluate the double counting formula.


Returns

Double counting energy term