Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects

Resolve "Track back in time"

Merged kraus requested to merge 353-track-back-in-time_kraus into master

Closes #353 (closed)

Edited by kraus

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1196 if (pathLength_m > stepSizes_m.getZStop()) {
1197 ++ stepSizes_m;
1203 1198
1204 dtAllTracks_m.pop();
1205 localTrackSteps_m.pop();
1206 zStop_m.pop();
1199 if (stepSizes_m.reachedEnd()) return;
1207 1200
1201 dtCurrentTrack_m = stepSizes_m.getdT();
1208 1202 changeDT();
1209 1203 }
1210 1204
1211 1205 double speed = euclidean_norm(itsBunch_m->RefPartP_m * Physics::c / Util::getGamma(itsBunch_m->RefPartP_m));
1212 1206 if (std::abs(pathLength_m - zstart_m) <= 0.5 * itsBunch_m->getdT() * speed) {
1213 double tau = (pathLength_m - zstart_m) / speed;
1207 double tau = (zstart_m - pathLength_m) / speed;
  • Author Developer

    This correction of sign and the factor 2 below requires recalculated references for many OPAL-T regression tests.

  • Please register or sign in to reply
    • Resolved by snuverink_j

      I also think we should get a regression test for this, since this is probably not that often used, and is probably somewhat fragile (I haven't looked in detail to the code yet though).

  • snuverink_j
  • snuverink_j
  • snuverink_j
  • snuverink_j
  • snuverink_j
  • snuverink_j
  • snuverink_j
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading