GFmatrix

The module ED_GFMATRIX contains a class to efficiently store the dynamical correlation functions in terms residuals of the Kallen-Lehmann representation.

Description

Contains definition of the gfmatrix class. This constains all the weights and poles of the dynamical correlation functions in the sub-classes gfspectrum and gfchannel. This is one of the key results of the calculation, used to generate the Green's functions and the related Self-energy on any given array of points in the complex frequency plane \(z\in\mathbb{C}\).

Quick access

Types:

gfspectrum, gfchannel, gfmatrix

Routines:

allocate_gfmatrix(), deallocate_gfmatrix(), read_gfmatrix()

Used modules

External modules

Types

type  ed_gfmatrix/gfspectrum

Sub-Class containins the actual weight and the poles in two separate rank-1 array.

Type fields:
  • weight (•) [complex, allocatable]

  • poles (•) [real, allocatable]

type  ed_gfmatrix/gfchannel

Sub-class containing a given set of gfspectrum weights and poles. Each instance of this class correponds to a given input state and a given operator in the Kallen-Lehman representation.

Type fields:
type  ed_gfmatrix/gfmatrix

Type storing all the weights and poles of a given dynamical correlation function, mostly Green's functions, obtained through the dynamical Lanczos algorithm. This structure is used to evalaute on-the-fly any given dynamical function at any point in the complex frequency plane using additional procedures contained in the EDIpack2 library.

Type fields:
  • state (•) [gfchannel, allocatable]

  • status [logical]

Subroutines and functions

interface  ed_gfmatrix/allocate_gfmatrix(self, nstate, istate, nchan, ichan, nexc)

Class interface to allocate the internal components of the gfmatrix type

Parameters:
  • self [gfmatrix]

  • nstate [integer]

  • istate [integer]

  • nchan [integer]

  • ichan [integer]

  • nexc [integer]

interface  ed_gfmatrix/deallocate_gfmatrix(self)

Class interface to deallocate the gfmatrix type and all its components.

Parameters:

self (various shapes) [gfmatrix]

interface  ed_gfmatrix/read_gfmatrix(self, file)

Class interface to read the gfmatrix from a given unit

Parameters:
  • self [real]

  • file [character(len=*)]