“…Homebuilt algorithms using similar mathematical methods have been written to model ion trajectories in high-pressure (0.1–10 Torr) ion traps (Collisional Ion Trap Simulator, CITSIM), , to study the effect of surface roughness and geometry deviations on ion trap performance, to calculate the electric fields in ion traps with apertures and linear ion traps with half round rod electrodes, to investigate ion/neutral collisions in 3D traps, and to find analytical expressions for ion motion and secular frequency in a superimposed octopole field using a harmonic balance method . Since simulations of multiple ions can be very computationally intensive, Xu et al have implemented GPU acceleration, wherein a computer’s graphics card is used as a parallel processing unit, in order to decrease computational time of space charge calculations by at least 2 orders of magnitude compared to a single core CPU .…”