Skip to main content

vector_spherical_harmonics

Function vector_spherical_harmonics 

Source
pub fn vector_spherical_harmonics(
    n: u32,
    m: i32,
    theta: f64,
    phi: f64,
) -> ([C64; 2], [C64; 2])
Expand description

The tangential vector spherical harmonics (Ψ_nm, Φ_nm) as [θ, φ] components (n ≥ 1, |m| ≤ n). Poles are approached rather than evaluated (θ is nudged by 1e-9).