Skip to content

Commit

Permalink
Update bluemira/magnetostatics/greens.py
Browse files Browse the repository at this point in the history
Co-authored-by: je-cook <81617086+je-cook@users.noreply.github.com>
  • Loading branch information
2 people authored and Georgina Graham committed Aug 15, 2024
1 parent 56dff60 commit 41fb36b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bluemira/magnetostatics/greens.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,8 @@ def greens_all(
a, k2 = calc_a_k2(xc, zc, x, z)
e, k = calc_e_k(k2)
i1, i2 = calc_i1_i2(a, k2, e, k)
i1 *= 4
i2 *= 4
a_part = (z - zc) ** 2 + x**2 + xc**2
b_part = -2 * x * xc
g_bx = MU_0_4PI * xc * (z - zc) * (i1 - i2 * a_part) / b_part
Expand Down

0 comments on commit 41fb36b

Please sign in to comment.