1: \begin{abstract}
2: % abstract here
3: We present a novel numerical method for solving the anisotropic diffusion equation in toroidally confined magnetic fields which is efficient, accurate and provably stable.
4: %This is an extension of previous work which generated a one dimensional code which function in place of the magnetic field \cite{muir_efficient_2023}.
5: The continuous problem is written in terms of a derivative operator for the perpendicular transport and a linear operator, obtained through field line tracing, for the parallel transport. We derive energy estimates of the solution of the continuous initial boundary value problem. A discrete formulation is presented using operator splitting in time with the summation by parts finite difference approximation of spatial derivatives for the perpendicular diffusion operator. Weak penalty procedures are derived for implementing both boundary conditions and parallel diffusion operator obtained by field line tracing.
6: %are implemented weakly using the simultaneous approximation term and Simultaneous Approximation Terms approach for the perpendicular transport and a penalty term based on field line tracing for approximating the parallel transport is presented.
7: We prove that the fully-discrete approximation is unconditionally stable and asymptotic preserving.
8: Discrete energy estimates are shown to match the continuous energy estimate given the correct choice of penalty parameters.
9: Convergence tests are shown for the perpendicular operator by itself, and the ``NIMROD benchmark'' problem is used as a manufactured solution to show the full scheme converges even in the case where the perpendicular diffusion is zero.
10: Finally, we present a magnetic field with chaotic regions and islands and show the contours of the anisotropic diffusion equation reproduce key features in the field.
11: \end{abstract}
12: