The following prototype appears in source/geometry/magneticfield/include/G4UniformMagField.hh : G4ThreeVector GetConstantFieldValue() const; // Return the field value but in the file src/G4UniformMagField.cc there is no definition of this function. Attempting to call this function causes a LINKING error, not a compilation error, at least on my system. What am I supposed to use instead??
The problem is now fixed in the development tag "field-V06-00-00" which will be included soon in a public patch to release 6.0. Thanks.