Problem 1551 - B1Con run1.mac division by zero in G4ConvergenceTester.cc:156
Summary: B1Con run1.mac division by zero in G4ConvergenceTester.cc:156
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: global/HEPNumerics (show other problems)
Version: 10.0
Hardware: PC Linux
: P5 normal
Assignee: tkoi
URL:
Depends on:
Blocks:
 
Reported: 2013-12-22 10:16 CET by Vittorio Zecca
Modified: 2014-02-11 22:06 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Vittorio Zecca 2013-12-22 10:16:55 CET
Running test case B1Con run1.mac I get zero divided by zero
at G4ConvergenceTester.cc:156 because variables vov and var are zero.
Comment 1 tkoi 2014-02-11 22:06:58 CET
Thank you for reporting problem. 

I add protections to avoid core dumps caused by divided by zero in G4ConvergenceTester.
Now G4convergenceTester becomes much robust than before. 
I also increase number of events of run1.mac to fit the purpose of B1Con example.