A numerical method for self-similar solutions of ideal magnetohydrodynamics. - Chen, Fang; Samtaney, Ravi (J. Comput. Phys., 2021)