triqs_dft_tools.block_structure.BlockStructure.full_structure

classmethod BlockStructure.full_structure(gf_struct, corr_to_inequiv)[source]

Construct structure that maps to itself.

This has the same structure for sumk and solver, and the mapping solver_to_sumk and sumk_to_solver is one-to-one.

Parameters:
gf_structlist of dict

gf_struct[ish][block] = block dimension of that block

for (inequivalent) correlated shell ish

corr_to_inequivlist

gives the mapping from correlated shell csh to inequivalent correlated shell icsh, so that corr_to_inequiv[csh]=icsh e.g. SumkDFT.corr_to_inequiv

if None, each inequivalent correlated shell is supposed to be correspond to just one correlated shell with the same index; there is not default, None has to be set explicitly!