pub struct DosConfig {
pub enabled: bool,
pub partial_dos: bool,
pub erange_ev: Option<(f64, f64)>,
pub npoints: Option<usize>,
}Expand description
Configuration for DOS calculations
Fields§
§enabled: boolWhether to compute electronic density of states
partial_dos: boolWhether to compute partial DOS (per atom/orbital)
erange_ev: Option<(f64, f64)>Energy range (min, max) in eV
npoints: Option<usize>Number of energy points for DOS grid
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DosConfig
impl<'de> Deserialize<'de> for DosConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DosConfig
impl RefUnwindSafe for DosConfig
impl Send for DosConfig
impl Sync for DosConfig
impl Unpin for DosConfig
impl UnsafeUnpin for DosConfig
impl UnwindSafe for DosConfig
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