Method of determining initial tangents of contours of flow variables behind a curved, axially symmetric shock wave