Problem 746

Summary: Missing comma in G4IonisParamMat.cc
Product: Geant4 Reporter: aso
Component: materialsAssignee: Michel.Maire
Status: RESOLVED FIXED    
Severity: trivial    
Priority: P4    
Version: 7.0   
Hardware: All   
OS: All   

Description aso 2005-05-04 18:23:24 CEST
I found that the comma is missing in a array statement in
G4IonisParamMat::FindMeanExcitationEnergy( ).
The name of the array is "name", and after the element  "C_8H_10",
a comma is missing. so that we can not access to the excitation energy
for solid materials.

----------------------------
G4double G4IonisParamMat::FindMeanExcitationEnergy(const G4String& chFormula)
{
   ---- Snipped ----

  const size_t numberOfMolecula = 79 ;

  static G4String name[numberOfMolecula] = {

    // gas
    "NH_3",       "C_4H_10",    "CO_2",       "C_2H_6",      "C_7H_16",
    "C_6H_14",    "CH_4",       "NO",         "N_2O",        "C_8H_18",
    "C_5H_12",    "C_3H_8",     "H_2O-Gas",

    // liquid
    "C_3H_6O",    "C_6H_5NH_2",  "C_6H_6",    "C_4H_9OH",    "CCl_4",
    "C_6H_5Cl",   "CHCl_3",      "C_6H_12",   "C_6H_4Cl_2",  "C_4Cl_2H_8O",
    "C_2Cl_2H_4", "(C_2H_5)_2O", "C_2H_5OH",  "C_3H_5(OH)_3","C_7H_16",
    "C_6H_14",    "CH_3OH",      "C_6H_5NO_2","C_5H_12",     "C_3H_7OH",
    "C_5H_5N",    "C_8H_8",      "C_2Cl_4",   "C_7H_8",      "C_2Cl_3H",
    "H_2O",       "C_8H_10"
                        ^^^^^^  Here a comma is missing!!
    //solid
    "C_5H_5N_5",  "C_5H_5N_5O",  "(C_6H_11NO)-nylon",  "C_25H_52",
----- Snipped -----
Comment 1 Michel.Maire 2005-05-10 12:30:59 CEST
Thanks for reporting the problem. The file is corrected, and will be in the next
release.
            Michel Maire