Import Geant4 0.0.0 source tree
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 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 2.2 1998/11/19 20:45:01 japost Exp $
|
||||
// GEANT4 tag $Name: geant4-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 */
|
||||
Reference in New Issue
Block a user