1 #ifndef CLASSIC_ConstBzField_HH
2 #define CLASSIC_ConstBzField_HH
52 virtual double getBz()
const;
60 virtual void scale(
double scalar);
A homogenous magnetostatic field.
A homogeneous magnetostatic field in z-direction.
virtual void scale(double scalar)
Scale the field.
ConstBzField()
Default constructor.
virtual double getBz() const
Get component.
virtual void setBz(double Bz)
Set component.
virtual BVector Bfield(const Point3D &P) const
Get field.