The Joint Accelerator Conferences Website (JACoW) is an international collaboration that publishes the proceedings of accelerator conferences held around the world.
TY - CONF AU - Fukushima, K. AU - Davidsaver, M.A. AU - He, Z.Q. AU - Ikegami, M. AU - Qiang, J. AU - Shen, G. AU - Yoshimoto, T. AU - Zhang, T. ED - Koscielniak, Shane ED - Satogata, Todd ED - Schaa, Volker RW ED - Thomson, Jana TI - Simulation Code Design for the Interpreted Language Using the Compiled Module J2 - Proc. of IPAC2018, Vancouver, BC, Canada, April 29-May 4, 2018 C1 - Vancouver, BC, Canada T2 - International Particle Accelerator Conference T3 - 9 LA - english AB - We are planning to use two types of the accelerator simulation codes for FRIB (Facility for Rare Isotope Beams). One is the linear envelope tracking code "FLAME" for fast simulations. FLAME can calculate the FRIB-linac beam envelope within an order of ms. This is useful in systematic surveys, wide range optimizations and so forth. This code, written in C++, was designed with Python interface from the beginning. On the other hand, "Advanced-IMPACT" is the particle tracking code dedicated for precise and realistic calculations, which can simulate the particle losses, nonlinear and space-charge effects. This code is refactored from the Fortran code IMPACT-Z developed in LBNL. Both codes provide the compiled modules for Python to support flexible inputs and direct outputs management in memory. In other words, they can be directly connected to the modern scientific tools through the Python interface without delay in the data transport. In addition, these modules can accomplish the interactive simulation processes without losing computational efficiency. We report the knowledges applicable for other accelerator simulation codes among those obtained through these developments and designs. PB - JACoW Publishing CP - Geneva, Switzerland SP - 3327 EP - 3329 KW - simulation KW - interface KW - EPICS KW - linac KW - lattice DA - 2018/06 PY - 2018 SN - 978-3-95450-184-7 DO - 10.18429/JACoW-IPAC2018-THPAK049 UR - http://jacow.org/ipac2018/papers/thpak049.pdf ER -