triqs.mesh.meshes.MeshBrZone.index_modulo

MeshBrZone.index_modulo()

Dispatched C++ function(s).

[1] (n_tilde: [int, len = 3])
  -> [int, len = 3]

Map an arbitrary index \(\tilde{\mathbf{n}}\) to the unique index \(\mathbf{n}\) in the first BZ.

Parameters:
n_tilde[int, len = 3]

Index \(\tilde{\mathbf{n}}\) to map back to the first BZ.

Returns:
[int, len = 3]

Corresponding index \(\mathbf{n}\) in the first BZ such that \(\tilde{\mathbf{n}} = \mathbf{n} + \mathbf{N} \mathbf{m}\).