Skip to content

Xtrack version 0.1.0

Choose a tag to compare

@giadarol giadarol released this 04 Aug 13:06
· 9716 commits to main since this release

New features:

  • Electron lens element has been introduced (thanks @phermes)
  • Linear Transfer matrix element has been introduced (thanks @xbuffat).
  • PyHEADTAIL interface has been improved to support slicing features (thanks @xbuffat)
  • Multithreading via OpenMP is now fully supported (it can be enabled when creating the context, e.g. xo.ContextCpu(omp_num_threads=8). At the source code level the developer needs to use the annotation \\start_per_particle_block which introduces the necessary directives (see documentation).
  • Particles coordinate names in xtrack, xline and xpart have been aligned. Now it is possible to create xtrack particles form xpart or xline particles simply by xtrackpart = xt.Particles(**xpartpart.to_dict()). The function xt.pyparticles_to_xtrack_dict has been removed.