| Summary: | G4HadronicProcessStore::GetCrossSectionPerAtom() | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | michel.maire |
| Component: | processes/hadronic/management | Assignee: | dennis.herbert.wright |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | tkoi |
| Priority: | P5 | ||
| Version: | other | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
michel.maire
2013-01-18 18:41:59 CET
Is this problem in version 9.6? 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()
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
Hi Michel, Is this problem still happening? Have you tried it with a recent tag? Dennis Problem solved and available in the 10.0.0 beta release. |