PrincetonUniversity / SPEC

The Stepped-Pressure Equilibrium Code, an advanced MRxMHD equilibrium solver.
https://princetonuniversity.github.io/SPEC/
GNU General Public License v3.0
25 stars 6 forks source link

Bnserr to hdf5 #198

Closed smiet closed 9 months ago

smiet commented 9 months ago

The output of a freeboundary run should contain the bnserr.

Added bnserr as a global variable (was: local variable in xspec), and write it to the output group of the hdf5 file.

Updated version number of spec to 3.22 and of the python wrapper to 0.0.2 so user can check if this is available (f.ex. in simsopt).

Just asking for a sanity check, should not affect any existing use of SPEC.

jloizu commented 9 months ago

I would say you can merge the pull request.