Problem 575 - prototype of G4UniformMagField::GetConstantFieldValue() has no definition
Summary: prototype of G4UniformMagField::GetConstantFieldValue() has no definition
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: geometry/magneticfield (show other problems)
Version: 4.0
Hardware: PC Linux
: P2 major
Assignee: John Apostolakis
URL:
Depends on:
Blocks:
 
Reported: 2004-02-03 13:59 CET by asharp
Modified: 2004-02-09 08:00 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.