Skip to content

Commit

Permalink
Fixed secondary source type in 2D HOA driving function
Browse files Browse the repository at this point in the history
  • Loading branch information
spors committed Aug 30, 2019
1 parent ddbe35d commit 4f5e4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sfs/fd/nfchoa.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def plane_2d(omega, x0, r0, n=[0, 1, 0], *, max_order=None, c=None):
for m in range(-max_order, max_order + 1):
d += 1j**-m / _hankel2(m, k * r0) * _np.exp(1j * m * (phi0 - phi))
selection = _util.source_selection_all(len(x0))
return -2j / (_np.pi*r0) * d, selection, _secondary_source_point(omega, c)
return -2j / (_np.pi*r0) * d, selection, _secondary_source_line(omega, c)


def point_25d(omega, x0, r0, xs, *, max_order=None, c=None):
Expand Down

0 comments on commit 4f5e4d3

Please sign in to comment.