Mechanism of electrode erosion in pulsed discharges in water with a pulse energy of ∼ 1 J