Specific features of gas-discharge closing when a shock wave passes through the region of an applied electric field