Problem 1797

Summary: in G4DensityEffectData::Initialize() "G4_lH2" change kStateSolid to kStateLiquid
Product: Geant4 Reporter: a.ramazani
Component: materialsAssignee: Vladimir.Ivantchenko
Status: RESOLVED INVALID    
Severity: major    
Priority: P5    
Version: 10.1   
Hardware: All   
OS: All   

Description a.ramazani 2015-11-07 07:19:11 CET
geant4.10.01.p02/source/materials/src/G4DensityEffectData.cc

for index 0 liquid Hydrogen default state is kStateSolid:
change kStateSolid to kStateLiquid:

Line: 83
inside: void G4DensityEffectData::Initialize():
  indexZ[0]=1;
  state[0]=kStateLiquid;
Comment 1 Vladimir.Ivantchenko 2015-11-11 19:15:09 CET
Hello,

this array with material state does not used for computation of the density effect. I agree that the definition is not accurate  but more correct would be simply to remove it. Because it is not critical for come release 10.2 we will cleanup this code just after the release.

VI