79 G4NistManager::G4NistManager()
92 for(
G4int j=1; j<101; ++j) {
94 POWERA27[j] = std::pow(A,0.27);
95 LOGAZ[j] = std::log(A);
107 size_t nmat = theMaterialTable->size();
109 for(i=0; i<nmat; i++) {
110 if((*theMaterialTable)[i]) {
delete (*theMaterialTable)[i]; }
114 size_t nelm = theElementTable->size();
115 for(i=0; i<nelm; i++) {
116 if((*theElementTable)[i]) {
delete (*theElementTable)[i]; }
120 size_t niso = theIsotopeTable->size();
121 for(i=0; i<niso; i++) {
122 if((*theIsotopeTable)[i]) {
delete (*theIsotopeTable)[i]; }
142 G4cout <<
"G4NistManager::BuildMaterialWithNewDensity ERROR: " <<
G4endl;
143 G4cout <<
" New material <" << name <<
"> cannot be built because material"
144 <<
" with the same name already exist" <<
G4endl;
145 G4Exception(
"G4NistManager::BuildMaterialWithNewDensity()",
"mat101",
151 G4cout <<
"G4NistManager::BuildMaterialWithNewDensity ERROR: " <<
G4endl;
152 G4cout <<
" New material <" << name <<
"> cannot be built because " <<
G4endl;
153 G4cout <<
" base material <" << basename <<
"> does not exist" <<
G4endl;
154 G4Exception(
"G4NistManager::BuildMaterialWithNewDensity()",
"mat102",
184 size_t nelm = theElementTable->size();
185 for(
size_t i=0; i<nelm; i++) {
199 size_t nmat = theMaterialTable->size();
200 for(
size_t i=0; i<nmat; i++) {