GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — vaspkit-python/band/README.md at main · moyulyy/vaspkit-python

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
97 lines (67 loc) · 2.85 KB
/

README.md

Copy path

File metadata and controls

97 lines (67 loc) · 2.85 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

band/ — 能带结构、K 路径与带隙

对应 vaspkit 1.5.1 的 Band Options(211–216)与 Hybrid Band(250–257)。

输入

  • EIGENVAL:必须;支持 ISPIN=1/2。
  • POSCAR:用于倒格矢与 K 路径长度。
  • KPOINTS / KPATH.in:Line-mode 时可自动生成 KLABELS。
  • 费米能级:优先 --fermi,其次 FERMI_LEVEL.in / FERMI_LEVEL, 再次 OUTCAR 的 E-fermi;都没有时取 0。

子命令

bands

python band/run_band.py bands --eigenval EIGENVAL --poscar POSCAR --kpoints KPATH.in

输出:

文件 内容
BAND.dat vaspkit 格式,按 band 分块,能量相对 E_F
BAND-REFORMATTED.dat 每个 k 点一行,列为各能级(相对 E_F,3 位小数)
KLABELS 高对称点名称与路径坐标
KLINES.dat 画竖线用的路径端点
FERMI_LEVEL 使用的费米能级

自旋极化时输出 BAND_UP.dat / BAND_DOWN.dat 与对应的 BAND-REFORMATTED_UP/DOWN.dat。

K 路径坐标用 2π·A⁻¹ 倒格矢计算,单位为 Å⁻¹。例如 GaAs 原胞的 Γ→X 得到 1.153 Å⁻¹,与 vaspkit 的 KLABELS 完全一致。

gap

python band/run_band.py gap --eigenval EIGENVAL

输出 BAND_GAP.dat:

#spin VBM(eV) CBM(eV) VBM_k CBM_k gap_indirect(eV) gap_direct(eV) character
  • 占据判据:occupation > 0.5;
  • gap_indirect = min(CBM) - max(VBM);
  • gap_direct = min_k (E_c(k) - E_v(k));
  • 若 CBM <= VBM,判为金属,带隙记 0。

mass

python band/run_band.py mass --eigenval EIGENVAL --band 7 --kpoint 0 --window 3

对 E(k) 在指定 k 点附近做二次拟合:

E(k) = a (k-k0)^2 + b (k-k0) + c
m*/m_e = (ħ²/m_e) / (2a),   ħ²/m_e = 7.619964 eV·Å²

结果是沿当前 K 路径的有效质量;对三维各向异性体系应分别沿不同方向取路径。

reformat

python band/run_band.py reformat BAND.dat

把已有的 BAND.dat 转成 BAND-REFORMATTED.dat(每个 k 点内能级升序), 方便与旧脚本或 vaspkit 输出衔接。

验证

examples/hybrid_DFT_band/KPATH.in + POSCAR 生成的高对称点路径:

Γ 0.000 | X 1.153 | U 1.560 | Γ 2.783 | L 3.781 | W 4.597 | X 5.173

与参考 KLABELS 完全一致。对 examples/hybrid_DFT_band/EIGENVAL (199 k 点 × 144 带)解析得到 VBM −0.390 eV、CBM 1.886 eV、 间接隙 2.276 eV、直接隙 2.825 eV。

注意:该示例目录中的 BAND.dat 与 EIGENVAL 来自不同计算(能带数与 k 点数不同),因此不能逐值互相对照;reformat 只用于验证格式与排序。

限制

  • EIGENVAL 的占位判据是 0.5,未处理部分占据/金属展宽;
  • 有效质量是沿路径的一维拟合,不是三维张量;
  • 投影能带(vaspkit 212–216)需要 PROCAR,本模块暂未实现。
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.