#include <MagneticFieldProvider.h>
Public Types | |
typedef Point3DBase< T, GlobalTag > | GlobalPointType |
typedef Vector3DBase< T, GlobalTag > | GlobalVectorType |
typedef Point3DBase< T, LocalTag > | LocalPointType |
typedef Vector3DBase< T, LocalTag > | LocalVectorType |
Public Member Functions | |
virtual LocalVectorType | derivativeInTeslaPerMeter (const LocalPointType &p, int N) const |
virtual int | hasDerivatives () const |
virtual LocalVectorType | valueInTesla (const LocalPointType &p) const =0 |
virtual | ~MagneticFieldProvider () |
Virtual interface for the field provider for an individual field volume.
Definition at line 19 of file MagneticFieldProvider.h.
typedef Point3DBase<T,GlobalTag> MagneticFieldProvider< T >::GlobalPointType |
Reimplemented in GCC11_FINAL< T, TOPO >.
Definition at line 22 of file MagneticFieldProvider.h.
typedef Vector3DBase<T,GlobalTag> MagneticFieldProvider< T >::GlobalVectorType |
Reimplemented in GCC11_FINAL< T, TOPO >.
Definition at line 24 of file MagneticFieldProvider.h.
typedef Point3DBase<T,LocalTag> MagneticFieldProvider< T >::LocalPointType |
Reimplemented in GCC11_FINAL< T, TOPO >.
Definition at line 23 of file MagneticFieldProvider.h.
typedef Vector3DBase<T,LocalTag> MagneticFieldProvider< T >::LocalVectorType |
Reimplemented in GCC11_FINAL< T, TOPO >.
Definition at line 25 of file MagneticFieldProvider.h.
virtual MagneticFieldProvider< T >::~MagneticFieldProvider | ( | ) | [inline, virtual] |
Definition at line 28 of file MagneticFieldProvider.h.
{}
virtual LocalVectorType MagneticFieldProvider< T >::derivativeInTeslaPerMeter | ( | const LocalPointType & | p, |
int | N | ||
) | const [inline, virtual] |
Returns the Nth spacial derivative of the field in the local frame.
Definition at line 46 of file MagneticFieldProvider.h.
{ return LocalVectorType(); }
virtual int MagneticFieldProvider< T >::hasDerivatives | ( | ) | const [inline, virtual] |
Returns the field vector in the global frame, at global position p Not needed, the MagVolume does the transformation to global! Returns the maximal order of available derivatives. Returns 0 if derivatives are not available.
Definition at line 42 of file MagneticFieldProvider.h.
{return false;}
virtual LocalVectorType MagneticFieldProvider< T >::valueInTesla | ( | const LocalPointType & | p | ) | const [pure virtual] |
Returns the field vector in the local frame, at local position p
Implemented in magneticfield::FakeInterpolator, GCC11_FINAL< T, TOPO >, and defaultRKPropagator::GCC11_FINAL.
Referenced by MagVolume::fieldInTesla().