Bernas ion source discharge simulation.