For an ion accelerator system having a special magnetic field structure
with an alternating predominantly longitudinal and crosswise progression
of the magnetic field, a geometry of the ionization chamber having a
non-cylindrical shape of the chamber wall that is adapted to the
progression of the magnetic field is proposed.