26 std::string(
"The \"VerticalFFAMagnet\" element defines a vertical FFA ")+
27 std::string(
"magnet, which has a field that increases in the vertical ")+
28 std::string(
"direction while maintaining similar orbits.");
32 (
"B0",
"The nominal dipole field of the magnet at zero height [T].");
34 "Exponent term in the field index [m^(-1)].");
36 "The full width of the magnet. Particles moving more than WIDTH/2 horizontally, in either direction, are out of the aperture.");
38 "The maximum power in horizontal coordinate that will be considered in the field expansion.");
40 "The end length of the FFA fringe field [m].");
42 "The centre length of the FFA (i.e. length of the flat top) [m].");
44 "Determines the length of the bounding box. Magnet is situated symmetrically in the bounding box. [m]");
46 "Height of the magnet above z=0. Particles moving upwards more than HEIGHT_POS_EXTENT are out of the aperture [m].");
48 "Height of the magnet below z=0. Particles moving downwards more than HEIGHT_NEG_EXTENT are out of the aperture [m].");
94 endField->
setX0(centre_length/2.);
PETE_TUTree< FnFloor, typename T::PETE_Expr_t > floor(const PETE_Expr< T > &l)
double getReal(const Attribute &attr)
Return real value.
Attribute makeReal(const std::string &name, const std::string &help)
Make real attribute.
ElementBase * getElement() const
Return the embedded CLASSIC element.
void setElement(ElementBase *)
Assign new CLASSIC element.
std::vector< Attribute > itsAttr
The object attributes.
static void setTanhDiffIndices(size_t n)
void setLambda(double lambda)
void setBBLength(double bbLength)
endfieldmodel::EndFieldModel * getEndField() const
void setWidth(double width)
void setMaxOrder(size_t maxOrder)
void setNegativeVerticalExtent(double negativeExtent)
void setFieldIndex(double index)
void initialise(PartBunchBase< double, 3 > *bunch, double &startField, double &endField)
void setEndField(endfieldmodel::EndFieldModel *endField)
void setPositiveVerticalExtent(double positiveExtent)
void registerOwnership() const
virtual ~OpalVerticalFFAMagnet()
static std::string docstring_m
virtual OpalVerticalFFAMagnet * clone(const std::string &name)