|
OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
Representation for a single magnetic multipole field. More...
#include <BSingleMultipoleField.h>


Public Member Functions | |
| BSingleMultipoleField () | |
| Default constructor. More... | |
| BSingleMultipoleField (const BSingleMultipoleField &) | |
| virtual | ~BSingleMultipoleField () |
| BSingleMultipoleField & | operator= (const BSingleMultipoleField &) |
| operator BMultipoleField () const | |
| Conversion operator. More... | |
| virtual BVector | Bfield (const Point3D &X) const |
| Field at a given point. More... | |
| virtual BVector | Bfield (const Point3D &P, double t) const |
| Get field. More... | |
| virtual double | getComponent () const |
| Return field coefficient. More... | |
| virtual void | setComponent (double) |
| Set field coefficient. More... | |
| void | scale (double scalar) |
| Scale the field. More... | |
| int | size () const |
| Return order. More... | |
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 | strength |
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... | |
Representation for a single magnetic multipole field.
Definition at line 40 of file BSingleMultipoleField.h.
|
inline |
Default constructor.
Definition at line 91 of file BSingleMultipoleField.h.
|
inline |
Definition at line 97 of file BSingleMultipoleField.h.
|
virtual |
Definition at line 104 of file BSingleMultipoleField.h.
|
inlinevirtual |
|
inlinevirtual |
Field at a given point.
Reimplemented from EMField.
Definition at line 129 of file BSingleMultipoleField.h.
References Point3D::getX(), Point3D::getY(), imag(), and real().

|
inlinevirtual |
Return field coefficient.
Definition at line 155 of file BSingleMultipoleField.h.
|
inline |
Conversion operator.
Definition at line 117 of file BSingleMultipoleField.h.
References BMultipoleField::setNormalComponent(), and BMultipoleField::setSkewComponent().

|
inline |
Definition at line 109 of file BSingleMultipoleField.h.
References BSingleMultipoleField< order >::strength.
|
inlinevirtual |
|
inlinevirtual |
Set field coefficient.
Definition at line 161 of file BSingleMultipoleField.h.
|
inline |
Return order.
Definition at line 173 of file BSingleMultipoleField.h.
References abs().

|
private |
Definition at line 83 of file BSingleMultipoleField.h.
Referenced by BSingleMultipoleField< order >::operator=().