Skip to main content

apply_helmholtz_operator

Function apply_helmholtz_operator 

pub fn apply_helmholtz_operator(
    cfg: &HelmholtzConfig,
    u: &[Complex64],
    out: &mut [Complex64],
) -> Result<(), NumericalError>
Expand description

Apply the 3D discrete Helmholtz operator $A\hat{p} = (\nabla_h^2 + k^2)\hat{p}$ into out.