nrgljubljana_interface.solver_core.SolverCore.read_structure

SolverCore.read_structure()

Dispatched C++ function(s).

[1] (filename: str, mandatory: bool)
  -> [tuple[str, int]]

Read the block structure of Green’s function objects from a file.

Parameters:
filenamestr

File describing the block (gf) structure.

mandatorybool

If true, a missing file is an error.

Returns:
[tuple[str, int]]

The Green’s function block structure.