Skip to main content

HertzianDipole

Struct HertzianDipole 

Source
pub struct HertzianDipole {
    pub length: f64,
}
Expand description

A uniform current I on a short wire of length l ≪ λ along +z at the origin.

Exact fields for all r > 0 (Balanis §4.2), in the e^{+jωt} convention:

  • E_r = η I l cos θ / (2π r²) (1 + 1/(jkr)) e^{-jkr}
  • E_θ = j η k I l sin θ / (4π r) (1 + 1/(jkr) - 1/(kr)²) e^{-jkr}
  • H_φ = j k I l sin θ / (4π r) (1 + 1/(jkr)) e^{-jkr}

Directivity 1.5; radiation resistance 80π² (l/λ)².

Fields§

§length: f64

Implementations§

Source§

impl HertzianDipole

Source

pub fn new(length: f64) -> Self

Source

pub fn exact_radiation_resistance(&self, frequency: f64) -> f64

The exact radiation resistance 80π² (l/λ)².

Source

pub fn near_field( &self, p: &Position, frequency: f64, convention: TimeConvention, ) -> ([C64; 3], [C64; 3])

The exact electric and magnetic fields (E, H) at p (spherical components [r, θ, φ]) for a unit current.

Source

pub fn near_field_containers( &self, domain: Arc<Domain>, frequency: f64, convention: TimeConvention, ) -> Result<(HarmonicField, HarmonicField), ErrorsJSL>

The exact E and H on a spatial domain (spherical basis).

Trait Implementations§

Source§

impl Antenna for HertzianDipole

Source§

fn far_field( &self, theta: f64, _phi: f64, frequency: f64, convention: TimeConvention, ) -> [C64; 2]

The far field [E_θ, E_φ] in the direction (θ, φ) with e^{-jkr}/r removed (V), per unit excitation, in vacuum.
Source§

fn excitation(&self) -> Excitation

What the unit excitation is.
Source§

fn peak_directivity(&self, _frequency: f64) -> f64

The peak directivity, searched on a half-degree grid.
Source§

fn far_field_pattern( &self, domain: Arc<Domain>, frequency: f64, convention: TimeConvention, ) -> Result<HarmonicField, ErrorsJSL>

The far-field pattern as an electric-field container on a far-field domain (spherical basis).
Source§

fn power_grid(&self, _frequency: f64) -> (usize, usize)

The (θ nodes, φ samples) of the grid used for numerical power integration.
Source§

fn radiated_power(&self, frequency: f64) -> f64

The radiated power ∫ |E|² / (2η) dΩ (W) for a unit excitation.
Source§

fn radiation_intensity(&self, theta: f64, phi: f64, frequency: f64) -> f64

The radiation intensity U = |E|² / (2η) (W/sr) for a unit excitation.
Source§

fn directivity(&self, theta: f64, phi: f64, frequency: f64) -> f64

The directivity 4π U(θ, φ) / P_rad in a direction.
Source§

fn radiation_resistance(&self, frequency: f64) -> Option<f64>

The radiation resistance 2 P / |I|² (Ω) referred to the unit excitation current, for current-excited models.
Source§

fn gain_pattern( &self, domain: Arc<Domain>, frequency: f64, convention: TimeConvention, efficiency: f64, ) -> Result<HarmonicField, ErrorsJSL>

The pattern scaled so that |E_θ|² + |E_φ|² equals the directivity times efficiency (the gain): the normalisation the array signal models expect.
Source§

impl Clone for HertzianDipole

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for HertzianDipole

Source§

impl Debug for HertzianDipole

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for HertzianDipole

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for HertzianDipole

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> MaybeSerialize for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.