97 if (!mat) {
G4cout << material <<
"Not Found, Please Retry"<<
G4endl;}
106 std::vector<G4int> natoms;
107 std::vector<G4double> fractionMass;
108 std::vector<G4String> elements;
125 elements.push_back(
"Si"); fractionMass.push_back(0.1992);
126 elements.push_back(
"Ti"); fractionMass.push_back(0.02027);
127 elements.push_back(
"Al"); fractionMass.push_back(0.04758);
128 elements.push_back(
"Fe"); fractionMass.push_back(0.1303);
129 elements.push_back(
"Mn"); fractionMass.push_back(0.001549);
130 elements.push_back(
"Mg"); fractionMass.push_back(0.08141);
131 elements.push_back(
"Ca"); fractionMass.push_back(0.06468);
132 elements.push_back(
"Na"); fractionMass.push_back(0.01692);
133 elements.push_back(
"K"); fractionMass.push_back(0.008576);
134 elements.push_back(
"P"); fractionMass.push_back(0.001977);
135 elements.push_back(
"O"); fractionMass.push_back(0.427538);
142 fractionMass.clear();
148 elements.push_back(
"Ti"); natoms.push_back(33);
149 elements.push_back(
"Ba"); natoms.push_back(4131);
150 elements.push_back(
"Ce"); natoms.push_back(694);
151 elements.push_back(
"Co"); natoms.push_back(965);
152 elements.push_back(
"Cr"); natoms.push_back(5584);
153 elements.push_back(
"La"); natoms.push_back(269);
154 elements.push_back(
"Nb"); natoms.push_back(259);
155 elements.push_back(
"Nd"); natoms.push_back(410);
156 elements.push_back(
"Ni"); natoms.push_back(389);
157 elements.push_back(
"Rb"); natoms.push_back(227);
158 elements.push_back(
"Sc"); natoms.push_back(212);
159 elements.push_back(
"Sr"); natoms.push_back(8686);
160 elements.push_back(
"V"); natoms.push_back(4203);
161 elements.push_back(
"Y"); natoms.push_back(272);
162 elements.push_back(
"Zn"); natoms.push_back(1440);
163 elements.push_back(
"Th"); natoms.push_back(19);
164 elements.push_back(
"Sm"); natoms.push_back(93);
165 elements.push_back(
"Eu"); natoms.push_back(32);
166 elements.push_back(
"Gd"); natoms.push_back(89);
167 elements.push_back(
"Tb"); natoms.push_back(13);
168 elements.push_back(
"Yb"); natoms.push_back(15);
169 elements.push_back(
"Lu"); natoms.push_back(2);
170 elements.push_back(
"Ta"); natoms.push_back(15);
171 elements.push_back(
"Hf"); natoms.push_back(62);
192 elements.push_back(
"Si"); fractionMass.push_back(0.2313);
193 elements.push_back(
"Ti"); fractionMass.push_back(0.0127);
194 elements.push_back(
"Al"); fractionMass.push_back(0.0702);
195 elements.push_back(
"Fe"); fractionMass.push_back(0.1134);
196 elements.push_back(
"Mn"); fractionMass.push_back(0.0019);
197 elements.push_back(
"Mg"); fractionMass.push_back(0.0349);
198 elements.push_back(
"Ca"); fractionMass.push_back(0.0756);
199 elements.push_back(
"Na"); fractionMass.push_back(0.0892);
200 elements.push_back(
"K"); fractionMass.push_back(0.0032);
201 elements.push_back(
"P"); fractionMass.push_back(0.00096);
202 elements.push_back(
"S"); fractionMass.push_back(0.0004);
203 elements.push_back(
"O"); fractionMass.push_back(0.36624);
209 fractionMass.clear();
214 elements.push_back(
"Ba"); natoms.push_back(756);
215 elements.push_back(
"Ce"); natoms.push_back(328);
216 elements.push_back(
"Co"); natoms.push_back(643);
217 elements.push_back(
"Cr"); natoms.push_back(1000);
218 elements.push_back(
"Cu"); natoms.push_back(1396);
219 elements.push_back(
"Ga"); natoms.push_back(190);
220 elements.push_back(
"La"); natoms.push_back(103);
221 elements.push_back(
"Mo"); natoms.push_back(9);
222 elements.push_back(
"Nb"); natoms.push_back(114);
223 elements.push_back(
"Nd"); natoms.push_back(104);
224 elements.push_back(
"Ni"); natoms.push_back(544);
225 elements.push_back(
"Rb"); natoms.push_back(78);
226 elements.push_back(
"S"); natoms.push_back(5550);
227 elements.push_back(
"Sc"); natoms.push_back(531);
228 elements.push_back(
"Sr"); natoms.push_back(1353);
229 elements.push_back(
"U"); natoms.push_back(22);
230 elements.push_back(
"V"); natoms.push_back(4533);
231 elements.push_back(
"Y"); natoms.push_back(408);
232 elements.push_back(
"Zn"); natoms.push_back(1259);
233 elements.push_back(
"Zr"); natoms.push_back(1274);
255 elements.push_back(
"Fe"); fractionMass.push_back(0.1750);
256 elements.push_back(
"Ti"); fractionMass.push_back(0.0082);
257 elements.push_back(
"Ca"); fractionMass.push_back(0.0753);
258 elements.push_back(
"Si"); fractionMass.push_back(0.2188);
259 elements.push_back(
"Al"); fractionMass.push_back(0.0676);
260 elements.push_back(
"Mg"); fractionMass.push_back(0.0008);
261 elements.push_back(
"O"); fractionMass.push_back(0.4377);
262 elements.push_back(
"Mn"); fractionMass.push_back(0.0015);
263 elements.push_back(
"Na"); fractionMass.push_back(0.0134);
264 elements.push_back(
"K"); fractionMass.push_back(0.0011);
265 elements.push_back(
"P"); fractionMass.push_back(0.0006);
271 fractionMass.clear();
277 elements.push_back(
"Nb"); natoms.push_back(5);
278 elements.push_back(
"Zr"); natoms.push_back(91);
279 elements.push_back(
"Y"); natoms.push_back(29);
280 elements.push_back(
"Sr"); natoms.push_back(140);
281 elements.push_back(
"Rb"); natoms.push_back(3);
282 elements.push_back(
"Ga"); natoms.push_back(20);
283 elements.push_back(
"Zn"); natoms.push_back(99);
284 elements.push_back(
"Ni"); natoms.push_back(77);
285 elements.push_back(
"Sc"); natoms.push_back(32);
286 elements.push_back(
"V"); natoms.push_back(314);
287 elements.push_back(
"Cr"); natoms.push_back(130);
288 elements.push_back(
"Co"); natoms.push_back(56);
289 elements.push_back(
"Cu"); natoms.push_back(119);
290 elements.push_back(
"Ba"); natoms.push_back(38);
291 elements.push_back(
"Ce"); natoms.push_back(15);
292 elements.push_back(
"Nd"); natoms.push_back(9);
315 elements.push_back(
"Fe"); fractionMass.push_back(0.100916);
316 elements.push_back(
"Ti"); fractionMass.push_back(0.0186804);
317 elements.push_back(
"Ca"); fractionMass.push_back(0.0404091);
318 elements.push_back(
"Si"); fractionMass.push_back(0.196378);
319 elements.push_back(
"Al"); fractionMass.push_back(0.103282);
320 elements.push_back(
"Mg"); fractionMass.push_back(0.0241622);
321 elements.push_back(
"Mn"); fractionMass.push_back(0.00184331);
322 elements.push_back(
"Na"); fractionMass.push_back(0.0177908);
323 elements.push_back(
"K"); fractionMass.push_back(0.00574498);
324 elements.push_back(
"P"); fractionMass.push_back(0.00280169);
325 elements.push_back(
"O"); fractionMass.push_back(0.48799152);
331 fractionMass.clear();
333 elements.push_back(
"Nb"); natoms.push_back(55);
334 elements.push_back(
"Zr"); natoms.push_back(433);
335 elements.push_back(
"Y"); natoms.push_back(58);
336 elements.push_back(
"Sr"); natoms.push_back(968);
337 elements.push_back(
"Rb"); natoms.push_back(16);
338 elements.push_back(
"Ga"); natoms.push_back(24);
339 elements.push_back(
"Zn"); natoms.push_back(109);
340 elements.push_back(
"Ni"); natoms.push_back(70);
341 elements.push_back(
"Sc"); natoms.push_back(21);
342 elements.push_back(
"V"); natoms.push_back(134);
343 elements.push_back(
"Cr"); natoms.push_back(141);
344 elements.push_back(
"Co"); natoms.push_back(30);
345 elements.push_back(
"Cu"); natoms.push_back(19);
346 elements.push_back(
"Ba"); natoms.push_back(580);
347 elements.push_back(
"Pb"); natoms.push_back(4);
348 elements.push_back(
"S"); natoms.push_back(444);
349 elements.push_back(
"U"); natoms.push_back(2);
368 elements.push_back(
"Fe"); fractionMass.push_back(1.1819860E-01);
369 elements.push_back(
"Ti"); fractionMass.push_back(2.2781000E-02);
370 elements.push_back(
"Ca"); fractionMass.push_back(4.5026100E-02);
371 elements.push_back(
"Si"); fractionMass.push_back(2.0518860E-01);
372 elements.push_back(
"Al"); fractionMass.push_back(1.3285430E-01);
373 elements.push_back(
"Mg"); fractionMass.push_back(2.4120000E-03);
374 elements.push_back(
"Na"); fractionMass.push_back(2.2257000E-02);
375 elements.push_back(
"K"); fractionMass.push_back(4.9812000E-03);
376 elements.push_back(
"O"); fractionMass.push_back(4.4630120E-01);
381 fractionMass.clear();
390 elements.push_back(
"Fe"); fractionMass.push_back(1.1120460E-01);
391 elements.push_back(
"Ti"); fractionMass.push_back(2.1582000E-02);
392 elements.push_back(
"Ca"); fractionMass.push_back(4.3596700E-02);
393 elements.push_back(
"Si"); fractionMass.push_back(2.1313440E-01);
394 elements.push_back(
"Al"); fractionMass.push_back(1.0374280E-01);
395 elements.push_back(
"Mg"); fractionMass.push_back(1.9296000E-02);
396 elements.push_back(
"Na"); fractionMass.push_back(2.8192200E-02);
397 elements.push_back(
"K"); fractionMass.push_back(5.8114000E-03);
398 elements.push_back(
"P"); fractionMass.push_back(4.8004000E-03);
399 elements.push_back(
"Mn"); fractionMass.push_back(2.3235000E-03);
400 elements.push_back(
"O"); fractionMass.push_back(4.4531600E-01);
405 fractionMass.clear();
414 elements.push_back(
"Si"); fractionMass.push_back(2.2949340E-01);
415 elements.push_back(
"Ti"); fractionMass.push_back(1.1990000E-02);
416 elements.push_back(
"Al"); fractionMass.push_back(7.0396900E-02);
417 elements.push_back(
"Fe"); fractionMass.push_back(1.1330280E-01);
418 elements.push_back(
"Mg"); fractionMass.push_back(3.4974000E-02);
419 elements.push_back(
"Ca"); fractionMass.push_back(7.5758200E-02);
420 elements.push_back(
"Na"); fractionMass.push_back(1.8547500E-02);
421 elements.push_back(
"K"); fractionMass.push_back(3.3208000E-03);
422 elements.push_back(
"O"); fractionMass.push_back(4.4121640E-01);
427 fractionMass.clear();
437 elements.push_back(
"Si"); fractionMass.push_back(2.4304800E-01);
438 elements.push_back(
"Ti"); fractionMass.push_back(1.3788500E-02);
439 elements.push_back(
"Al"); fractionMass.push_back(6.5103900E-02);
440 elements.push_back(
"Fe"); fractionMass.push_back(1.1819860E-01);
441 elements.push_back(
"Mn"); fractionMass.push_back(2.3235000E-03);
442 elements.push_back(
"Mg"); fractionMass.push_back(2.3517000E-02);
443 elements.push_back(
"Ca"); fractionMass.push_back(8.2190500E-02);
444 elements.push_back(
"K"); fractionMass.push_back(3.3208000E-03);
445 elements.push_back(
"P"); fractionMass.push_back(1.3092000E-03);
446 elements.push_back(
"O"); fractionMass.push_back(4.4620000E-01);
451 fractionMass.clear();
459 elements.push_back(
"Si"); fractionMass.push_back(1.8696000E-01);
460 elements.push_back(
"Ti"); fractionMass.push_back(2.3380500E-02);
461 elements.push_back(
"Al"); fractionMass.push_back(4.6049100E-02);
462 elements.push_back(
"Fe"); fractionMass.push_back(1.2239500E-01);
463 elements.push_back(
"Mg"); fractionMass.push_back(8.3817000E-02);
464 elements.push_back(
"Ca"); fractionMass.push_back(1.0720500E-01);
465 elements.push_back(
"Na"); fractionMass.push_back(5.9352000E-03);
466 elements.push_back(
"K"); fractionMass.push_back(1.6604000E-03);
467 elements.push_back(
"O"); fractionMass.push_back(4.2259780E-01);
472 fractionMass.clear();
481 elements.push_back(
"Si"); fractionMass.push_back(1.6826400E-01);
482 elements.push_back(
"Ti"); fractionMass.push_back(2.2781000E-02);
483 elements.push_back(
"Al"); fractionMass.push_back(5.8223000E-02);
484 elements.push_back(
"Fe"); fractionMass.push_back(1.2729080E-01);
485 elements.push_back(
"Mn"); fractionMass.push_back(1.5490000E-03);
486 elements.push_back(
"Mg"); fractionMass.push_back(8.3817000E-02);
487 elements.push_back(
"Ca"); fractionMass.push_back(1.1721080E-01);
488 elements.push_back(
"Na"); fractionMass.push_back(0.0000000E+00);
489 elements.push_back(
"K"); fractionMass.push_back(1.6604000E-03);
490 elements.push_back(
"P"); fractionMass.push_back(1.7456000E-03);
491 elements.push_back(
"O"); fractionMass.push_back(4.1845840E-01);
496 fractionMass.clear();
506 elements.push_back(
"Fe"); fractionMass.push_back(0.095283);
507 elements.push_back(
"Mn"); fractionMass.push_back(0.00137086);
508 elements.push_back(
"Ni"); fractionMass.push_back(5e-5);
509 elements.push_back(
"Cu"); fractionMass.push_back(5.2e-4);
510 elements.push_back(
"Na"); fractionMass.push_back(0.017635);
511 elements.push_back(
"Mg"); fractionMass.push_back(0.0245361);
512 elements.push_back(
"Al"); fractionMass.push_back(0.0800355);
513 elements.push_back(
"Si"); fractionMass.push_back(0.232204);
514 elements.push_back(
"Ca"); fractionMass.push_back(0.0635368);
515 elements.push_back(
"K"); fractionMass.push_back(0.00464912);
516 elements.push_back(
"C"); fractionMass.push_back(0.000837803);
517 elements.push_back(
"P"); fractionMass.push_back(0.00176742);
518 elements.push_back(
"Ti"); fractionMass.push_back(0.0240879);
519 elements.push_back(
"Cl"); fractionMass.push_back(0.00014);
520 elements.push_back(
"Pd"); fractionMass.push_back(0.00001);
521 elements.push_back(
"Cd"); fractionMass.push_back(0.00018);
522 elements.push_back(
"Ag"); fractionMass.push_back(0.00048);
523 elements.push_back(
"S"); fractionMass.push_back(0.00144);
524 elements.push_back(
"V"); fractionMass.push_back(0.00228);
525 elements.push_back(
"Ba"); fractionMass.push_back(0.00151);
526 elements.push_back(
"O"); fractionMass.push_back(0.447026);
531 fractionMass.clear();
540 elements.push_back(
"Si"); fractionMass.push_back(1.8284688E-01);
541 elements.push_back(
"Ti"); fractionMass.push_back(2.2601150E-02);
542 elements.push_back(
"Al"); fractionMass.push_back(4.4831710E-02);
543 elements.push_back(
"Fe"); fractionMass.push_back(1.2578402E-01);
544 elements.push_back(
"Mn"); fractionMass.push_back(1.3166500E-03);
545 elements.push_back(
"Mg"); fractionMass.push_back(8.1706500E-02);
546 elements.push_back(
"Ca"); fractionMass.push_back(1.0506090E-01);
547 elements.push_back(
"Na"); fractionMass.push_back(5.4900600E-03);
548 elements.push_back(
"K"); fractionMass.push_back(1.4943600E-03);
549 elements.push_back(
"P"); fractionMass.push_back(3.4912000E-04);
550 elements.push_back(
"O"); fractionMass.push_back(4.0651865E-01);
555 fractionMass.clear();
559 elements.push_back(
"Ga"); natoms.push_back(1);
560 elements.push_back(
"As"); natoms.push_back(1);
562 density = 5.32 *
g/
cm3;
585 elements.push_back(
"C"); natoms.push_back(9);
586 elements.push_back(
"H"); natoms.push_back(10);
588 density = 1.032*
g/
cm3;
596 density = universe_mean_density;
608 elements.push_back(
"Fe"); fractionMass.push_back(0.1200);
609 elements.push_back(
"Ti"); fractionMass.push_back(0.0160);
610 elements.push_back(
"Ca"); fractionMass.push_back(0.0750);
611 elements.push_back(
"Si"); fractionMass.push_back(0.2160);
612 elements.push_back(
"Al"); fractionMass.push_back(0.0710);
613 elements.push_back(
"Mg"); fractionMass.push_back(0.0590);
614 elements.push_back(
"O"); fractionMass.push_back(0.4430);
619 fractionMass.clear();
624 density = 2330*
kg/
m3;
628 elements.push_back(
"Si"); natoms.push_back(1);
629 elements.push_back(
"Si"); natoms.push_back(1);
639 density = 8920*
kg/
m3;
642 elements.push_back(
"Cu"); natoms.push_back(1);
643 elements.push_back(
"Cu"); natoms.push_back(1);
G4Material * icelandicBasalt
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
void AddMaterial(G4Material *material, G4double fraction)
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
static G4MaterialTable * GetMaterialTable()
static G4NistManager * Instance()
G4Material * ConstructNewMaterial(const G4String &name, const std::vector< G4String > &elm, const std::vector< G4int > &nbAtoms, G4double dens, G4bool isotopes=true, G4State state=kStateSolid, G4double temp=CLHEP::STP_Temperature, G4double pressure=CLHEP::STP_Pressure)
static XrayFluoNistMaterials * GetInstance()
G4GLOB_DLL std::ostream G4cout
G4Material * GetMaterial(G4String)
static const double kelvin
static XrayFluoNistMaterials * instance