OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
A homogeneous magnetostatic field in z-direction. More...
#include <ConstBzField.h>
Public Member Functions | |
ConstBzField () | |
Default constructor. More... | |
virtual | ~ConstBzField () |
virtual BVector | Bfield (const Point3D &P) const |
Get field. More... | |
virtual BVector | Bfield (const Point3D &P, double t) const |
Get field. More... | |
virtual double | getBz () const |
Get component. More... | |
virtual void | setBz (double Bz) |
Set component. More... | |
virtual void | scale (double scalar) |
Scale the field. More... | |
Public Member Functions inherited from ConstBField | |
ConstBField () | |
Default constructor. More... | |
virtual | ~ConstBField () |
virtual double | getBx () const |
Get component. More... | |
virtual double | getBy () const |
Get component. More... | |
virtual void | setBx (double) |
Set component. More... | |
virtual void | setBy (double) |
Set component. More... | |
Public Member Functions inherited from StaticMagneticField | |
StaticMagneticField () | |
virtual | ~StaticMagneticField () |
Public Member Functions inherited from EMField | |
EMField () | |
Default constructor. More... | |
EMField (const EMField &right) | |
virtual | ~EMField () |
const EMField & | operator= (const EMField &right) |
virtual EVector | Efield (const Point3D &P) const |
Get field. More... | |
virtual EVector | Efield (const Point3D &P, double t) const |
Get field. More... | |
virtual EBVectors | EBfield (const Point3D &P) const |
Get field. More... | |
virtual EBVectors | EBfield (const Point3D &P, double t) const |
Get field. More... | |
Private Attributes | |
double | Bz |
Additional Inherited Members | |
Static Public Attributes inherited from EMField | |
static const EVector | ZeroEfield |
The constant representing a zero electric field. More... | |
static const BVector | ZeroBfield |
The constant representing a zero magnetic field. More... | |
static const EBVectors | ZeroEBfield |
The constant representing a zero electromagnetic field. More... | |
A homogeneous magnetostatic field in z-direction.
Definition at line 30 of file ConstBzField.h.
ConstBzField::ConstBzField | ( | ) |
Default constructor.
Definition at line 27 of file ConstBzField.cpp.
|
virtual |
Definition at line 31 of file ConstBzField.cpp.
Get field.
Reimplemented from EMField.
Definition at line 35 of file ConstBzField.cpp.
References Bz.
Get field.
Reimplemented from EMField.
Definition at line 40 of file ConstBzField.cpp.
References Bz.
|
virtual |
Get component.
Reimplemented from ConstBField.
Definition at line 45 of file ConstBzField.cpp.
References Bz.
Referenced by SolenoidRep::getBz().
|
virtual |
|
virtual |
Set component.
Reimplemented from ConstBField.
Definition at line 49 of file ConstBzField.cpp.
References Bz.
Referenced by SolenoidRep::setBz().
|
private |