triqs_dft_tools.converters.wannier90.build_kmesh
- triqs_dft_tools.converters.wannier90.build_kmesh(kmesh_size, kmesh_mode=0)[source]
Method for the generation of the k-point mesh. Right now it only supports the option for generating a full grid containing k=0,0,0.
- Parameters:
kmesh_size : list of 3 integers
the dimensions of the mesh
kmesh_mode : integer
mesh generation mode (right now, only full grid available)
- Returns:
n_k : integer
total number of k-points in the mesh
kpts : np.ndarray[n_k, 3] of floats
the coordinates of all k-points
kpt_weights : np.ndarray[n_k] of floats
the weight of each k-point