Changeset 1228 for trunk/source/materials/src/G4NistMaterialBuilder.cc
- Timestamp:
- Jan 8, 2010, 11:56:51 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/materials/src/G4NistMaterialBuilder.cc
r1196 r1228 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4NistMaterialBuilder.cc,v 1.2 2 2009/11/03 17:02:03 alechnerExp $27 // GEANT4 tag $Name: materials-V09-02-18$26 // $Id: G4NistMaterialBuilder.cc,v 1.23 2009/11/24 17:19:10 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03 $ 28 28 // 29 29 // … … 83 83 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 84 84 85 G4Material* G4NistMaterialBuilder::FindOrBuildMaterial(const G4String& name,85 G4Material* G4NistMaterialBuilder::FindOrBuildMaterial(const G4String& matname, 86 86 G4bool isotopes, 87 87 G4bool warning) … … 94 94 } 95 95 96 if (verbose > 1) 96 G4String name = matname; 97 if("G4_NYLON-6/6" == matname) name = "G4_NYLON-6-6"; 98 if("G4_NYLON-6/10" == matname) name = "G4_NYLON-6-10"; 99 100 if (verbose > 1) { 97 101 G4cout << "G4NistMaterialBuilder::FindOrBuildMaterial " << name << G4endl; 98 102 } 99 103 const G4MaterialTable* theMaterialTable = G4Material::GetMaterialTable(); 100 104 G4int nmat = theMaterialTable->size();
Note: See TracChangeset
for help on using the changeset viewer.