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 togf_struct_solver, else according togf_struct_sumk.- Parameters:
- ishint
shell index If
space='solver', the index of the of the inequivalent correlated shell, ifspace='sumk', the index of the correlated shell- space‘solver’ or ‘sumk’
which space the structure should correspond to