desc.magnetic_fields.FourierCurrentPotentialField.change_Phi_resolution
- FourierCurrentPotentialField.change_Phi_resolution(M=None, N=None, NFP=None, sym_Phi=None)Source
Change the maximum poloidal and toroidal resolution for Phi.
- Parameters:
M (int) – Poloidal resolution to change Phi basis to. If None, defaults to current self.Phi_basis poloidal resolution
N (int) – Toroidal resolution to change Phi basis to. If None, defaults to current self.Phi_basis toroidal resolution
NFP (int) – Number of field periods for surface and Phi basis. If None, defaults to current NFP. Note: will change the NFP of the surface geometry as well as the Phi basis.
sym_Phi ({"auto","cos","sin",False}) – whether to enforce a given symmetry for the DoubleFourierSeries part of the current potential. Default is “auto” which enforces if modes are symmetric. If True, non-symmetric modes will be truncated.