triqs_dft_tools.block_structure.BlockStructure.create_matrix

BlockStructure.create_matrix(ish=0, space='solver', dtype=<class 'complex'>)[source]

Create a zero matrix having the correct structure.

For space='solver', the structure is according to gf_struct_solver, else according to gf_struct_sumk.

Parameters:
ishint

shell index If space='solver', the index of the of the inequivalent correlated shell, if space='sumk', the index of the correlated shell

space‘solver’ or ‘sumk’

which space the structure should correspond to