Helmholtz Equation#

Module for defining the Helmholtz equation.

class HelmholtzEquation(k, forcing_term)[source]#

Bases: Equation

Implementation of the Helmholtz equation, defined as follows:

\[\Delta u + k u - f = 0\]

Here, \(k\) is the squared wavenumber, while \(f\) is the forcing term.

Initialization of the HelmholtzEquation class.

Parameters:
  • k (float | int) – The squared wavenumber.

  • forcing_term (Callable) – The forcing field function, taking as input the points on which evaluation is required.