Enum EmfOperatorError
pub enum EmfOperatorError {
Show 16 variants
InvalidGridDimensions {
nx: usize,
ny: usize,
nz: usize,
},
InvalidGridSpacing {
dx: f64,
dy: f64,
dz: f64,
},
SliceLengthMismatch {
expected: usize,
provided: usize,
},
NonFiniteInput,
InvalidConstitutiveParameter {
epsilon_r: f64,
mu_r: f64,
sigma: f64,
},
CflViolation {
dt: f64,
cfl_limit: f64,
},
DispersionEvanescent {
rhs: f64,
},
IncompleteRestartState {
reason: &'static str,
},
RestartDigestMismatch,
InvalidPolarimetricState {
i: f64,
q: f64,
u: f64,
v: f64,
},
InvalidFrequencyOrWavelength {
value: f64,
},
StaticCarrierNoWavelength,
InvalidFrameTransform {
det: f64,
ortho_residual: f64,
},
SingularDipoleSourceEvaluation,
DispersionPoleInvalid,
GpuParityBudgetExceeded {
max_abs_err: f64,
budget: f64,
},
}Expand description
Typed error enumeration for 3D electromagnetic operators, Yee FDTD, ADE, and C02 oracles.
Variants§
InvalidGridDimensions
InvalidGridSpacing
SliceLengthMismatch
NonFiniteInput
InvalidConstitutiveParameter
CflViolation
DispersionEvanescent
IncompleteRestartState
RestartDigestMismatch
InvalidPolarimetricState
InvalidFrequencyOrWavelength
StaticCarrierNoWavelength
InvalidFrameTransform
SingularDipoleSourceEvaluation
DispersionPoleInvalid
GpuParityBudgetExceeded
Trait Implementations§
§impl Clone for EmfOperatorError
impl Clone for EmfOperatorError
§fn clone(&self) -> EmfOperatorError
fn clone(&self) -> EmfOperatorError
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 EmfOperatorError
§impl Debug for EmfOperatorError
impl Debug for EmfOperatorError
§impl Display for EmfOperatorError
impl Display for EmfOperatorError
§impl Error for EmfOperatorError
impl Error for EmfOperatorError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
§impl PartialEq for EmfOperatorError
impl PartialEq for EmfOperatorError
impl StructuralPartialEq for EmfOperatorError
Auto Trait Implementations§
impl Freeze for EmfOperatorError
impl RefUnwindSafe for EmfOperatorError
impl Send for EmfOperatorError
impl Sync for EmfOperatorError
impl Unpin for EmfOperatorError
impl UnsafeUnpin for EmfOperatorError
impl UnwindSafe for EmfOperatorError
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