Files
geant4/source/geometry/magneticfield/include/G4EquationOfMotion.icc
T
2016-06-08 15:28:20 +02:00

29 lines
705 B
Plaintext

// 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: G4EquationOfMotion.icc,v 1.1.10.1 1999/12/07 20:47:59 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
//
// Inline implementation
//
inline G4Field* G4EquationOfMotion::GetFieldObj()
{
return itsField;
}
inline void G4EquationOfMotion::SetFieldObj(G4Field* pField)
{
itsField= pField;
}
inline G4EquationOfMotion::G4EquationOfMotion(G4Field* pField)
:itsField(pField)
{}
inline G4EquationOfMotion::~G4EquationOfMotion() {}