Skip to content

Commit

Permalink
removed params from helmhotlz operator (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
astanziola authored Dec 18, 2023
1 parent 7c2381d commit b54c099
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jwave/acoustics/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def helmholtz(u: Field, medium: Medium, *, omega=1.0, params=None) -> Field:

# Add the wavenumber term
k = wavevector(u, medium, omega, params=wavevector_params)
return L + k, None
return L + k


def ongrid_helmholtz_init_params(u: OnGrid, medium: Medium, omega, *args,
Expand Down Expand Up @@ -297,7 +297,7 @@ def helmholtz(u: OnGrid, medium: Medium, *, omega=1.0, params=None) -> OnGrid:

# Add the wavenumber term
k = wavevector(u, medium, omega=omega)
return L + k, params
return L + k


def scale_source_helmholtz(source: Field, medium: Medium) -> Field:
Expand Down

0 comments on commit b54c099

Please sign in to comment.