triqs.mesh.meshes.MeshCycLat.index_modulo

MeshCycLat.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 supercell.

Parameters:
n_tilde[int, len = 3]

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

Returns:
[int, len = 3]

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