triqs.experimental.lattice.lattice.TbHk.get_R_idx

TbHk.get_R_idx()

Dispatched C++ function(s).

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

Get the storage index of a given R-vector.

It throws an exception if the R-vector is not present.

Parameters:
R[int, len = 3]

Lattice vector \(\mathbf{R}\).

Returns:
int

Storage index of R in the list of R-vectors.