Skip to content

Commit

Permalink
added abs to cus. profile, B_0, I_p (#3491)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverfunk authored Aug 1, 2024
1 parent 58219cb commit 35dac9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bluemira/equilibria/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,8 +831,8 @@ def from_eqdsk(cls, eq: EQDSKInterface) -> CustomProfile:
eq.pprime,
eq.ffprime,
R_0=eq.xcentre,
B_0=eq.bcentre,
B_0=abs(eq.bcentre),
p_func=eq.pressure,
f_func=eq.fpol,
I_p=eq.cplasma,
I_p=abs(eq.cplasma),
)

0 comments on commit 35dac9a

Please sign in to comment.