tbplas.gen_kmesh

tbplas.gen_kmesh(grid_size: Tuple[int, int, int]) ndarray

Generate uniform mesh grid in the first Brillouin zone.

Parameters:

grid_size – (na, nb, nc) dimension of mesh grid along three directions

Returns:

(na*nb*nc, 3) float64 array fractional coordinates of kpoints in the grid

Raises:

ValueError – if len(grid_size) != 3