pub struct InterfaceScatteringCoefficients {
pub pressure_reflection: f64,
pub pressure_transmission: f64,
pub energy_reflection: f64,
pub energy_transmission: f64,
pub total_internal_reflection: bool,
}Expand description
Planar acoustic interface reflection and transmission coefficients (pressure amplitude & energy flux).
Fields§
§pressure_reflection: f64Pressure reflection coefficient $r_p = p_{\text{refl}} / p_{\text{inc}}$.
pressure_transmission: f64Pressure transmission coefficient $t_p = p_{\text{trans}} / p_{\text{inc}}$ (can exceed $1.0$ when $Z_2 > Z_1$).
energy_reflection: f64Reflected normal intensity/energy fraction $R_E \in [0, 1]$.
energy_transmission: f64Transmitted normal intensity/energy fraction $T_E \in [0, 1]$, satisfying $R_E + T_E = 1$.
total_internal_reflection: boolTrue if incidence angle exceeds critical angle $\theta_c = \arcsin(c_1 / c_2)$ (total internal reflection).
Trait Implementations§
impl Copy for InterfaceScatteringCoefficients
impl StructuralPartialEq for InterfaceScatteringCoefficients
Auto Trait Implementations§
impl Freeze for InterfaceScatteringCoefficients
impl RefUnwindSafe for InterfaceScatteringCoefficients
impl Send for InterfaceScatteringCoefficients
impl Sync for InterfaceScatteringCoefficients
impl Unpin for InterfaceScatteringCoefficients
impl UnsafeUnpin for InterfaceScatteringCoefficients
impl UnwindSafe for InterfaceScatteringCoefficients
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more