KSPACING

From VASP Wiki
Revision as of 07:13, 3 October 2023 by Huebsch (talk | contribs)

KSPACING = [real]
Default: KSPACING = 0.5 

Description: The tag KSPACING determines the number of k points if the KPOINTS file is not present.


KSPACING is the smallest allowed spacing between k points in units of . 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 with being the ceiling function which returns the least integer that is equal or larger than . In this equation, are the reciprocal lattice vectors . The generated grid is centered at the point if KGAMMA=True (default), i.e., includes the point. For KGAMMA=False, the grid is shifted away from the point as done for Monkhorst-Pack grids.

Mind: This implementation is not entirely identical with the deprecated automatic k-point generation used in the KPOINTS file.

If the k points are generated using the automatic mode in the KPOINTS file, is calculated as with and rounding it to the nearest integer. We recommend using the KSPACING tag in the INCAR file and avoiding the automatic mode via the KPOINTS file.

Related tags and articles

KGAMMA, KPOINTS

Examples that use this tag