Adaptive grid computation for inviscid compressible flows using a pressure correction method