30 #ifndef CLASSIC_MULTIPOLET_CURVED_VAR_RADIUS_H
31 #define CLASSIC_MULTIPOLET_CURVED_VAR_RADIUS_H
107 virtual void setMaxOrder(
const std::size_t &maxOrder)
override;
115 virtual void setBendAngle(
const double &angle)
override;
125 double &endField)
override;
145 virtual double getRadius(
const double &s)
override;
150 virtual double getScaleFactor(
const double &x,
const double &s)
override;
157 virtual double getFn(
const std::size_t &
n,
159 const double &s)
override;
168 const std::size_t &maxXorder) {
virtual void visitMultipoleTCurvedVarRadius(const MultipoleTCurvedVarRadius &)=0
Apply the algorithm to an arbitrary curved multipole of variable radius.
PartBunchBase< double, 3 > * RefPartBunch_m
double getBoundingBoxLength() const
std::vector< double > getFringeLength() const
std::vector< polynomial::RecursionRelationTwo > recursion_m
virtual double getScaleFactor(const double &x, const double &s) override
~MultipoleTCurvedVarRadius()
virtual void setBendAngle(const double &angle) override
VarRadiusGeometry & getGeometry() override
virtual void transformBField(Vector_t &B, const Vector_t &R) override
virtual double getRadius(const double &s) override
virtual void setMaxOrder(const std::size_t &maxOrder) override
void setMaxXOrder(const std::size_t &maxXOrder)
virtual ElementBase * clone() const override
VarRadiusGeometry varRadiusGeometry_m
void accept(BeamlineVisitor &visitor) const override
virtual void transformCoords(Vector_t &R) override
virtual double getFn(const std::size_t &n, const double &x, const double &s) override
MultipoleTCurvedVarRadius(const std::string &name)
std::size_t getMaxXOrder() const
MultipoleTCurvedVarRadius operator=(const MultipoleTCurvedVarRadius &rhs)
virtual void initialise(PartBunchBase< double, 3 > *bunch, double &startField, double &endField) override
virtual double getBendAngle() const override
void setS0(const double &s_0)
virtual void setElementLength(double length)
void setLambdaRight(const double &lambda_right)
void setLambdaLeft(const double &lambda_left)
void setRadius(const double &rho)