Resolve "Track back in time"
Closes #353 (closed)
Edited by kraus
Merge request reports
Activity
Filter activity
added Enhancement Feature request labels
added 3 commits
-
a0ccde7a...e1d32631 - 2 commits from branch
master
- 2c81b970 - Merge branch 'master' into 353-track-back-in-time_kraus
-
a0ccde7a...e1d32631 - 2 commits from branch
added 1 commit
- 850b6d85 - reintroduce check that particles have kinetic energy greater than 1e-3 eV
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; - Resolved by kraus
The documentation also needs to be updated (attribute
REVTRACK
).
- 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).
- Resolved by kraus
- Resolved by kraus
- Resolved by kraus
- Resolved by kraus
- Resolved by snuverink_j
- Resolved by snuverink_j
- Resolved by kraus
- Resolved by kraus
- Resolved by snuverink_j
Please register or sign in to reply