Common Interface for Analytical and Numerical Electromagnetic Fields
Author JuliaPlasma
10 Stars
Updated Last
1 Year Ago
Started In
May 2017


Common Interface for Electromagnetic Fields

Documentation Documentation License PkgEval Status CI codecov DOI

ElectromagneticFields.jl provides a common interface for evaluating analytical and numerical magnetic equilibria, general electromagnetic fields and in the future also simple Maxwell solvers. For analytical equilibria, it generates Julia code providing high-level evaluation routines. Numerical equilibria are interpolated using ApproXD and can be evaluated with the very same interface as the analytical equilibria.


Analytical equilibria:

  • simple axisymmetric tokamak equilibrium in cartesian, cylindrical and toroidal coordinates
  • flexible Solov'ev equilibria with and without X-point (including ITER, NSTX and FRC configurations)
  • symmetric quadratic and singular magnetic fields, symmetric Solov'ev equilibria
  • Penning trap
  • Arnold-Beltrami-Childress (ABC) field
  • 3D perturbations (e.g., magnetic islands, electric fields)

Numerical equilibria (planned):

  • projected analytic equilibria
  • EFIT
  • VMEC

Numerical solvers (planned):

  • B-Spline, FEM and pseudo-spectral Poisson, Ampère and Faraday solvers



The ElectromagneticFields.jl package is licensed under the MIT "Expat" License.

Used By Packages

No packages found.