Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Submit feedback
  • Sign in
S
src
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 70
    • Issues 70
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 4
    • Merge Requests 4
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • OPAL
  • src
  • Issues
  • #14

Closed
Open
Opened Dec 15, 2016 by Valeria Rizzoglio@rizzoglio_v
  • Report abuse
  • New issue
Report abuse New issue

Particles stored in trackOrbit.dat

According to the OPAL manual (pag. 40):

Multi-particle tracking mode

The intermediate phase space data of centeral particle (with ID of 0) and an off-centering particle (with ID of 1) are stored in an ASCII file.

Concerning the particle with ID0:

  • particle position is not updated in case OFFSETY > 0 is set in the distribution definition. The tracking of this particle does not reflect the beam behavior (because of the offset)

  • Is the general idea: ID0 particle = reference particle?

Concerning the particle with ID1:

  • Distribution from file: the second particle in the distribution file is used as ID1

  • Generated distribution: It seems that a random particle from the distribution is set as ID1

A possible suggestion:

  • Distribution from file: the first and the second particle in the file are used as ID0 and ID1, respectively. The user is completely free to decide which particles track.

  • Generated distribution (Option 1): ID0 is by default assigned to the reference particle (with updated offset). An option can be added to the DISTRIBUTION command where the user can specify which particle uses as ID1 (ie: DISPERSION, CENTROID or USERDEF or NULL = not stored). This means that the first two particles generated by OPAL are replaced with ID0 (reference) and ID1, if option NULL is not specified.

  • Generated distribution (Option 2): An option can be added to the DISTRIBUTION command where the user can specify which particle uses as ID0 and ID1 (ie: DISPERSION, CENTROID or USERDEF or or NULL = not stored)

A possible problem could arise in case of multi-distribution or vector of distribution

To upload designs, you'll need to enable LFS. More information

Linked issues

Assignee
Assign to
OPAL 1.5.1
Milestone
OPAL 1.5.1
Assign milestone
Time tracking
None
Due date
None
1
Labels
Bug
Assign labels
  • View project labels
Reference: OPAL/src#14