Struct YeeMaterialParams
pub struct YeeMaterialParams {
pub epsilon_r: f64,
pub mu_r: f64,
pub sigma_s_per_m: f64,
}Expand description
Homogeneous isotropic constitutive parameters for a 3D Yee grid domain.
Fields§
§epsilon_r: f64§mu_r: f64§sigma_s_per_m: f64Implementations§
§impl YeeMaterialParams
impl YeeMaterialParams
pub const fn vacuum() -> YeeMaterialParams
pub fn validate( &self, profile: YeeSolverProfile, ) -> Result<(), EmfOperatorError>
pub fn phase_velocity_m_per_s(&self) -> Result<f64, EmfOperatorError>
pub fn epsilon_f_per_m(&self) -> f64
pub fn mu_h_per_m(&self) -> f64
Trait Implementations§
§impl Clone for YeeMaterialParams
impl Clone for YeeMaterialParams
§fn clone(&self) -> YeeMaterialParams
fn clone(&self) -> YeeMaterialParams
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 moreimpl Copy for YeeMaterialParams
§impl Debug for YeeMaterialParams
impl Debug for YeeMaterialParams
§impl PartialEq for YeeMaterialParams
impl PartialEq for YeeMaterialParams
impl StructuralPartialEq for YeeMaterialParams
Auto Trait Implementations§
impl Freeze for YeeMaterialParams
impl RefUnwindSafe for YeeMaterialParams
impl Send for YeeMaterialParams
impl Sync for YeeMaterialParams
impl Unpin for YeeMaterialParams
impl UnsafeUnpin for YeeMaterialParams
impl UnwindSafe for YeeMaterialParams
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