Skip to content

Commit

Permalink
flipping sign of Bp in if statement with Bp_dot_grady has been commen…
Browse files Browse the repository at this point in the history
…ted out
  • Loading branch information
HarukiST committed Sep 18, 2024
1 parent bf4eebb commit dabf4d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hypnotoad/core/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ def geometry1(self):
print(
"Poloidal field is in opposite direction to Grad(theta) -> Bp negative"
)
self.Bpxy = -self.Bpxy
# self.Bpxy = -self.Bpxy
if self.bpsign > 0.0:
raise ValueError(
"Sign of Bp should be negative? (note this check will raise an "
Expand Down

0 comments on commit dabf4d0

Please sign in to comment.