Skip to main content

helmholtz_greens_function_3d

Function helmholtz_greens_function_3d 

pub fn helmholtz_greens_function_3d(
    distance_m: f64,
    k: Complex64,
) -> Result<Complex64, NumericalError>
Expand description

Analytical 3D free-space outgoing Green’s function $$G(r) = \frac{e^{i k r}}{4\pi r}, \qquad r = |\mathbf{x} - \mathbf{x}_0|_2 > 0$$ Rejects $r \le 0$ singularity per C02.