Development of simulation tools for modeling the trajectory of ion beams the evolution of their phase space distribution in complex fields.