31 #include <boost/python.hpp> 32 #include "G4UserLimits.hh" 42 class_<G4UserLimits, G4UserLimits*>
43 (
"G4UserLimits",
"user step limitations")
45 .def(init<G4double>())
46 .def(init<G4double, G4double>())
47 .def(init<G4double, G4double, G4double>())
48 .def(init<G4double, G4double, G4double, G4double>())
49 .def(init<G4double, G4double, G4double, G4double, G4double>())
51 .def(init<const G4String&>())
52 .def(init<const G4String&, G4double>())
53 .def(init<const G4String&, G4double, G4double>())
54 .def(init<const G4String&, G4double, G4double, G4double>())
55 .def(init<const G4String&, G4double, G4double, G4double, G4double>())
56 .def(init<
const G4String&, G4double, G4double, G4double,
57 G4double, G4double>())
59 .def(
"GetUserMaxTrackLength", &G4UserLimits::GetUserMaxTrackLength)
60 .def(
"GetUserMaxTime", &G4UserLimits::GetUserMaxTime)
61 .def(
"GetUserMinEkine", &G4UserLimits::GetUserMinEkine)
62 .def(
"GetUserMinRange", &G4UserLimits::GetUserMinRange)
64 .def(
"SetMaxAllowedStep", &G4UserLimits::SetMaxAllowedStep)
65 .def(
"SetUserMaxTrackLength", &G4UserLimits::SetUserMaxTrackLength)
66 .def(
"SetUserMaxTime", &G4UserLimits::SetUserMaxTime)
67 .def(
"SetUserMinEkine", &G4UserLimits::SetUserMinEkine)
68 .def(
"SetUserMinRange", &G4UserLimits::SetUserMinRange)
70 .def(
"GetType", &G4UserLimits::GetType,
71 return_internal_reference<>())
72 .def(
"SetType", &G4UserLimits::SetType)
void export_G4UserLimits()