Problem 575

Summary: prototype of G4UniformMagField::GetConstantFieldValue() has no definition
Product: Geant4 Reporter: asharp
Component: geometry/magneticfieldAssignee: John Apostolakis <John.Apostolakis>
Status: RESOLVED FIXED    
Severity: major    
Priority: P2    
Version: 4.0   
Hardware: PC   
OS: Linux   

Description asharp 2004-02-03 13:59:56 CET
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??
Comment 1 Gabriele Cosmo 2004-02-09 08:00:59 CET
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.