1: \begin{abstract}
2: A new numerical code, called SFUMATO, for solving self-gravitational magnetohydrodynamics
3: (MHD) problems using adaptive mesh refinement (AMR) is presented.
4: A block-structured grid is adopted as the grid of the AMR hierarchy.
5: The total variation diminishing (TVD) cell-centered scheme is
6: adopted as the MHD solver, with hyperbolic cleaning of the divergence error of
7: the magnetic field also implemented. \rev{The MHD solver exhibits a second-order accuracy in convergence tests of linearized MHD waves.}
8: The self-gravity is solved using a
9: multigrid method composed of (1) a full multigrid (FMG)-cycle on
10: the AMR hierarchical grids, (2) a V-cycle on these grids, and (3)
11: an FMG-cycle on the base grid. The multigrid method exhibits spatial
12: second-order accuracy, fast convergence, and
13: scalability. The numerical fluxes are conserved by using a refluxing
14: procedure in both the MHD solver and the multigrid
15: method. Several tests are performed and the results indicate that the
16: solutions are consistent with previously published results.
17: \end{abstract}
18: