pyoculus.solvers.flux_surface_gr

class pyoculus.solvers.flux_surface_gr.FluxSurfaceGR(map)
GreeneMethod(iota, fp_1=None, fp_2=None, nexpand=10, **kwargs)

Look for the flux surface with a given rotation number using Greene’s residue method.

Parameters:
  • iota – the irrational! rotation number of the flux surface

  • fixed_point_left – a sucessfully found FixPoint to mark the left bound of the flux surface, its rotation number needs to be in the convergent sequence of iota

  • surface (fixed_point_right a sucessfully found FixPoint to mark the right bound of the flux) – its rotation number needs to be in the convergent sequence of iota and next to fixed_point_left

:param : its rotation number needs to be in the convergent sequence of iota and next to fixed_point_left :param n_expand=10 the number of terms in the continued fraction expansion of iota: :param used to approximate the flux surface: :param **kwargs: additional arguments for the fixed point finding method

Returns:

fdata.MackayResidue – the Mackay Residue of the fixed points fdata.fixed_points – all the fixed point located fdata.rmnc, fdata.rmns`, fdata.zmnc, fdata.zmns – the Fourier harmonics