Struct scattering::material::BrillouinZone [] [src]

pub struct BrillouinZone {
    pub a: Vec2,
    pub b: Vec2,
    pub c: Vec2,
    pub d: Vec2,
    pub basis: (Vec2, Vec2),
    pub dual_basis: (Vec2, Vec2),
}

Representation of tetragonal brillouin zone of 2D material. a, b, c, and d are vertices of tetragon.

Fields

a
b
c
d
basis
dual_basis

Methods

impl BrillouinZone

fn new(a: Vec2, b: Vec2, d: Vec2) -> BrillouinZone

fn to_first_bz(&self, p: &Vec2) -> Vec2

Returns equivalent momentum in first brillouin zone

fn pmax(&self, theta: f64) -> f64

Calculates maximum value of momentum in direction $\theta$ in first brillouin zone

Trait Implementations

Derived Implementations

impl Clone for BrillouinZone

fn clone(&self) -> BrillouinZone

1.0.0fn clone_from(&mut self, source: &Self)