Skip to content

Commit

Permalink
Merge pull request #454 from missing-user/master
Browse files Browse the repository at this point in the history
Bugfix for SPEC non-stellerator symmetric case
  • Loading branch information
landreman authored Nov 8, 2024
2 parents e33060c + 22e1e7c commit 27a76cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simsopt/mhd/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def __init__(self,
mpol=self.mpol, ntor=self.ntor)
self._boundary.rc[:] = self.array_translator(si.rbc, style='spec').as_simsopt
self._boundary.zs[:] = self.array_translator(si.zbs, style='spec').as_simsopt
if not self.freebound:
if not self.stellsym:
self._boundary.rs[:] = self.array_translator(si.rbs, style='spec').as_simsopt
self._boundary.zc[:] = self.array_translator(si.zbc, style='spec').as_simsopt
self._boundary.local_full_x = self._boundary.get_dofs()
Expand Down

0 comments on commit 27a76cf

Please sign in to comment.