Problem 1427 - G4HadronicProcessStore::GetCrossSectionPerAtom()
Summary: G4HadronicProcessStore::GetCrossSectionPerAtom()
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/hadronic/management (show other problems)
Version: other
Hardware: All All
: P5 normal
Assignee: dennis.herbert.wright
URL:
Depends on:
Blocks:
 
Reported: 2013-01-18 18:41 CET by michel.maire
Modified: 2013-10-15 17:56 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description michel.maire 2013-01-18 18:41:59 CET
While using neutronHP, one get a segmentation fault in G4HadronicProcessStore::GetCrossSectionPerAtom()
Comment 1 dennis.herbert.wright 2013-01-28 18:01:03 CET
Is this problem in version 9.6?
Comment 2 tkoi 2013-01-28 23:40:35 CET
Hi 

I think this is not a proble in HP.
The problem is happend in 

G4double GetElasticCrossSectionPerAtom(
     const G4ParticleDefinition *aParticle,
     G4double kineticEnergy,
     const G4Element *anElement, 
const G4Material* mat=0);


ComputeCrossSectionPerVolume()
Comment 3 tkoi 2013-01-28 23:46:56 CET
Please ignore previous comment that was issued by acccident accident

Hi 

I think this is not a problem in HP.
The problem is happened in 

G4double GetElasticCrossSectionPerAtom(
     const G4ParticleDefinition *aParticle,
     G4double kineticEnergy,
     const G4Element *anElement, 
     const G4Material* mat=0);

The last argument has default NULL value and this caused trouble in later phase
especially in HP.
This is not allowed in ComputeCrossSectionPerVolume() and this is the reason
this method works correctly as Michel wrote. 

Tatsumi
Comment 4 dennis.herbert.wright 2013-10-15 02:56:59 CEST
Hi Michel,

   Is this problem still happening?  Have you tried it with a recent tag?

Dennis
Comment 5 dennis.herbert.wright 2013-10-15 17:56:37 CEST
Problem solved and available in the 10.0.0 beta release.