摘要

A new thee-dimensional code, ion optics simulator (IOS), to simulate ion beam extraction is developed in visual C++ language. The theoretical model, the flowchart of code, and the results of calculation as an example are presented.