Simulation of Ion Transfer During Electrochemical Shaping by Ultrashort Pulses