Paper | Title | Page |
---|---|---|
MyBOC - A Beam Optics Code Based on Lie Algebra | ||
|
||
Recently, A beam optics code named MyBOC(My Beam Optics Code),which is based on Lie algebra, has been developed. MyBOC is a charged-particle beam transport code which use Lie-algebraic map method up to 3nd order to treat the full 6-dimensional phase including all possible linear and nolinear transverse and longitudinal couplings. The Nonlinear space-charge effect can be included. The current version of MyBOC can deal with about 20 types of beam transport and accelerating elements. The common elements, like drifts, dipoles, quadrupoles, sextupoles, solenoid lens, RF accelerating gaps,and so on, are mostly included. Speclially, some electrostatic accelerating and focusing elements are also included. Unlike other codes, MyBOC is written by C++, not fortran. A C++ class library named AccLib is created to deal with the tasks of simulation,data input and output. The interface of MyBOC is very friendly. The data format on input file use HTML-like style, which is almost self-explanatory. The data input can also execute in graphics mode. The output data can be shown in graphics and can also be saved to data files. The phase space along the beamline can be shown in animation mode. |