32 #include <boost/python.hpp>
54 GetFieldValue(
G4ThreeVector(Point[0], Point[1], Point[2]), Point[3]);
56 Bfield[0]= bfield.x();
57 Bfield[1]= bfield.y();
58 Bfield[2]= bfield.z();
73 return get_override(
"GetFieldValue")(
pos, time);
91 class_<G4MagneticField, boost::noncopyable >
92 (
"__G4MagneticField",
"dummy class of magnetic field", no_init)
96 bases<G4Field, G4MagneticField> >
97 (
"G4MagneticField",
"base class of magnetic field")
CLHEP::Hep3Vector G4ThreeVector
G4bool DoesFieldChangeEnergy() const
virtual G4ThreeVector GetFieldValue(const G4ThreeVector &pos, const G4double time) const =0
G4ThreeVector(PyG4MagneticField::* f1_GetFieldValue)(const G4ThreeVector &, const G4double) const
G4ThreeVector GetFieldValue(const G4ThreeVector &pos, const G4double time) const
void export_G4MagneticField()
virtual void GetFieldValue(const G4double Point[4], G4double *Bfield) const
static const G4double pos