Created: 2019-03-07
Author: Christopher Albert [email protected]
This directory collects the original Python proof-of-concept scripts for guiding-center symplectic integrators described in [1]. The examples implement axisymmetric guiding-center motion in canonicalized flux coordinates and were the foundation for the production SIMPLE code.
common.py– derivative computation and Newton iteration helpersfield_test.py– simple magnetic configuration for testingplotting.py– helper routines for plotting
expl_impl_euler.py– explicit-implicit Euler methodexpl_impl_euler_optim.py– optimized explicit-implicit Euler method with user-supplied Jacobianexpl_impl_euler_r_theta.py– explicit-implicit Euler in(r, theta)coordinatesimpl_expl_euler.py– implicit-explicit Euler methodimpl_midpoint.py– implicit midpoint ruleimpl_pendulum.py– nonlinear pendulum exampleverlet.py– Stoermer-Verlet / leap-frog methodrk.py– adaptive Runge-Kutta 4/5 reference implementation (SciPy)pauli_particle.py– Pauli particle dynamics examplediscrete_variational.py– discrete variational integrator notebook helpers
exportfig.py– export utilities for the published figuressimple.in– sample SIMPLE configuration used by the prototypesiaea2019/– scripts and notebooks prepared for the 2019 IAEA meeting
[1] C. G. Albert, S. V. Kasilov, and W. Kernbichler, Symplectic integration with non-canonical quadrature for guiding-center orbits in magnetic confinement devices, Mar. 2019, arXiv:1903.06885. Submitted to J. Comput. Phys.