Crate Rustb

Source

Modules§

atom_struct
basis
这个 impl 是给 tight-binding 模型提供基础的函数.
conductivity
这个模块提供了计算各种线性和非线性的霍尔和自旋霍尔电导率的模块
generics
这个是给程序提供泛型支持的模块
geometry
这个模块是用wilson loop 的方法来计算各种几何量.
model_struct
ndarray_lapack
这个模块是用来求解大矩阵的部分本征值的模块, 用的lapackc的 cheevx 等函数求解.
output
这个模块是用来输出各种标准格式的, 包括
phy_const
surfgreen
这个模块是用来求解表面格林函数的一个模块.

Structs§

Model
This cate is used to perform various calculations on the TB model, currently including:

Enums§

Dimention
Gauge
SpinDirection

Functions§

anti_comm
做 $\{A,B\}$ 反对易操作
comm
做 $\{A,B\}$ 对易操作
draw_heatmap
这个函数是用来画热图的, 给定一个二维矩阵, 会输出一个像素图片
gen_kmesh
gen_krange
write_txt
write_txt_1