TRIQS/triqs_modest 3.3.0
Brillouin zone summation
Loading...
Searching...
No Matches
double_counting.cpp File Reference
#include <utility>
#include "./double_counting.hpp"
#include "utils/enumerate_slice.hpp"

Go to the source code of this file.

Namespaces

namespace  triqs
 
namespace  triqs::modest
 

Functions

std::pair< double, double > triqs::modest::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 > > triqs::modest::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 function.
 
nda::matrix< double > triqs::modest::double_counting_energy_dc (nda::array< nda::matrix< dcomplex >, 2 > const &density_matrix, double U_int, double J_hund, std::string const method)
 
nda::array< nda::matrix< double >, 2 > triqs::modest::double_counting_sigma_dc (nda::array< nda::matrix< dcomplex >, 2 > const &density_matrix, double U_int, double J_hund, std::string const method)
 
std::pair< double, nda::vector< double > > triqs::modest::get_total_density (nda::array< nda::matrix< dcomplex >, 2 > const &density_matrix)