Skip to content

Commit

Permalink
Merge pull request #38 from bendudson/fix-greens-comments
Browse files Browse the repository at this point in the history
Fix the comments in GreensBr and GreensBz
  • Loading branch information
ZedThree committed Sep 30, 2020
2 parents 79ccbd4 + 8a2b63f commit 7344d41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions freegs/gradshafranov.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def Greens(Rc, Zc, R, Z):

def GreensBz(Rc, Zc, R, Z, eps=1e-3):
"""
Calculate radial magnetic field at (R,Z)
Calculate vertical magnetic field at (R,Z)
due to unit current at (Rc, Zc)
Bz = (1/R) d psi/dR
Expand All @@ -285,7 +285,7 @@ def GreensBz(Rc, Zc, R, Z, eps=1e-3):

def GreensBr(Rc, Zc, R, Z, eps=1e-3):
"""
Calculate vertical magnetic field at (R,Z)
Calculate radial magnetic field at (R,Z)
due to unit current at (Rc, Zc)
Br = -(1/R) d psi/dZ
Expand Down

0 comments on commit 7344d41

Please sign in to comment.