class
EMField
(Return to index)
Abstract base class for electromagnetic fields.
This class represent a time-varying position dependent electromagnetic
field. Derived classes include time-constant fields as well as
spatially homogeneous fields.
Type: |
Abstract |
Include file: |
./Fields/EMField.hh |
Inheritance
Synopsis (including inherited members):
- Public members:
-
EMField
()
;
-
EMField
(const EMField&)
;
-
virtual ~EMField
()
;
-
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:
-
virtual BVector Bfield
(const Point3D&)const
;
- Get field.
Return the time-independent part of the magnetic field in point P.
This default action returns a zero field.
-
virtual BVector Bfield
(const Point3D&,double)const
;
- Get field.
Return the magnetic field at time t in point P.
This default action returns the static part BField(P).
-
virtual EBVectors EBfield
(const Point3D&)const
;
- Get field.
Return the static part of the field pair (E,B) in point P.
This default action returns EBVectors(EField(P), BField(P)).
-
virtual EBVectors EBfield
(const Point3D&,double)const
;
- Get field.
Return the field pair (E,B) at time t in point P.
This default action returns the static part EBfield(P).
-
EMField
()
;
- Default constructor.
Construct zero field.
-
virtual EVector Efield
(const Point3D&)const
;
- Get field.
Return the time-independent part of the electric field in point P.
This default action returns a zero field.
-
virtual EVector Efield
(const Point3D&,double)const
;
- Get field.
Return the electric field at time t in point P.
This default action returns the static part EField(P).
-
static const BVector ZeroBfield
;
- The constant representing a zero magnetic field.
-
static const EBVectors ZeroEBfield
;
- The constant representing a zero electromagnetic field.
-
static const EVector ZeroEfield
;
- The constant representing a zero electric field.
-
virtual void scale
(double)
= 0
;
- Scale the field.
Multiply the field by scalar.
This method must be defined for each derived class.
Documentation generated by fci on Mon Feb 7 11:41:36 2000