KSPACING

KSPACING = [real] Default: KSPACING = 0.5

Description: Spacing between k points in automatically generated mesh if the KPOINTS file is not present.


KSPACING is the smallest allowed spacing between k points in units of $\displaystyle{ \AA^{-1} }$. The number of k points increases when the spacing is decreased.

The number of k points in the direction of the first, second and third reciprocal lattice vector is determined by $\displaystyle{ N_i= \mathrm{max}(1, \mathrm{ceiling}( | \mathbf{b}_i| 2\pi / \mathrm{KSPACING} )) }$, where $\displaystyle{ \mathrm{ceiling}( x ) }$ returns the least integer that is equal or larger than $\displaystyle{ x }$. Here, $\displaystyle{ \mathbf{b}_i }$ are the reciprocal lattice vectors $\displaystyle{ \mathbf{b}_i \mathbf{a}_j = \delta_{ij} }$.

The generated grid is centered at the $\displaystyle{ \Gamma }$ point if KGAMMA = T (default), i.e., includes the $\displaystyle{ \Gamma }$ point. For KGAMMA = F, the grid is shifted away from the $\displaystyle{ \Gamma }$ point as done for Monkhorst-Pack grids.

Mind: The definition of $\displaystyle{ N_i }$ is not entirely identical with the deprecated automatic k-point generation used in the KPOINTS file. We recommend using the KSPACING tag and avoiding the automatic mode via the KPOINTS file.

Tags: KGAMMA, KSPACING_OPT

Files: KPOINTS, KPOINTS_OPT

Workflows that use this tag