triqs_dft_tools.block_structure.BlockStructure.create_gf
- BlockStructure.create_gf(ish=0, gf_function=<class 'triqs.gf.gf.Gf'>, space='solver', **kwargs)[source]
Create a zero BlockGf having the correct structure.
For
space='solver'
, the structure is according togf_struct_solver
, else according togf_struct_sumk
.Default constructor is Gf which needs a mesh to be provided along. When using GfImFreq as gf_function, you have to supply at least beta as keyword argument.
- Parameters:
- ishint
shell index If
space='solver'
, the index of the of the inequivalent correlated shell, ifspace='sumk'
, the index of the correlated shell- gf_functionconstructor
function used to construct the Gf objects constituting the individual blocks; default: Gf
- space‘solver’ or ‘sumk’
which space the structure should correspond to
- **kwargs
options passed on to the Gf constructor for the individual blocks