template
class
OscillatingField<class>
: public Field
(Return to index)
An oscillating electromagnetic field.
The field is derived from the corresponding static field.
Care must be taken when the static field is not homogeneous,
the oscillating values may be incorrect, as they may not fulfill
Maxwell's equations.
{p}
Note that this class is derived from its template parameter,
it inherits the methods and data from that class as well.
Type: |
Instantiable |
Superclasses: |
public Field |
Include file: |
./Fields/OscillatingField.hh |
Inheritance
Synopsis (including inherited members):
- Public members:
-
OscillatingField
()
;
-
virtual ~OscillatingField
()
;
-
virtual double getFrequency
()const
;
-
virtual double getPhase
()const
;
-
virtual void setFrequency
(double)
;
-
virtual void setPhase
(double)
;
-
virtual EVector Efield
(const Point3D&)const
;
-
virtual EVector Efield
(const Point3D&,double)const
;
-
virtual BVector Bfield
(const Point3D&)const
;
-
virtual BVector Bfield
(const Point3D&,double)const
;
Documentation:
- Public members:
-
virtual BVector Bfield
(const Point3D&)const
;
- Get field.
Return the constant part of the magnetic field in point P.
-
virtual BVector Bfield
(const Point3D&,double)const
;
- Get field.
Return the magnetic field at time t in point P.
-
virtual EVector Efield
(const Point3D&)const
;
- Get field.
Return the constant part of the electric field in point P.
-
virtual EVector Efield
(const Point3D&,double)const
;
- Get field.
Return the electric field at time t in point P.
-
OscillatingField
()
;
- Default constructor.
Constructs a null field.
-
virtual double getFrequency
()const
;
- Return the RF frequency in Hz.
-
virtual double getPhase
()const
;
- Return the RF phase in rad.
-
virtual void setFrequency
(double)
;
- Assign the RF frequency in Hz.
-
virtual void setPhase
(double)
;
- Assign the RF phase in rad.
Documentation generated by fci on Mon Feb 7 11:41:47 2000