Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -23,8 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: pyG4Element.cc,v 1.7 2008-12-04 08:55:25 kmura Exp $
// $Name: not supported by cvs2svn $
// $Id: pyG4Element.cc 76884 2013-11-18 12:54:03Z gcosmo $
// ====================================================================
// pyG4Element.cc
//
@@ -59,7 +58,7 @@ void Print(G4Element& ele)
std::cout << ele; // problem with G4cout. (delayed message)
}
};
}
using namespace pyG4Element;
@@ -75,17 +74,11 @@ void export_G4Element()
.def(init<const G4String&, const G4String&, G4int>())
// ---
.def("AddIsotope", &G4Element::AddIsotope)
#if G4VERSION_NUMBER >= 920
.def("GetName", &G4Element::GetName,
return_value_policy<reference_existing_object>())
.def("GetSymbol", &G4Element::GetSymbol,
return_value_policy<reference_existing_object>())
.def("SetName", &G4Element::SetName)
#else
.def("GetName", &G4Element::GetName)
.def("GetSymbol", &G4Element::GetSymbol)
#endif
.def("GetZ", &G4Element::GetZ)
.def("GetN", &G4Element::GetN)
.def("GetA", &G4Element::GetA)
@@ -106,12 +99,6 @@ void export_G4Element()
.def("GetElement", &G4Element::GetElement,
return_value_policy<reference_existing_object>())
.staticmethod("GetElement")
.def("GetCountUse", &G4Element::GetCountUse)
.def("increaseCountUse", &G4Element::increaseCountUse)
.def("decreaseCountUse", &G4Element::decreaseCountUse)
#if G4VERSION_NUMBER >= 710
.def("GetIndexZ", &G4Element::GetIndexZ)
#endif
.def("GetfCoulomb", &G4Element::GetfCoulomb)
.def("GetfRadTsai", &G4Element::GetfRadTsai)
.def("GetIonisation", &G4Element::GetIonisation,
@@ -123,4 +110,3 @@ void export_G4Element()
;
}