desc.magnetic_fields.OmnigenousField.change_resolution

OmnigenousField.change_resolution(L_B=None, M_B=None, L_x=None, M_x=None, N_x=None, NFP=None)Source

Set the spectral resolution of field parameters.

Parameters:
  • L_B (int) – Resolution of the radial Chebyshev polynomials for magnetic well params.

  • M_B (int) – Number of monotonic spline knots per surface of the magnetic well params.

  • L_x (int) – Resolution of the radial Chebyshev polynomials for the omnigenity params.

  • M_x (int) – Resolution of the Fourier series in eta for the omnigenity params.

  • N_x (int) – Resolution of the Fourier series in alpha for the omnigenity params.

  • NFP (int) – Number of field periods.