Add linear profile for smc case in mhd.