triqs.gfs.gf.Gf.rank

property Gf.rank

Mesh rank — number of mesh axes.

Returns:
int

1 for a single mesh, otherwise len(mesh.components) for a MeshProduct.