1 #ifndef CLASSIC_ConstBField_HH
2 #define CLASSIC_ConstBField_HH
43 virtual double getBx()
const;
47 virtual double getBy()
const;
51 virtual double getBz()
const;
55 virtual void setBx(
double);
59 virtual void setBy(
double);
63 virtual void setBz(
double);
66 #endif // CLASSIC_ConstBField_HH
virtual void setBz(double)
Set component.
virtual double getBx() const
Get component.
ConstBField()
Default constructor.
Abstract base class for static magnetic fields.
virtual void setBx(double)
Set component.
virtual void setBy(double)
Set component.
virtual double getBy() const
Get component.
virtual double getBz() const
Get component.
A homogenous magnetostatic field.