Skip to content

stb-kgrid

K-Grid Generator · menu code 1.3 · guide: 1.3 K-Grid Generator

usage: stb-kgrid [-h] -f STRUCTURE_FILE -d DENSITY [--vacuum-gap VACUUM_GAP] [-v]
                 [--no-intro]

Compute a Monkhorst-Pack k-point grid from a SIESTA structure file (.fdf) and a target k-point density.

options:
  -h, --help            show this help message and exit
  -f STRUCTURE_FILE, --file STRUCTURE_FILE
                        Path to the SIESTA structure file (.fdf).
  -d DENSITY, --density DENSITY
                        Target k-point density (in 1/Ang). Example: 0.2
  --vacuum-gap VACUUM_GAP
                        Minimum empty span (in Angstrom) between atoms along an axis,
                        wrapped periodically, to treat that axis as vacuum-padded
                        (non-periodic) and force a single k-point there regardless of
                        density. Default: 10.0
  -v, --version         show program's version number and exit
  --no-intro            Do not show the introduction

Usage examples:
  stb-kgrid -f structure.fdf -d 0.2
  stb-kgrid -f slab.fdf -d 0.2 --vacuum-gap 15