TRIQS/triqs_modest 3.3.0
Brillouin zone summation
Loading...
Searching...
No Matches
Densities and Chemical Potentials

Detailed Description

Functions to calculate the total electron density of lattice Green's functions using different methods and methods for chemical potenital searching given a target density.

Functions

template<typename Mesh >
double triqs::modest::density (one_body_elements_on_grid const &obe, double mu, block2_gf< Mesh, matrix_valued > const &Sigma_dynamic, nda::array< nda::matrix< dcomplex >, 2 > const &Sigma_static)
 Compute the density of the lattice Green's function with a self-energy using Woodbury.
 
template<typename Mesh >
double triqs::modest::density (one_body_elements_tb const &obe, double mu, block2_gf< Mesh, matrix_valued > const &Sigma_dynamic, nda::array< nda::matrix< dcomplex >, 2 > const &Sigma_static, triqs::lattice::bz_int_options const &opt)
 Compute the density of the lattice Green's function with a self-energy.
 
template<typename Mesh >
double triqs::modest::find_chemical_potential (double const target_density, one_body_elements_on_grid const &obe, block2_gf< Mesh, matrix_valued > const &Sigma_dynamic, nda::array< nda::matrix< dcomplex >, 2 > const &Sigma_static, std::string method="dichotomy", double precision=1.e-5, bool verbosity=true)
 Find the chemical potenital from the local Green's function and self-energy given a target density.
 
double triqs::modest::find_chemical_potential (double const target_density, one_body_elements_on_grid const &obe, double beta, std::string method="dichotomy", double precision=1.e-5, bool verbosity=true)
 Find the chemical potenital from the local Green's function given a target density.
 
template<typename Mesh >
double triqs::modest::find_chemical_potential (double const target_density, one_body_elements_tb const &obe, block2_gf< Mesh, matrix_valued > const &Sigma_dynamic, nda::array< nda::matrix< dcomplex >, 2 > const &Sigma_static, triqs::lattice::bz_int_options const &opt, std::string method="dichotomy", double precision=1.e-5, bool verbosity=true)
 Find the chemical potenital from the local Green's function and self-energy given a target density.
 
template<typename Mesh >
double triqs::modest::find_chemical_potential (double const target_density, one_body_elements_tb const &obe, Mesh const &mesh, triqs::lattice::bz_int_options const &opt, std::string method="dichotomy", double precision=1.e-5, bool verbosity=true)
 Find the chemical potenital from the local Green's function and self-energy given a target density.
 

Function Documentation

◆ density() [1/2]

template<typename Mesh >
double triqs::modest::density ( one_body_elements_on_grid const &  obe,
double  mu,
block2_gf< Mesh, matrix_valued > const &  Sigma_dynamic,
nda::array< nda::matrix< dcomplex >, 2 > const &  Sigma_static 
)

#include <triqs_modest/density.hpp>

Compute the density of the lattice Green's function with a self-energy using Woodbury.

Template Parameters
MeshThe mesh type
Parameters
obeThe one-body elements.
muThe chemical potential.
Sigma_dynamicThe dynamic part of the embedded self-energy.
Sigma_staticThe static part of the embedded self-energy.
Returns
The electron density of the lattice Gren's function

Definition at line 93 of file density.hpp.

◆ density() [2/2]

template<typename Mesh >
double triqs::modest::density ( one_body_elements_tb const &  obe,
double  mu,
block2_gf< Mesh, matrix_valued > const &  Sigma_dynamic,
nda::array< nda::matrix< dcomplex >, 2 > const &  Sigma_static,
triqs::lattice::bz_int_options const &  opt 
)

#include <triqs_modest/obe_tb.hpp>

Compute the density of the lattice Green's function with a self-energy.

Template Parameters
Mesh
Parameters
obeThe one-body elements.
muThe chemical potential.
Sigma_dynamicThe dynamic part of the embedded self-energy.
Sigma_staticThe static part of the embedded self-energy.
optContainer for options related integration of the BZ
Returns
density

Definition at line 168 of file obe_tb.hpp.

◆ find_chemical_potential() [1/4]

template<typename Mesh >
double triqs::modest::find_chemical_potential ( double const  target_density,
one_body_elements_on_grid const &  obe,
block2_gf< Mesh, matrix_valued > const &  Sigma_dynamic,
nda::array< nda::matrix< dcomplex >, 2 > const &  Sigma_static,
std::string  method = "dichotomy",
double  precision = 1.e-5,
bool  verbosity = true 
)

#include <triqs_modest/density.hpp>

Find the chemical potenital from the local Green's function and self-energy given a target density.

Template Parameters
MeshThe mesh type
Parameters
target_densityThe total electron density.
obeThe one-body elements.
Sigma_dynamicThe dynamic part of the embedded self-energy.
Sigma_staticThe static part of the embedded self-energy.
methodThe root finding method to use (default = dichotomy).
precisionThe precision to end search (default = 1e-5).
verbosityPrinting of the root finder's progress (default = true).
Returns
chemical potential corresponding to target density

Definition at line 220 of file density.hpp.

◆ find_chemical_potential() [2/4]

double triqs::modest::find_chemical_potential ( double const  target_density,
one_body_elements_on_grid const &  obe,
double  beta,
std::string  method = "dichotomy",
double  precision = 1.e-5,
bool  verbosity = true 
)
inline

#include <triqs_modest/density.hpp>

Find the chemical potenital from the local Green's function given a target density.

Parameters
target_densityThe total electron density.
obeThe one-body elements.
betaThe inverse temperature (units 1/eV).
methodThe root finding method to use (default = dichotomy).
precisionThe precision to end search (default = 1e-5).
verbosityPrinting of the root finder's progress (default = true).
Returns
chemical potential corresponding to target density

Definition at line 199 of file density.hpp.

◆ find_chemical_potential() [3/4]

template<typename Mesh >
double triqs::modest::find_chemical_potential ( double const  target_density,
one_body_elements_tb const &  obe,
block2_gf< Mesh, matrix_valued > const &  Sigma_dynamic,
nda::array< nda::matrix< dcomplex >, 2 > const &  Sigma_static,
triqs::lattice::bz_int_options const &  opt,
std::string  method = "dichotomy",
double  precision = 1.e-5,
bool  verbosity = true 
)

#include <triqs_modest/obe_tb.hpp>

Find the chemical potenital from the local Green's function and self-energy given a target density.

Template Parameters
Mesh
Parameters
target_densityThe total electron density.
obeThe one-body elements
Sigma_dynamicThe dynamic part of the embedded self-energy.
Sigma_staticThe static part of the embedded self-energy.
optContainer for options related integration of the BZ
methodThe root finding method to use (default = dichotomy).
precisionThe precision to end search (default = 1e-5).
verbosityPrinting of the root finder's progress (default = true).
Returns
Chemical potential

Definition at line 200 of file obe_tb.hpp.

◆ find_chemical_potential() [4/4]

template<typename Mesh >
double triqs::modest::find_chemical_potential ( double const  target_density,
one_body_elements_tb const &  obe,
Mesh const &  mesh,
triqs::lattice::bz_int_options const &  opt,
std::string  method = "dichotomy",
double  precision = 1.e-5,
bool  verbosity = true 
)

#include <triqs_modest/obe_tb.hpp>

Find the chemical potenital from the local Green's function and self-energy given a target density.

Template Parameters
Mesh
Parameters
target_densityThe total electron density.
obeThe one-body elements
meshThe mesh on which Gloc will be computed
optContainer for options related integration of the BZ
methodThe root finding method to use (default = dichotomy).
precisionThe precision to end search (default = 1e-5).
verbosityPrinting of the root finder's progress (default = true).
Returns
Chemical potential

Definition at line 224 of file obe_tb.hpp.