We describe a conservative, shock-capturing scheme for evolving the equations
of general relativistic magnetohydrodynamics. The fluxes are calculated using
the Harten, Lax, and van Leer scheme. A variant of constrained transport,
proposed earlier by T\'oth, is used to maintain a divergence free magnetic
field. Only the covariant form of the metric in a coordinate basis is required
to specify the geometry. We describe code performance on a full suite of test
problems in both special and general relativity. On smooth flows we show that
it converges at second order. We conclude by showing some results from the
evolution of a magnetized torus near a rotating black hole.Comment: 38 pages, 18 figures, submitted to Ap