simsopt icon indicating copy to clipboard operation
simsopt copied to clipboard

[VMEC,SurfaceRZFourier] fix inconsistency regarding mpol

Open jons-pf opened this issue 7 months ago • 1 comments

VMEC only ever uses poloidal modes up to m=mpol-1 with mpol being specified in the VMEC input. SurfaceRZFourier calls their poloidal Fourier resolution also mpol, but includes poloidal modes including up to m=mpol. This leads to inconsistencies when converting between VMEC input/output files and SurfaceRZFourier. This PR addresses this inconsistency.

jons-pf avatar Jul 17 '24 07:07 jons-pf