The longitudinal dynamics of drift compression and pulse shaping
for a space-charge-dominated heavy ion fusion beam is studied.
A nonperiodic quadrupole lattice is designed for a beam undergoing
drift compression, and an adiabatically matched solution is
found for the transverse envelope equations in the nonperiodic
lattice.