9#include "triqs/gfs.hpp"
27 std::pair<double, double>
dc_formulas(std::string
const method,
double const N_tot,
double const N_sigma,
long const n_orb,
double const U,
38 std::pair<nda::array<nda::matrix<double>, 2>, nda::matrix<double>>
double_counting(nda::array<nda::matrix<dcomplex>, 2>
const &density_matrix,
39 double U_int,
double J_hund, std::string
const method);
66 nda::array<nda::matrix<double>, 2> get_density_matrix_from_gf(block_gf<imfreq, matrix_valued>
const &gimp);
77 dc_solver(
long n_sigma, std::string method,
double U_int,
double J_hund);
85 std::vector<nda::matrix<dcomplex>>
dc_self_energy(block_gf<imfreq, matrix_valued>
const &gimp);
93 nda::matrix<double>
dc_energy(block_gf<imfreq, matrix_valued>
const &gimp);
Double counting "solver" implements the double counting correction for DFT+DMFT, which is a phenomenl...
std::vector< nda::matrix< dcomplex > > dc_self_energy(block_gf< imfreq, matrix_valued > const &gimp)
Compute the double-counting self-energy.
nda::matrix< double > dc_energy(block_gf< imfreq, matrix_valued > const &gimp)
Compute the double counting correction to the energy.
std::pair< double, double > dc_formulas(std::string const method, double const N_tot, double const N_sigma, long const n_orb, double const U, double const J)
double counting formulas parameterized by density, U, and J
std::pair< nda::array< nda::matrix< double >, 2 >, nda::matrix< double > > double_counting(nda::array< nda::matrix< dcomplex >, 2 > const &density_matrix, double U_int, double J_hund, std::string const method)
compute double counting correction for a dc_type (method) from the density matrix of a Green's functi...