1: \begin{abstract}
2: We present the new general-relativistic magnetohydrodynamics (GRMHD)
3: capabilities of the Einstein Toolkit, an open-source community-driven
4: numerical relativity and computational relativistic astrophysics
5: code. The GRMHD extension of the Toolkit builds upon previous releases
6: and implements the evolution of relativistic magnetised fluids in the
7: ideal MHD limit in fully dynamical spacetimes using the same
8: shock-capturing techniques previously applied to hydrodynamical
9: evolution. In order to maintain the divergence-free character of the
10: magnetic field, the code implements both hyperbolic divergence
11: cleaning and constrained transport schemes. We present test results
12: for a number of MHD tests in Minkowski and curved spacetimes.
13: Minkowski tests include aligned and oblique planar shocks, cylindrical
14: explosions, magnetic rotors, Alfv\'en waves and advected loops, as
15: well as a set of tests designed to study the response of the
16: divergence cleaning scheme to numerically generated monopoles. We
17: study the code's performance in curved spacetimes with spherical
18: accretion onto a black hole on a fixed background spacetime and in
19: fully dynamical spacetimes by evolutions of a magnetised polytropic
20: neutron star and of the collapse of a magnetised stellar core. Our
21: results agree well with exact solutions where these are
22: available and we demonstrate convergence. All code and input files
23: used to generate the results are available on
24: \url{http://einsteintoolkit.org}. This makes our work fully
25: reproducible and provides new users with an introduction to
26: applications of the code.
27: \end{abstract}
28: