Import Geant4 9.0.0 source tree
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# $Id: GNUmakefile,v 1.2 2006/04/25 08:09:45 kmura Exp $
|
||||
# $Name: geant4-08-02 $
|
||||
# $Name: geant4-09-00 $
|
||||
# ===========================================================
|
||||
# Makefile for building Geant4Py modules
|
||||
# ===========================================================
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: pyG4Element.cc,v 1.5 2006/08/25 05:46:17 kmura Exp $
|
||||
// $Name: geant4-08-02 $
|
||||
// $Name: geant4-09-00 $
|
||||
// ====================================================================
|
||||
// pyG4Element.cc
|
||||
//
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: pyG4ElementTable.cc,v 1.4 2006/06/29 15:34:12 gunter Exp $
|
||||
// $Name: geant4-08-02 $
|
||||
// $Name: geant4-09-00 $
|
||||
// ====================================================================
|
||||
// pyG4ElementTable.cc
|
||||
//
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: pyG4Material.cc,v 1.5 2006/12/01 02:10:08 kmura Exp $
|
||||
// $Name: geant4-08-02 $
|
||||
// $Name: geant4-09-00 $
|
||||
// ====================================================================
|
||||
// pyG4Material.cc
|
||||
//
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: pyG4MaterialTable.cc,v 1.4 2006/06/29 15:34:18 gunter Exp $
|
||||
// $Name: geant4-08-02 $
|
||||
// $Name: geant4-09-00 $
|
||||
// ====================================================================
|
||||
// pyG4MaterialTable.cc
|
||||
//
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: pyG4NistManager.cc,v 1.4 2006/06/29 15:34:21 gunter Exp $
|
||||
// $Name: geant4-08-02 $
|
||||
// $Id: pyG4NistManager.cc,v 1.5 2007/05/28 03:11:20 kmura Exp $
|
||||
// $Name: geant4-09-00 $
|
||||
// ====================================================================
|
||||
// pyG4NistManager.cc
|
||||
//
|
||||
@@ -81,11 +81,15 @@ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_ConstructNewMaterial,
|
||||
|
||||
using namespace pyG4NistManager;
|
||||
|
||||
#endif
|
||||
|
||||
// ====================================================================
|
||||
// module definition
|
||||
// ====================================================================
|
||||
void export_G4NistManager()
|
||||
{
|
||||
#if G4VERSION_NUMBER >= 710
|
||||
|
||||
class_<G4NistManager, boost::noncopyable>
|
||||
("G4NistManager", "manager class for NIST materials", no_init)
|
||||
// ---
|
||||
@@ -130,6 +134,6 @@ void export_G4NistManager()
|
||||
.def("ListMaterials", &G4NistManager::ListMaterials)
|
||||
.def("PrintG4Material", &G4NistManager::PrintG4Material)
|
||||
;
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -23,15 +23,14 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: pymodG4materials.cc,v 1.4 2006/06/29 15:34:24 gunter Exp $
|
||||
// $Name: geant4-08-02 $
|
||||
// $Id: pymodG4materials.cc,v 1.5 2007/05/28 03:11:20 kmura Exp $
|
||||
// $Name: geant4-09-00 $
|
||||
// ====================================================================
|
||||
// pymodG4materials.cc [Geant4Py module]
|
||||
//
|
||||
// 2005 Q
|
||||
// ====================================================================
|
||||
#include <boost/python.hpp>
|
||||
#include "pyG4Version.hh"
|
||||
|
||||
using namespace boost::python;
|
||||
|
||||
@@ -50,8 +49,6 @@ BOOST_PYTHON_MODULE(G4materials)
|
||||
export_G4MaterialTable();
|
||||
export_G4Element();
|
||||
export_G4ElementTable();
|
||||
#if G4VERSION_NUMBER >= 710
|
||||
export_G4NistManager();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user