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