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