Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
pyG4Element Namespace Reference

Functions

list f_GetRelativeAbundanceVector (const G4Element *element)
 
void Print (G4Element &ele)
 

Function Documentation

list pyG4Element::f_GetRelativeAbundanceVector ( const G4Element element)

Definition at line 44 of file pyG4Element.cc.

Referenced by export_G4Element().

45 {
46  list aList;
47  const G4double* aVec= element-> GetRelativeAbundanceVector();
48  G4int niso= element-> GetNumberOfIsotopes();
49  for(G4int i=0; i<niso; i++) {
50  aList.append(aVec[i]);
51  }
52  return aList;
53 }
int G4int
Definition: G4Types.hh:78
double G4double
Definition: G4Types.hh:76
void pyG4Element::Print ( G4Element ele)