gem.solvers.solver_template.SolverTemplate.calc_double_occ

SolverTemplate.calc_double_occ(i)[source]

Compute the double occupancy <n_up n_dn> of the impurity level i. OPTIONAL: only needed by Gdmft.run.

Parameters:

i – int. Index of the impurity level.

Return:

docc: float. Double occupancy of the impurity level i.