The Sun is modelled by a plane-parallel, three-layer plasma, using Cartesian geometry. One layer is the non-magnetic solar interior. Above it is a magnetised transitional layer that is sandwiched between the interior and the magnetised overlaying atmosphere.