Computational study of shock wave control by pulse energy deposition