Skip to content

Conversation

@djinpatch
Copy link
Collaborator

Comapring differences between this draft branch for open magnetic mirrors and master

rahulgaur104 and others added 30 commits June 20, 2025 03:45
parameterization=[
        "desc.equilibrium.equilibrium.Equilibrium",
        "desc.geometry.surface.FourierRZToroidalSurface",
        "desc.geometry.surface.ZernikeRZToroidalSection",
    ],

inside _basis_vectors.py :

e_zeta
e_theta
e_theta_z
e_zeta_z

inside _core.py :

R_tz
Z_tz
omega_tz
R_z
Z_z
omega_z
R_zz
Z_zz
omega_zz
rahulgaur104 and others added 30 commits October 10, 2025 22:42
…ction in a similar manner as a grid; we can definitely remove the kwargs n_rho_max, n_theta_max, n_zeta_max as those can be inferred from the differentiation matrices now
…function via transforms, adding an option to choose the spectral ballooning solver, moving the mapping function/automorphism to quad_utils, updating tests, removing Chebyshev diffmatrices for now
…_stability compute function; The diffmatrices should now be pre-computed and hopefully jax won't track their gradients
… preconditioner for the incompressible axisymmetric case
… inverting C_zeta; imposing incompressibility using a projection operator for the axisymmetric case as well. More compact code. Should hopefully work better!
…ing a separate function to plot the eigenfunction at different toroidal cross-sections
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants