Struct DrudePole
pub struct DrudePole {
pub omega_p_rad_s: f64,
pub gamma_rad_s: f64,
}Expand description
Drude conduction / cold-plasma pole parameters: $$\frac{d\mathbf{J}_D}{dt} + \gamma_D \mathbf{J}_D = \varepsilon_0 \omega_p^2 \mathbf{E}$$
Fields§
§omega_p_rad_s: f64§gamma_rad_s: f64Implementations§
§impl DrudePole
impl DrudePole
pub fn validate(&self) -> Result<(), EmfOperatorError>
pub fn continuous_susceptibility( &self, omega_rad_s: 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], jdx: &mut [f64], jdy: &mut [f64], jdz: &mut [f64], ) -> Result<(), EmfOperatorError>
pub fn stored_energy_density( &self, jd_vec: [f64; 3], ) -> Result<f64, EmfOperatorError>
Trait Implementations§
impl Copy for DrudePole
impl StructuralPartialEq for DrudePole
Auto Trait Implementations§
impl Freeze for DrudePole
impl RefUnwindSafe for DrudePole
impl Send for DrudePole
impl Sync for DrudePole
impl Unpin for DrudePole
impl UnsafeUnpin for DrudePole
impl UnwindSafe for DrudePole
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