31 #include <boost/python.hpp> 32 #include "G4Version.hh" 33 #include "G4FieldManager.hh" 35 #include "G4ChordFinder.hh" 36 #include "G4MagneticField.hh" 47 = &G4FieldManager::GetChordFinder;
50 = &G4FieldManager::GetChordFinder;
53 SetDetectorField, 1, 2);
64 class_<G4FieldManager, G4FieldManager*, boost::noncopyable>
65 (
"G4FieldManager",
"field manager class")
68 .def(init<G4Field*>())
69 .def(init<G4Field*, G4ChordFinder*>())
70 .def(init<G4Field*, G4ChordFinder*, G4bool>())
71 .def(init<G4MagneticField*>())
73 .def(
"SetDetectorField", &G4FieldManager::SetDetectorField,
75 .def(
"GetDetectorField", &G4FieldManager::GetDetectorField,
76 return_internal_reference<>())
77 .def(
"DoesFieldExist", &G4FieldManager::DoesFieldExist)
78 .def(
"CreateChordFinder", &G4FieldManager::CreateChordFinder)
79 .def(
"SetChordFinder", &G4FieldManager::SetChordFinder)
81 return_internal_reference<>())
83 return_internal_reference<>())
84 .def(
"ConfigureForTrack", &G4FieldManager::ConfigureForTrack)
85 .def(
"GetDeltaIntersection", &G4FieldManager::GetDeltaIntersection)
86 .def(
"GetDeltaOneStep", &G4FieldManager::GetDeltaOneStep)
87 .def(
"SetAccuraciesWithDeltaOneStep",
88 &G4FieldManager::SetAccuraciesWithDeltaOneStep)
89 .def(
"SetDeltaOneStep", &G4FieldManager::SetDeltaOneStep)
90 .def(
"SetDeltaIntersection", &G4FieldManager::SetDeltaIntersection)
91 .def(
"GetMinimumEpsilonStep", &G4FieldManager::GetMinimumEpsilonStep)
92 .def(
"SetMinimumEpsilonStep", &G4FieldManager::SetMinimumEpsilonStep)
93 .def(
"GetMaximumEpsilonStep", &G4FieldManager::GetMaximumEpsilonStep)
94 .def(
"SetMaximumEpsilonStep", &G4FieldManager::SetMaximumEpsilonStep)
95 .def(
"DoesFieldChangeEnergy", &G4FieldManager::DoesFieldChangeEnergy)
96 .def(
"SetFieldChangesEnergy", &G4FieldManager::SetFieldChangesEnergy)
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_SetDetectorField, SetDetectorField, 1, 2)
const G4ChordFinder *(G4FieldManager::* f2_GetChordFinder)() const
G4ChordFinder *(G4FieldManager::* f1_GetChordFinder)()
void export_G4FieldManager()