Re-exports§
pub use crate::error::TbError;pub use crate::error::Result;pub use crate::kpoints::gen_kmesh;pub use crate::kpoints::gen_krange;pub use crate::atom_struct::Atom;pub use crate::atom_struct::OrbProj;pub use crate::SKmodel::SkAtom;pub use crate::SKmodel::SkParams;pub use crate::SKmodel::SlaterKosterModel;pub use crate::SKmodel::ToTbModel;pub use crate::wannier90::*;
Modules§
- SKmodel
- atom_
struct - basis
- Core implementation of tight-binding model operations and Hamiltonian construction.
- conductivity
- Calculation of linear and nonlinear conductivity tensors using Kubo formalism.
- error
- src/error.rs This module defines the custom error types for the entire tight-binding library. By using a centralized error enum, we can replace all panics with recoverable Results, making the library safer and more robust for consumers.
- generics
- 这个是给程序提供泛型支持的模块
- geometry
- 这个模块是用wilson loop 的方法来计算各种几何量.
- kpoints
- k-point generation and Brillouin zone sampling utilities.
- math
- model_
struct - ndarray_
lapack - 这个模块是用来求解大矩阵的部分本征值的模块, 用的lapackc的 cheevx 等函数求解.
- output
- 这个模块是用来输出各种标准格式的, 包括
- phy_
const - surfgreen
- Surface Green’s function calculations for semi-infinite systems.
- wannier90
Structs§
- Model
- Rustb - Tight-Binding Model Library
Enums§
Functions§
- anti_
comm - 做 $\{A,B\}$ 反对易操作
- comm
- 做 $\{A,B\}$ 对易操作
- draw_
heatmap - 这个函数是用来画热图的, 给定一个二维矩阵, 会输出一个像素图片
- write_
txt - write_
txt_ 1