We present a computer-aided design tool for ion optical devices using the adjoint variable method. Numerical methods have been essential for the development of ion optical devices such as electron ...