NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ green_equilibrium()

template<typename T , class dos_function >
void cntr::green_equilibrium ( herm_matrix< T > &  G,
dos_function &  dos,
double  beta,
double  h,
double  mu,
int  limit,
int  nn 
)

Equilibrium propagator for the given density of states

Purpose

Calculate the equilibrium propagator G for the given density of states via \(G(t,t') = -i \int d\omega A(\omega+\mu) exp(i\omega (t'-t)) [ \Theta(t,t') - \Theta(t',t)exp(-\beta*\omega)]\)

Parameters
G

The output Greens function set to the equilibrium free propagator

dos

density of states

beta

inverse temperature

h

timestep

mu

chemical potential

limit

max number of intervals in Fourier transform (default: 100)

nn

number of points in each interval of the Fourier transform (default: 20)

Definition at line 544 of file cntr_equilibrium_impl.hpp.

References green_equilibrium_mat().

545 {
546  green_equilibrium_mat(G,dos,beta,limit,nn,mu);
547  green_equilibrium_ret(G,dos,h,limit,nn,mu);
548  green_equilibrium_tv(G,dos,beta,h,limit,nn,mu);
549  green_equilibrium_les(G,dos,beta,h,limit,nn,mu);
550 }
void green_equilibrium_mat(herm_matrix< T > &G, dos_function &dos, double beta, int limit=100, int nn=20, double mu=0.0)
+ Here is the call graph for this function: