triqs.mesh.meshes.MeshReFreq.to_index

MeshReFreq.to_index()

Dispatched C++ function(s).

[1] (d: int)
  -> int

Map a data index \(d \in \{0, 1, \ldots, N-1\}\) to the corresponding index \(n(d)\).

Parameters:
dint

Data index \(d\) to map.

Returns:
int

Index \(n(d) = d\).