Struct NormalIncidenceInterface
pub struct NormalIncidenceInterface {
pub pressure_reflection: f64,
pub pressure_transmission: f64,
pub velocity_reflection: f64,
pub velocity_transmission: f64,
pub energy_reflectance: f64,
pub energy_transmittance: f64,
}Expand description
Normal-incidence planar acoustic / longitudinal impedance reflection and transmission across an interface from medium 1 ($Z_1 > 0$) into medium 2 ($Z_2 \ge 0$).
Fields§
§pressure_reflection: f64Pressure amplitude reflection coefficient $r_p = \frac{Z_2 - Z_1}{Z_2 + Z_1}$.
pressure_transmission: f64Pressure amplitude transmission coefficient $t_p = \frac{2 Z_2}{Z_2 + Z_1}$.
velocity_reflection: f64Particle-velocity amplitude reflection coefficient $r_v = \frac{Z_1 - Z_2}{Z_1 + Z_2} = -r_p$.
velocity_transmission: f64Particle-velocity amplitude transmission coefficient $t_v = \frac{2 Z_1}{Z_1 + Z_2}$.
energy_reflectance: f64Power / energy reflectance $R_E = r_p^2$.
energy_transmittance: f64Power / energy transmittance $T_E = \frac{Z_1}{Z_2} t_p^2 = \frac{4 Z_1 Z_2}{(Z_1 + Z_2)^2}$.
Implementations§
§impl NormalIncidenceInterface
impl NormalIncidenceInterface
pub fn from_impedances(
z1_rayl: f64,
z2_rayl: f64,
) -> Result<NormalIncidenceInterface, NumericalError>
pub fn from_impedances( z1_rayl: f64, z2_rayl: f64, ) -> Result<NormalIncidenceInterface, NumericalError>
Compute normal-incidence reflection and transmission from impedances $Z_1 > 0$ and $Z_2 > 0$.
pub const fn rigid_limit() -> NormalIncidenceInterface
pub const fn rigid_limit() -> NormalIncidenceInterface
Ideal rigid (sound-hard) boundary limit ($Z_2 \to \infty$): $r_p = +1, t_p = 2, r_v = -1, t_v = 0, R_E = 1, T_E = 0$.
pub const fn pressure_release_limit() -> NormalIncidenceInterface
pub const fn pressure_release_limit() -> NormalIncidenceInterface
Ideal pressure-release (free-surface / vacuum) boundary limit ($Z_2 = 0$): $r_p = -1, t_p = 0, r_v = +1, t_v = 2, R_E = 1, T_E = 0$.
Trait Implementations§
§impl Clone for NormalIncidenceInterface
impl Clone for NormalIncidenceInterface
§fn clone(&self) -> NormalIncidenceInterface
fn clone(&self) -> NormalIncidenceInterface
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for NormalIncidenceInterface
§impl Debug for NormalIncidenceInterface
impl Debug for NormalIncidenceInterface
§impl PartialEq for NormalIncidenceInterface
impl PartialEq for NormalIncidenceInterface
impl StructuralPartialEq for NormalIncidenceInterface
Auto Trait Implementations§
impl Freeze for NormalIncidenceInterface
impl RefUnwindSafe for NormalIncidenceInterface
impl Send for NormalIncidenceInterface
impl Sync for NormalIncidenceInterface
impl Unpin for NormalIncidenceInterface
impl UnsafeUnpin for NormalIncidenceInterface
impl UnwindSafe for NormalIncidenceInterface
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>,
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
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> ⓘ
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> ⓘ
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