Skip to content

Commit

Permalink
f_psi_sign has been added for signed Bp
Browse files Browse the repository at this point in the history
  • Loading branch information
HarukiST committed Sep 18, 2024
1 parent de512ca commit 7d849d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hypnotoad/cases/circular.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ def __init__(self, settings=None, nonorthogonal_settings=None):
# Core-only geometry: add connection so domain is periodic in y
self.makeConnection("circular", 0, "circular", 0)

self.f_psi_sign = np.sign(self.psi_r(1.0) - self.psi_r(0.0))

def makeRegion(self):
"""
Create the EquilibriumRegion to build the grid around
Expand Down

0 comments on commit 7d849d3

Please sign in to comment.