triqs.sumk.sumk_discrete_from_lattice.SumkDiscreteFromLattice
- class triqs.sumk.sumk_discrete_from_lattice.SumkDiscreteFromLattice(lattice, patch=None, n_points=8, method='Riemann')[source]
Computes
\[G \leftarrow \sum_k (\omega + \mu - \epsilon_k - \Sigma(k,\omega))^{-1}\]for GF functions with blocks of the size of the matrix eps_k with a discrete sum.
The object 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 (ReComputeGrid) for a regular grid or a Gauss-Legendre sum for the whole Brillouin Zone or a patch of the BZ.
Methods
|
(Re)Computes the grid on the patch given at construction: |
|
|
|
Returns the number of k points |
|
Just constructs the arrays, but without initializing them - nk: total number of k points |
Attributes
Returns the ONLY block indices accepted for the G and Sigma argument of the SumK function |