Analytic Fields
ElectromagneticFields.jl provides a collection of analytically known electromagnetic fields. Each of them lives in its own submodule, is constructed by an init function taking the parameters of the field, and generates its evaluation routines through a @code macro — see Usage for the general workflow, Coordinates for the charts listed below, Fields for the field quantities each of them provides, and Plotting for how the figures on the following pages are made.
| Field | Coordinates | |
|---|---|---|
| Arnold-Beltrami-Childress Field | $(x,y,z)$ | three-dimensional field with chaotic field lines |
| Axisymmetric Tokamak (Cartesian) | $(x,y,z)$ | simple tokamak with circular flux surfaces |
| Axisymmetric Tokamak (Cylindrical) | $(R,Z,\phi)$ | the same field in cylindrical coordinates |
| Axisymmetric Tokamak (Toroidal) | $(r,\theta,\phi)$ | the same field in toroidal coordinates |
| Dipole | $(x,y,z)$ | magnetic dipole |
| Penning Traps | $(x,y,z)$ | three Penning trap configurations |
| Quadratic Potentials | $(x,y,z)$ | electromagnetic field with quadratic potentials |
| Singular Field | $(x,y,z)$ | magnetic field diverging on the axis |
| Solov'ev Equilibrium | $(R,Z,\phi)$ | flexible Grad-Shafranov solutions, with and without X-point |
| Symmetric Solov'ev Equilibrium | $(x,y,z)$ | up/down and left/right symmetric Solov'ev solution |
| Symmetric Quadratic Field | $(x,y,z)$ | magnetic field growing quadratically with the radius |
| Theta Pinch | $(x,y,z)$ | homogeneous field along the $z$ axis |