Kan, Yi KaiYi KaiKanKärtner, Franz X.Franz X.KärtnerLe Borne, SabineSabineLe BorneZemke, JensJensZemke2023-02-152023-02-152023-01-18Computer Physics Communications: 286: 108668 (2023-05)http://hdl.handle.net/11420/14828Space-charge effects are of great importance in particle accelerator physics. In the computational modeling, tree-based methods are increasingly used because of their effectiveness in handling non-uniform particle distributions and/or complex geometries. However, they are often formulated using an electrostatic force which is only a good approximation for low energy particle beams. For high energy, i.e., relativistic particle beams, the relativistic interaction kernel may need to be considered and the conventional treecode fails in this scenario. In this work, we formulate a treecode based on Lagrangian interpolation for computing the relativistic space-charge field. Two approaches are introduced to control the interpolation error. In the first approach, a modified admissibility condition is proposed for which the treecode can be used directly in the lab-frame. The second approach is based on the transformation of the particle beam to the rest-frame where the conventional admissibility condition can be used. Numerical simulation results using both methods will be compared and discussed.en0010-4655Computer Physics Communications2023North Holland Publ. Co.Admissibility conditionSeparable approximationSpace-charge field calculationSpecial relativityTreecodePhysics - Computational PhysicsPhysics - Computational PhysicsPhysics - Accelerator PhysicsMathematikRelativistic space-charge field calculation by interpolation-based treecodeJournal Article10.1016/j.cpc.2023.1086682206.02833v2Other