| Summary: | Crash in G4UrbanMscModel in Geatn4 8.2 | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Florian Uhlig <f.uhlig> |
| Component: | processes/electromagnetic | Assignee: | Vladimir.Ivantchenko |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | ||
| Priority: | P5 | ||
| Version: | 8.2 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
(In reply to comment #0) After i send the bugreport i saw that this problem was already solved in version 8.3. Installing this version does the job for me. *** This problem has been marked as a duplicate of problem 905 *** |
I have a problem with Geant4 version 8.2. I have a division by zero in G4UrbanMscModel. In thefollowing code the value of tau is zero which results in a floating point exception in the indicated line. if(trueStepLength >= currentRange*dtrl) if(par1*trueStepLength < 1.) tau = -par2*log(1.-par1*trueStepLength) ; else tau = taubig ; currentTau = tau ; * lambdaeff = trueStepLength/currentTau; currentRadLength = couple->GetMaterial()->GetRadlen();