// This code implementation is the intellectual property of // the GEANT4 collaboration. // // By copying, distributing or modifying the Program (or any work // based on the Program) you indicate your acceptance of this statement, // and all its terms. // // $Id: G4Field.hh,v 1.3 2000/04/27 09:14:05 gcosmo Exp $ // GEANT4 tag $Name: geant4-02-00 $ // // // class G4Field // // Class description: // // Abstract class for any kind of Field. // It allows any kind of field (vector, scalar, tensor and any set of them) // to be defined by implementing the inquiry function interface. // History: // - Created: John Apostolakis, 10.03.1997 #ifndef G4FIELD_HH #define G4FIELD_HH class G4Field { public: // with description virtual void GetFieldValue( const double Point[3], double *Bfield ) const = 0; G4Field(){}; virtual ~G4Field(){}; // A field signature function that can be used to insure // that the Equation of motion object and the G4Field object // have the same "field signature"? }; #endif /* G4FIELD_HH */