pub struct BandGapModel {
pub eg0_ev: f64,
pub alpha: f64,
pub beta: f64,
pub gap_type: BandGapType,
}Expand description
Band gap model with Varshni temperature dependence.
E_g(T) = E_g(0) - α T² / (T + β)
Fields§
§eg0_ev: f64Band gap at T = 0 K (eV).
alpha: f64Varshni α parameter (eV/K).
beta: f64Varshni β parameter (K).
gap_type: BandGapTypeBand gap type.
Implementations§
Source§impl BandGapModel
impl BandGapModel
Sourcepub fn new(eg0_ev: f64, alpha: f64, beta: f64, gap_type: BandGapType) -> Self
pub fn new(eg0_ev: f64, alpha: f64, beta: f64, gap_type: BandGapType) -> Self
Create a new band gap model.
Sourcepub fn band_gap_ev(&self, t_kelvin: f64) -> f64
pub fn band_gap_ev(&self, t_kelvin: f64) -> f64
Band gap at temperature t_kelvin (eV).
Sourcepub fn band_gap_j(&self, t_kelvin: f64) -> f64
pub fn band_gap_j(&self, t_kelvin: f64) -> f64
Band gap at temperature t_kelvin (Joules).
Trait Implementations§
Source§impl Clone for BandGapModel
impl Clone for BandGapModel
Source§fn clone(&self) -> BandGapModel
fn clone(&self) -> BandGapModel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BandGapModel
impl RefUnwindSafe for BandGapModel
impl Send for BandGapModel
impl Sync for BandGapModel
impl Unpin for BandGapModel
impl UnsafeUnpin for BandGapModel
impl UnwindSafe for BandGapModel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more