Expand description
Helmholtz Green’s function and derivatives
The 3D Helmholtz Green’s function is:
G(x, y) = exp(ik|x-y|) / (4π|x-y|)This module provides computation of G and its normal derivatives, which form the kernels for BEM integration.
Functions§
- all_
kernels_ 3d - Compute all four BEM kernels at once for efficiency
- distance
- Distance between two points
- greens_
function_ 2d - 2D Helmholtz Green’s function G = (i/4) H_0^(1)(kr)
- greens_
function_ 3d - 3D Helmholtz Green’s function G = exp(ikr)/(4πr)
- greens_
function_ adjoint_ derivative_ 3d - Adjoint double layer kernel ∂G/∂n_x
- greens_
function_ gradient_ 3d - Gradient of 3D Green’s function ∇_y G
- greens_
function_ hypersingular_ 3d - Hypersingular kernel ∂²G/(∂n_x ∂n_y)
- greens_
function_ normal_ derivative_ 3d - Normal derivative of 3D Green’s function ∂G/∂n_y
- laplace_
greens_ function_ 2d - 2D Laplace Green’s function: G = -ln(r)/(2π)
- laplace_
greens_ function_ 3d - Laplace Green’s function (k=0 limit): G = 1/(4πr)