class
ConstBField
: public StaticMagneticField
(Return to index)
A homogenous magnetostatic field.
A static magnetic field independent of (x,y,z).
Type: |
Abstract |
Superclasses: |
public StaticMagneticField |
Include file: |
./Fields/ConstBField.hh |
Inheritance
Synopsis (including inherited members):
- Public members:
-
ConstBField
()
;
-
virtual ~ConstBField
()
;
-
virtual double getBx
()const
;
-
virtual double getBy
()const
;
-
virtual double getBz
()const
;
-
virtual void setBx
(double)
;
-
virtual void setBy
(double)
;
-
virtual void setBz
(double)
;
-
const EMField& operator=
(const EMField&)
;
-
virtual EVector Efield
(const Point3D&)const
;
-
virtual BVector Bfield
(const Point3D&)const
;
-
virtual EVector Efield
(const Point3D&,double)const
;
-
virtual BVector Bfield
(const Point3D&,double)const
;
-
virtual EBVectors EBfield
(const Point3D&)const
;
-
virtual EBVectors EBfield
(const Point3D&,double)const
;
-
virtual void scale
(double)
= 0
;
-
static const EVector ZeroEfield
;
-
static const BVector ZeroBfield
;
-
static const EBVectors ZeroEBfield
;
Documentation:
- Public members:
-
ConstBField
()
;
- Default constructor.
Constructs null field.
-
virtual double getBx
()const
;
- Get component.
Return the x-component of the magnetic field in T.
-
virtual double getBy
()const
;
- Get component.
Return the y-component of the magnetic field in T.
-
virtual double getBz
()const
;
- Get component.
Return the z-component of the magnetic field in T.
-
virtual void setBx
(double)
;
- Set component.
Assign the x-component of the magnetic field in T.
-
virtual void setBy
(double)
;
- Set component.
Assign the y-component of the magnetic field in T.
-
virtual void setBz
(double)
;
- Set component.
Assign the z-component of the magnetic field in T.
Documentation generated by fci on Mon Feb 7 11:41:34 2000