Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
S src
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OPAL
  • src
  • Issues
  • #380

Closed
Open
Created Nov 08, 2019 by ext-calvo_p@ext-calvo_pDeveloper

Cyclotron collimator time step

Summary

Cyclotron collimator needs that each particle has own time step

Steps to reproduce

Collimator in BANDRF cyclotron without acceleration: particulas_1000_xUyUzU_pxpypz.dat BField_0T_const.dat trackingColl.in

What is the current bug behavior?

In ParallelCyclotronTracker time step is not an attribute not null for each particle, so the simulations breaks in CollimatorPhysics::copyFromBunch, because stepWidth=0

What is the expected correct behavior?

dt[i] should be equal to general timestep

Relevant logs and/or screenshots

Error> 
Error> *** Error:
Error>     Internal OPAL error: 
Error>     Assertion 'tau >= 0.0' failed. 
Error>     tau = -inf, 0.0 = 0.000000
Error>     in 
Error>     OPAL/src/src/Classic/Solvers/CollimatorPhysics.cpp, line  554

Possible fixes

For ParallelTTracker, dt[i] is update throught PartBunchBase<T, Dim>::switchToUnitlessPositions

Edited May 24, 2022 by ext-calvo_p
Assignee
Assign to
2022.1
Milestone
2022.1 (Past due)
Assign milestone
Time tracking