KSPACING: Difference between revisions
(Add missing DISPLAYTITLE; fix double space and TAG→FILE in Description; remove deprecated pre-category ----; group Related tags section) |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{TAGDEF|KSPACING|[real]|0.5}} | {{TAGDEF|KSPACING|[real]|0.5}} | ||
Description: | Description: Spacing between '''k''' points in automatically generated mesh if the {{FILE|KPOINTS}} file is not present. | ||
---- | ---- | ||
{{TAG|KSPACING}} is the smallest allowed spacing between k points in units of <math>\AA^{-1}</math>. The number of k points increases when the spacing is decreased. | {{TAG|KSPACING}} is the smallest allowed spacing between '''k''' points in units of <math>\AA^{-1}</math>. 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 <math> N_i= \mathrm{max}(1, \mathrm{ceiling}( | \mathbf{b}_i| 2\pi / \mathrm{KSPACING} ))</math> | The number of '''k''' points in the direction of the first, second and third reciprocal lattice | ||
vector is determined by <math> N_i= \mathrm{max}(1, \mathrm{ceiling}( | \mathbf{b}_i| 2\pi / \mathrm{KSPACING} ))</math>, | |||
larger than <math>x</math>. | where <math>\mathrm{ceiling}( x )</math> returns the least integer that is equal or | ||
The generated grid is centered at the <math>\Gamma</math> point if {{TAG|KGAMMA}} | larger than <math>x</math>. Here, <math> \mathbf{b}_i </math> are the reciprocal lattice vectors <math> \mathbf{b}_i \mathbf{a}_j = \delta_{ij} </math>. | ||
{{NB|mind| | |||
The generated grid is centered at the <math>\Gamma</math> point if {{TAG|KGAMMA|T}} (default), i.e., includes the <math>\Gamma</math> point. For {{TAG|KGAMMA|F}}, the grid is shifted away from the <math>\Gamma</math> point as done for Monkhorst-Pack grids. | |||
{{NB|mind|The definition of <math> N_i</math> is not entirely identical with the deprecated [[KPOINTS#Automatic_k-point_mesh|automatic k-point generation]] used in the {{FILE|KPOINTS}} file. We recommend using the {{TAG|KSPACING}} tag and avoiding the automatic mode via the {{FILE|KPOINTS}} file.}} | |||
and avoiding the automatic mode via the {{FILE|KPOINTS}} file. | |||
== Related tags and articles == | == Related tags and articles == | ||
Tags: {{TAG|KGAMMA}}, {{TAG| | Tags: {{TAG|KGAMMA}}, {{TAG|KSPACING_OPT}} | ||
Files: {{FILE|KPOINTS}} | Files: {{FILE|KPOINTS}}, {{FILE|KPOINTS_OPT}} | ||
{{sc|KSPACING| | {{sc|KSPACING|HowTo|Workflows that use this tag}} | ||
[[Category:INCAR tag]][[Category:Crystal momentum]] | [[Category:INCAR tag]][[Category:Crystal momentum]] | ||
Latest revision as of 15:05, 20 March 2026
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 [math]\displaystyle{ \AA^{-1} }[/math]. 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 [math]\displaystyle{ N_i= \mathrm{max}(1, \mathrm{ceiling}( | \mathbf{b}_i| 2\pi / \mathrm{KSPACING} )) }[/math], where [math]\displaystyle{ \mathrm{ceiling}( x ) }[/math] returns the least integer that is equal or larger than [math]\displaystyle{ x }[/math]. Here, [math]\displaystyle{ \mathbf{b}_i }[/math] are the reciprocal lattice vectors [math]\displaystyle{ \mathbf{b}_i \mathbf{a}_j = \delta_{ij} }[/math].
The generated grid is centered at the [math]\displaystyle{ \Gamma }[/math] point if KGAMMA = T (default), i.e., includes the [math]\displaystyle{ \Gamma }[/math] point. For KGAMMA = F, the grid is shifted away from the [math]\displaystyle{ \Gamma }[/math] point as done for Monkhorst-Pack grids.
| Mind: The definition of [math]\displaystyle{ N_i }[/math] 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. |
Related tags and articles
Tags: KGAMMA, KSPACING_OPT
Files: KPOINTS, KPOINTS_OPT