spherical_wave_impl

Function spherical_wave_impl 

Source
fn spherical_wave_impl<const DERIVATIVES: bool>(
    mode: Mode,
    k: Complex,
    position: [f64; 3],
    helicity: bool,
    radial: Radial,
) -> Result<VectorWave>
Expand description

spherical_wave with the point and wavenumber derivatives only if DERIVATIVES.