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
  • #401

Closed
Open
Opened Nov 25, 2019 by snuverink_j@snuverink_j
  • Report abuse
  • New issue
Report abuse New issue

Closed Orbit Finder should not call exit()

Summary

Closed orbit finder is exiting without giving the timer information and calling the proper exit methods.

Steps to reproduce

Any input file with OPTION, CLOTUNEONLY = TRUE, e.g. https://gitlab.psi.ch/OPAL/src/wikis/Cyclotron/cyclotronTune-2-1.in

What is the current bug behavior?

The program exits after the last energy

What is the expected correct behavior?

Timing information and a proper exit call

Relevant logs and/or screenshots

last few lines:

OPAL> * ----------------------------
OPAL> * Closed orbit info (Gordon units):
OPAL> *
OPAL> * kinetic energy:   590          [MeV]
OPAL> * average radius:   4.43029      [m]
OPAL> * initial radius:   4.40192      [m]
OPAL> * initial momentum: 0.210161     [Beta Gamma]
OPAL> * frequency error:  0.000898961
OPAL> * horizontal tune:  1.33751
OPAL> * vertical tune:    1.21163
OPAL> * ----------------------------
OPAL> 

Possible fixes

Relevant code block: https://gitlab.psi.ch/OPAL/src/blob/master/src/Distribution/Distribution.cpp#L1342

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

Linked issues

Assignee
Assign to
OPAL-2.2.0
Milestone
OPAL-2.2.0
Assign milestone
Time tracking
None
Due date
None
2
Labels
Enhancement OPAL 2.1
Assign labels
  • View project labels
Reference: OPAL/src#401