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_sizelist of 3 integers
the dimensions of the mesh
- kmesh_modeinteger
mesh generation mode (right now, only full grid available)
- Returns:
- n_kinteger
total number of k-points in the mesh
- kptsnp.ndarray[n_k, 3] of floats
the coordinates of all k-points
- kpt_weightsnp.ndarray[n_k] of floats
the weight of each k-point