OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
#include <ConstEzField.h>
Public Member Functions | |
ConstEzField () | |
Default constructor. More... | |
virtual | ~ConstEzField () |
virtual EVector | Efield (const Point3D &P) const |
Get field. More... | |
virtual EVector | Efield (const Point3D &P, double t) const |
Get field. More... | |
virtual double | getEz () const |
Get component. More... | |
virtual void | setEz (double) |
Set component. More... | |
virtual void | scale (double scalar) |
Scale the field. More... | |
![]() | |
StaticElectricField () | |
virtual | ~StaticElectricField () |
![]() | |
EMField () | |
Default constructor. More... | |
EMField (const EMField &right) | |
virtual | ~EMField () |
const EMField & | operator= (const EMField &right) |
virtual BVector | Bfield (const Point3D &P) const |
Get field. More... | |
virtual BVector | Bfield (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 | Ez |
Additional Inherited Members | |
![]() | |
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... | |
Definition at line 23 of file ConstEzField.h.
ConstEzField::ConstEzField | ( | ) |
Default constructor.
Definition at line 21 of file ConstEzField.cpp.
|
virtual |
Definition at line 25 of file ConstEzField.cpp.
Get field.
Reimplemented from EMField.
Reimplemented in OscillatingField< ConstEzField >.
Definition at line 29 of file ConstEzField.cpp.
References Ez.
Get field.
Reimplemented from EMField.
Reimplemented in OscillatingField< ConstEzField >.
Definition at line 34 of file ConstEzField.cpp.
References Ez.
|
virtual |
Get component.
Definition at line 39 of file ConstEzField.cpp.
References Ez.
Referenced by RFCavityRep::getAmplitude(), and TravelingWaveRep::getAmplitude().
|
virtual |
|
virtual |
Set component.
Definition at line 44 of file ConstEzField.cpp.
References Ez.
Referenced by RFCavityRep::setAmplitude(), and TravelingWaveRep::setAmplitude().
|
private |