Problem 325 - G4Material::GetZ() and G4Material::GetA() not defined for Mixtures
Summary: G4Material::GetZ() and G4Material::GetA() not defined for Mixtures
Status: RESOLVED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: materials (show other problems)
Version: 3.2
Hardware: PC Linux
: P2 critical
Assignee: Michel.Maire
URL:
Depends on:
Blocks:
 
Reported: 2001-11-28 10:13 CET by mazini
Modified: 2001-11-30 11:12 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 mazini 2001-11-28 10:13:21 CET
G4Material::GetZ() is not defined to return the Z of a G4Material if it's a
mixture (NumberOfElements > 1). Instead a G4Exception is applied!
This Problem happened when using G4NeutronIsotopeProduction (in GetIsotope
method).
The same problem exist in G4Material::GetA().