Numerical study on the interaction of a weak shock wave with an elliptic gas cylinder