pyoomph.equations.helmholtz module
- class pyoomph.equations.helmholtz.HelmholtzEquation(name='u', k=1, complex=False, space='C2', coeff=1, test_coeff=1)[source]
Bases:
EquationsRepresents the Helmholtz equation, which is a second order elliptic partial differential equation given by:
laplace(u) + k^2 u = 0
where u is the unknown field, k is a constant and laplace is the Laplace operator.
- Parameters:
name (str) – Name of the unknown field.
k (ExpressionOrNum) – Wavenumber.
complex (bool) – If True, the equation is complex.
space (FiniteElementSpaceEnum) – Finite element space.
coeff (ExpressionOrNum) – Coefficient of the unknown field.
test_coeff (ExpressionOrNum) – Coefficient of the test field.