Open dpanici opened 2 years ago
A possible generalized solution would be to use a fortran namelist reader like https://f90nml.readthedocs.io/en/latest/ for all the vmec reading/writing stuff (and spec too)
@MothVine the f90 namelist reader we mentioned ^
improvements that need to be made that could be resolved with f90nml:
Also, make sure that we can handle VMEC input files with INDATA
and END
with different cases, since they are not always upper case
@dpanici I did this sometime, dig up the code for it
Apparently in VMEC the boundary modes can be given with the following logic, which we currently do not support converting in DESC. Also, this could be useful to add as an input option in our own input files
Relatedly (as raised by #1298), VMEC can specify splines for the profile inputs (among others), which we currently do not allow through an input file.