63 G4gsmixt(imate,name,a,z,dens,nlmat,wmat);
86 for (i=0; i<std::abs(nlmat); i++) {
91 G4String text =
"G4mixt: Total molecular weight in " + name +
" = 0.";
95 for (i=0; i<std::abs(nlmat); i++) {
97 wmat[i] = wmat[i]*a[i]/aMol;
105 =
new G4Material(name, dens*g/cm3, std::abs(nlmat));
106 for (i=0; i<std::abs(nlmat); i++) {
G3G4DLL_API G3EleTable G3Ele
G3G4DLL_API G3MatTable G3Mat
G3G4DLL_API G4int Ipar[1000]
void G3fillParams(G4String *tokens, const char *ptypes)
G3G4DLL_API G4double Rpar[1000]
G3G4DLL_API G4String Spar[1000]
void PG4gsmixt(G4String *tokens)
void G4gsmixt(G4int imate, G4String name, G4double *a, G4double *z, G4double dens, G4int nlmat, G4double *wmat)
G4Element * GetEle(G4double Z)
void put(G4int id, G4Material *material)
void AddElement(G4Element *element, G4int nAtoms)
const char * data() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)