| Summary: | Time is reset to zero when a field exerts force | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Bertalan.Juhasz |
| Component: | processes/transportation | Assignee: | John Apostolakis <John.Apostolakis> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 7.1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
Bertalan.Juhasz
2006-11-28 04:02:46 CET
Dear Bertalan, Thank you for the problem report. Your case is unusual, as it involves an extension to the ability of the Transportation. Considering this and the likeliest scenario for its implementatation, I identified a likely cause in the class G4Mag_SpinEqRhs, which does not enable the integration of the time, using the path length and velocity. A correction is in preparation, utilising the functionality already available in the equation for the full Electromagnetic field. I am sharing prototype code for this via direct contact - and other affected users are encouraged to contact us. John Apostolakis Together with the user we have figured out that the origin of the issue was in a user-written Equation of Motion class. Two revisions were necessary in the application code: - revising the equation of motion to update the time , as is done in equation for the 'full' electromagnetic field, and - ensuring all relevant classes are initialized with all 8 relevant components (x,y,z, 3p, null, t) chosen for integration. Many thanks to Bertalan for his feedback. Best regards, John Apostolakis |