Skip to content

Commit

Permalink
note on capBpYlowXpoint has been added
Browse files Browse the repository at this point in the history
  • Loading branch information
HarukiST committed Sep 18, 2024
1 parent dabf4d0 commit bc2e893
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hypnotoad/core/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,9 @@ def geometry2(self):
# (By default do _not_ do this)
# Get rid of minimum in Bpxy.ylow field, because it can cause large spikes in
# some metric coefficients, which may cause numerical problems in simulations
#
# note: capBpYlowXpoint assumes a positive definie Bp and doesnt work
# with a negative definit Bp (H.Seto)
self.capBpYlowXpoint()

self.hy = self.calcHy()
Expand Down

0 comments on commit bc2e893

Please sign in to comment.