stb-hirshfeldPrep¶
Stage 1 - Neutral Prep of the 5.17 Hirshfeld-I Charge Partitioning workflow · menu code 5.17.1
usage: stb-hirshfeldPrep [-h] [-s STRUCTURE] [--calc CALC] [--mesh-cutoff RY]
[--vacuum ANG] [-p PSEUDO_DIR] [-O OUTPUT_DIR] [--no-intro]
[-v]
Stage 1 of the Hirshfeld-I (iterative) charge-partitioning workflow: writes a combined/ folder (the full system, forced to a single-point SaveRho-true evaluation) plus one isolated-atom-in-vacuum-box folder per chemical species -- everything needed before stb-hirshfeldIons (Stage 2) can decide each species' ion sign. Nothing needs to be pre-computed.
options:
-h, --help show this help message and exit
-s STRUCTURE, --structure STRUCTURE
Path to the combined/production system's own .fdf structure file (structure_io.read_fdf). Default: 'structure.fdf'.
--calc CALC SIESTA input template (.fdf) -- same basis/XC/pseudopotential directives used for combined/ and every isolated-atom folder (default: 'calc.fdf'). Cell, single-point/MD, MeshCutoff and SaveRho are all overridden by this tool's own config_extra.fdf regardless of what's in this template; k-grid/Spin/dipole/vdW are left untouched for combined/, and forced Gamma-only + spin-polarized for every isolated-atom folder.
--mesh-cutoff RY Explicit MeshCutoff (Ry) to force in combined/ and every isolated-atom folder. Default: 400 Ry.
--vacuum ANG Cubic vacuum-box side (Ang) for every isolated atom -- must be large enough that the atom's own density has decayed to ~0 well before the box edge. Default: 20 Ang.
-p PSEUDO_DIR, --pseudo-dir PSEUDO_DIR
Pseudopotentials source: a bundled bank (dojo[-sr|-fr|-sr3plus][-pbe|-pbesol|-pw][-standard|-stringent], virtual_vault) or a folder path. Default: reuse the directory --structure lives in, which already has every pseudopotential the combined calculation needed.
-O OUTPUT_DIR, --output-dir OUTPUT_DIR
Root directory to write combined/ and neutral/<species>/ into (default: hirshfeld_study).
--no-intro Do not show the introduction
-v, --version show program's version number and exit
Usage example:
stb-hirshfeldPrep --structure structure.fdf --calc calc.fdf -p dojo --output-dir hirshfeld_study