Numerically investigating the morphology of the supernova remnant SN 1006 in the ambient medium with a density discontinuity