|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
The geometry for a RBend element. More...
#include <RBendGeometry.h>


Public Member Functions | |
| RBendGeometry (double length, double angle) | |
| Constructor. | |
| RBendGeometry (const RBendGeometry &) | |
| virtual | ~RBendGeometry () |
| const RBendGeometry & | operator= (const RBendGeometry &) |
| virtual double | getArcLength () const |
| Get arc length. | |
| virtual double | getBendAngle () const |
| Get angle. | |
| void | setBendAngle (double angle) |
| Set angle. | |
| Euclid3D | getTotalTransform () const |
| Get transform. | |
| Euclid3D | getEntranceFrame () const |
| Get transform. | |
| Euclid3D | getExitFrame () const |
| Get transform. | |
| Euclid3D | getEntrancePatch () const |
| Get patch. | |
| Euclid3D | getExitPatch () const |
| Get patch. | |
| virtual double | getElementLength () const |
| Get design length. | |
| virtual void | setElementLength (double length) |
| Set design length. | |
| double | getOrigin () const |
| Get origin. | |
| double | getEntrance () const |
| Get entrance. | |
| double | getExit () const |
| Get exit. | |
| Euclid3D | getTransform (double fromS, double toS) const |
| Get transform. | |
| Euclid3D | getTransform (double s) const |
| Get transform. | |
Private Attributes | |
| double | half_angle |
| double | len |
The geometry for a RBend element.
Definition at line 41 of file RBendGeometry.h.
| RBendGeometry::RBendGeometry | ( | double | length, |
| double | angle | ||
| ) |
Constructor.
Definition at line 29 of file RBendGeometry.cpp.
| RBendGeometry::RBendGeometry | ( | const RBendGeometry & | rhs | ) |
Definition at line 32 of file RBendGeometry.cpp.
|
virtual |
Definition at line 35 of file RBendGeometry.cpp.
|
virtual |
Get arc length.
Reimplemented from StraightGeometry.
Definition at line 37 of file RBendGeometry.cpp.
References StraightGeometry::getElementLength(), and half_angle.

|
virtual |
|
virtualinherited |
Get design length.
Implements BGeometryBase.
Definition at line 35 of file StraightGeometry.cpp.
References StraightGeometry::len.
Referenced by getArcLength(), getEntrancePatch(), getExitPatch(), Corrector::goOnline(), Corrector::setDesignEnergy(), and TEST_F().
|
virtualinherited |
Get entrance.
Reimplemented from BGeometryBase.
Definition at line 48 of file StraightGeometry.cpp.
References StraightGeometry::len.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 52 of file RBendGeometry.cpp.
References StraightGeometry::getEntranceFrame(), half_angle, and Euclid3D::YRotation().

|
virtual |
Get patch.
Reimplemented from BGeometryBase.
Definition at line 60 of file RBendGeometry.cpp.
References StraightGeometry::getElementLength(), half_angle, Euclid3D::translation(), and Euclid3D::YRotation().

|
virtualinherited |
Get exit.
Reimplemented from BGeometryBase.
Definition at line 50 of file StraightGeometry.cpp.
References StraightGeometry::len.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 56 of file RBendGeometry.cpp.
References StraightGeometry::getExitFrame(), half_angle, and Euclid3D::YRotation().

|
virtual |
Get patch.
Reimplemented from BGeometryBase.
Definition at line 65 of file RBendGeometry.cpp.
References StraightGeometry::getElementLength(), half_angle, Euclid3D::translation(), and Euclid3D::YRotation().

|
virtualinherited |
Get origin.
Reimplemented from BGeometryBase.
Definition at line 46 of file StraightGeometry.cpp.
References StraightGeometry::len.
|
virtual |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 46 of file RBendGeometry.cpp.
References StraightGeometry::getTotalTransform(), half_angle, and Euclid3D::YRotation().

|
virtualinherited |
Get transform.
Implements BGeometryBase.
Definition at line 52 of file StraightGeometry.cpp.
References Euclid3D::translation().

|
virtualinherited |
Get transform.
Reimplemented from BGeometryBase.
Definition at line 58 of file StraightGeometry.cpp.
References Euclid3D::translation().

| const RBendGeometry & RBendGeometry::operator= | ( | const RBendGeometry & | ) |
| void RBendGeometry::setBendAngle | ( | double | angle | ) |
Set angle.
Definition at line 44 of file RBendGeometry.cpp.
References half_angle.
Referenced by OpalRBend::update().
|
virtualinherited |
Set design length.
Reimplemented from BGeometryBase.
Definition at line 37 of file StraightGeometry.cpp.
References StraightGeometry::len.
Referenced by VerticalFFAMagnet::initialise(), MultipoleTStraight::initialise(), ConstantEFieldCavityRep::setElementLength(), VariableRFCavity::setLength(), TestMonitor::setLength(), TestMonitor::TestMonitor(), TestMonitor::TestMonitor(), and OpalRBend::update().
|
private |
Definition at line 94 of file RBendGeometry.h.
Referenced by getArcLength(), getBendAngle(), getEntranceFrame(), getEntrancePatch(), getExitFrame(), getExitPatch(), getTotalTransform(), and setBendAngle().
|
privateinherited |
Definition at line 102 of file StraightGeometry.h.
Referenced by StraightGeometry::getArcLength(), StraightGeometry::getElementLength(), StraightGeometry::getEntrance(), StraightGeometry::getEntranceFrame(), StraightGeometry::getExit(), StraightGeometry::getExitFrame(), StraightGeometry::getOrigin(), StraightGeometry::getTotalTransform(), StraightGeometry::operator=(), and StraightGeometry::setElementLength().