triqs.operators.util.op_struct

Functions

get_mkind(off_diag, map_operator_structure)

Set function that makes the index for operators and GF blocks for a given spin and orbital name.

set_operator_structure(spin_names, n_orb, ...)

Set the operator_structure for given spin and orbital names, according to whether or not the Green's functions contain off-diagonal blocks.