pub struct WireSolution {
pub frequency: f64,
pub nodes: Vec<f64>,
pub currents: Vec<C64>,
pub input_impedance: C64,
/* private fields */
}Expand description
The moment-method solution at one frequency for a 1 V delta-gap excitation.
Fields§
§frequency: f64§nodes: Vec<f64>Node positions along the wire (m), ends excluded (where the current is zero).
currents: Vec<C64>Node currents (A) for 1 V across the gap, in the e^{+jωt} convention.
input_impedance: C64The input impedance V / I(0) (Ω).
Implementations§
Source§impl WireSolution
impl WireSolution
Sourcepub fn far_field_theta(&self, theta: f64, convention: TimeConvention) -> C64
pub fn far_field_theta(&self, theta: f64, convention: TimeConvention) -> C64
The far field E_θ (V, with e^{−jkr}/r removed) at polar angle θ for the 1 V feed:
jηk sinθ / (4π) ∫ I(z') e^{jkz' cosθ} dz', integrating the piecewise-linear current
exactly segment by segment with Gauss quadrature.
Sourcepub fn radiated_power(&self) -> f64
pub fn radiated_power(&self) -> f64
The radiated power (W) for the 1 V feed by integrating |E_θ|² / (2η) over the sphere.
Trait Implementations§
Source§impl Clone for WireSolution
impl Clone for WireSolution
Auto Trait Implementations§
impl Freeze for WireSolution
impl RefUnwindSafe for WireSolution
impl Send for WireSolution
impl Sync for WireSolution
impl Unpin for WireSolution
impl UnsafeUnpin for WireSolution
impl UnwindSafe for WireSolution
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