Struct DebyePole
pub struct DebyePole {
pub delta_epsilon: f64,
pub tau_s: f64,
}Expand description
Single-pole Debye relaxation parameters: $$\tau_p \frac{d\mathbf{P}_p}{dt} + \mathbf{P}_p = \varepsilon_0 \Delta\varepsilon_p \mathbf{E}$$
Fields§
§delta_epsilon: f64§tau_s: f64Implementations§
§impl DebyePole
impl DebyePole
pub fn validate(&self) -> Result<(), EmfOperatorError>
pub fn continuous_susceptibility( &self, omega_rad_s: f64, ) -> Result<(f64, f64), EmfOperatorError>
pub fn discrete_susceptibility( &self, omega_rad_s: f64, dt: f64, ) -> Result<(f64, f64), EmfOperatorError>
pub fn step_ade_in_place( &self, dt: f64, ex_n: &[f64], ey_n: &[f64], ez_n: &[f64], ex_np1: &[f64], ey_np1: &[f64], ez_np1: &[f64], px: &mut [f64], py: &mut [f64], pz: &mut [f64], jpx: &mut [f64], jpy: &mut [f64], jpz: &mut [f64], ) -> Result<(), EmfOperatorError>
pub fn stored_energy_density( &self, p_vec: [f64; 3], ) -> Result<f64, EmfOperatorError>
Trait Implementations§
impl Copy for DebyePole
impl StructuralPartialEq for DebyePole
Auto Trait Implementations§
impl Freeze for DebyePole
impl RefUnwindSafe for DebyePole
impl Send for DebyePole
impl Sync for DebyePole
impl Unpin for DebyePole
impl UnsafeUnpin for DebyePole
impl UnwindSafe for DebyePole
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