triqs.sumk.sumk_discrete.SumkDiscrete

class triqs.sumk.sumk_discrete.SumkDiscrete(dim, gf_struct, orthogonal_basis=True)[source]

INTERNAL USE The function to compute [ G leftarrow sum_k (omega + mu - eps_k - Sigma(k,omega))^{-1} ] for GF functions with blocks of the size of the matrix eps_k with a discrete sum. The class contains the discretized hoppings and points in the arrays hopping, bz_points,bz_weights,mu_pattern,overlap (IF non orthogonal) It can also generate a grid (ComputeGrid) for a regular grid or a Gauss-Legendre sum.

Methods

__init__(dim, gf_struct[, orthogonal_basis])

Just constructs the arrays, but without initializing them - dim is the dimension - gf_struct: Indices of the Green function - orthogonal_basis: True by default

n_kpts()

Returns the number of k points

resize_arrays(nk)

Just constructs the arrays, but without initializing them - nk: total number of k points

Attributes

GFBlocIndices

Returns the ONLY block indices accepted for the G and Sigma argument of the SumK function