38 lines
1.0 KiB
C++
38 lines
1.0 KiB
C++
// 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.1.10.1 1999/12/07 20:47:59 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-01-00 $
|
|
//
|
|
//
|
|
// G4Field:
|
|
// abstract class for any kind of Field,
|
|
// It allows any kind of field (vector, scalar, tensor and any set of them)
|
|
// to be defiend by implementing the inquiry function interface.
|
|
//
|
|
// Created: John Apostolakis, 10.03.1997
|
|
// Modified:
|
|
|
|
#ifndef G4FIELD_HH
|
|
#define G4FIELD_HH
|
|
|
|
class G4Field
|
|
{
|
|
public:
|
|
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 */
|