The Joint Accelerator Conferences Website (JACoW) is an international collaboration that publishes the proceedings of accelerator conferences held around the world.
TY - CONF AU - Zhang, H. AU - Zhang, Y. ED - Yamazaki, Yoshishige ED - Raubenheimer, Tor ED - McCausey, Amy ED - Schaa, Volker RW TI - A C++ TPSA/DA Library With Python Wrapper J2 - Proc. of NAPAC2019, Lansing, MI, USA, 01-06 September 2019 CY - Lansing, MI, USA T2 - North American Particle Accelerator Conference T3 - 4 LA - english AB - Truncated power series algebra (TPSA) or differential algebra (DA) is often used by accelerator physicists to generate a transfer map of a dynamic system. The map then can be used in dynamic analysis of the system or in particle tracking study. TPSA/DA can also be used in some fast algorithms, eg. the fast multipole method, for collective effect simulation. This paper reports a new TPSA/DA library written in C++. This library is developed based on Dr. Lingyun Yang’s TPSA code, which has been used in MAD-X and PTC. Compared with the original code, the updated version has the following changes: (1) The memory management has been revised to improve the efficiency; (2) A new data type of DA vector is defined and supported by most frequently used operators; (3) Support of inverse trigonometric functions and hyperbolic functions for the DA vector has been added; (4) function composition is revised for better efficiency; (5) a python wrapper is provided. The code is hosted at github and available to the public. PB - JACoW Publishing CP - Geneva, Switzerland SP - 796 EP - 798 KW - multipole KW - simulation KW - operation KW - framework KW - collective-effects DA - 2019/10 PY - 2019 SN - 2673-7000 SN - 978-3-95450-223-3 DO - doi:10.18429/JACoW-NAPAC2019-WEPLS14 UR - http://jacow.org/napac2019/papers/wepls14.pdf ER -