The Matching of the Viscid and Inviscid Regions for the Stagnation Magnetic Flow