Problem 1797 - in G4DensityEffectData::Initialize() "G4_lH2" change kStateSolid to kStateLiquid
Summary: in G4DensityEffectData::Initialize() "G4_lH2" change kStateSolid to kStateLi...
Status: RESOLVED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: materials (show other problems)
Version: 10.1
Hardware: All All
: P5 major
Assignee: Vladimir.Ivantchenko
URL:
Depends on:
Blocks:
 
Reported: 2015-11-07 07:19 CET by a.ramazani
Modified: 2015-11-11 19:16 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 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