1: \begin{abstract}
2: We present a code for solving the nonlinear force-free equations in
3: spherical polar geometry, with the motivation of modeling the magnetic
4: field in the corona. The code is an implementation of the Grad-Rubin
5: method. Our method is applicable to a spherical domain of arbitrary angular
6: size. The implementation is based on a global spectral representation for the
7: magnetic field which makes no explicit assumptions about the form of the magnetic
8: field at the transverse boundaries of the domain. We apply the code to
9: a bipolar test case with analytic boundary conditions, and we
10: demonstrate the convergence of the Grad-Rubin method, and the
11: self-consistency of the resulting numerical solution.
12: \end{abstract}
13: