| Summary: | prototype of G4UniformMagField::GetConstantFieldValue() has no definition | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | asharp |
| Component: | geometry/magneticfield | Assignee: | John Apostolakis <John.Apostolakis> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | 4.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
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. |
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??