|
OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
|
#include <ClassicField.h>
Public Member Functions | |
| ClassicField (std::shared_ptr< Component >, const double &, const double &) | |
| ~ClassicField () | |
| std::shared_ptr< Component > | getElement () |
| std::shared_ptr< const Component > | getElement () const |
| double | getLength () const |
| const double & | getStart () const |
| const double & | getEnd () const |
| void | setStart (const double &z) |
| void | setEnd (const double &z) |
| const bool & | isOn () const |
| void | setOn (const double &kinematicEnergy) |
| void | setOff () |
| BoundingBox | getBoundingBoxInLabCoords () const |
Static Public Member Functions | |
| static bool | SortAsc (const ClassicField &fle1, const ClassicField &fle2) |
| static bool | ZeroLength (const ClassicField &fle) |
Public Attributes | |
| unsigned int | order_m |
Private Attributes | |
| std::shared_ptr< Component > | element_m |
| double | start_m |
| double | end_m |
| bool | is_on_m |
Definition at line 9 of file ClassicField.h.
| ClassicField::ClassicField | ( | std::shared_ptr< Component > | element, |
| const double & | start, | ||
| const double & | end | ||
| ) |
Definition at line 5 of file ClassicField.cpp.
| ClassicField::~ClassicField | ( | ) |
Definition at line 12 of file ClassicField.cpp.
References element_m.
|
inline |
Definition at line 78 of file ClassicField.h.
References element_m.
|
inline |
Definition at line 45 of file ClassicField.h.
References element_m.
|
inline |
Definition at line 49 of file ClassicField.h.
References element_m.
|
inline |
Definition at line 61 of file ClassicField.h.
References end_m.
|
inline |
Definition at line 53 of file ClassicField.h.
References end_m, and start_m.
Referenced by ZeroLength().
|
inline |
Definition at line 57 of file ClassicField.h.
References start_m.
|
inline |
Definition at line 65 of file ClassicField.h.
References is_on_m.
|
inline |
Definition at line 73 of file ClassicField.h.
References end_m.
| void ClassicField::setOff | ( | ) |
| void ClassicField::setOn | ( | const double & | kinematicEnergy | ) |
|
inline |
Definition at line 69 of file ClassicField.h.
References start_m.
|
inlinestatic |
Definition at line 24 of file ClassicField.h.
References element_m, and start_m.
Referenced by OpalBeamline::prepareSections(), and OpalBeamline::save3DLattice().
|
inlinestatic |
Definition at line 29 of file ClassicField.h.
References getLength().

|
private |
Definition at line 37 of file ClassicField.h.
Referenced by getBoundingBoxInLabCoords(), getElement(), setOff(), setOn(), SortAsc(), and ~ClassicField().
|
private |
Definition at line 39 of file ClassicField.h.
Referenced by getEnd(), getLength(), and setEnd().
|
private |
Definition at line 40 of file ClassicField.h.
| unsigned int ClassicField::order_m |
Definition at line 35 of file ClassicField.h.
Referenced by OpalBeamline::save3DLattice().
|
private |
Definition at line 38 of file ClassicField.h.
Referenced by getLength(), getStart(), setStart(), and SortAsc().
1.8.5