Python/Cython package providing reference implementations of variational integrators for reduced magnetohydrodynamics in 2D.
- Python 2.7 or 3.x (x >= 3)
- PETSc 3.x (x >= 5) (compiled with MPI, HDF5, HYPRE)
Michael Kraus, Omar Maj. Variational Integrators for Nonvariational Partial Differential Equations. Physica D: Nonlinear Phenomena, Volume 310, Pages 37-71, 2015.
Michael Kraus, Emanuele Tassi, Daniela Grasso
Variational Integrators for Reduced Magnetohydrodynamics. Journal of Computational Physics, Volume 321, Pages 435-458, 2016.
The viRMHD2D package is licensed under the MIT "Expat" License.