Tps< T > sin(const Tps< T > &x)
Sine.
PETE_TUTree< FnArcSin, typename T::PETE_Expr_t > asin(const PETE_Expr< T > &l)
PETE_TBTree< FnCopysign, PETE_Scalar< Vektor< T1, Dim > >, typename T2::PETE_Expr_t > copysign(const Vektor< T1, Dim > &l, const PETE_Expr< T2 > &r)
PETE_TUTree< FnAbs, typename T::PETE_Expr_t > abs(const PETE_Expr< T > &l)
double getQ() const
Access to reference data.
virtual void visitRBend(const RBend &)=0
Apply the algorithm to a rectangular bend.
void setExitAngle(double exitAngle)
virtual void setEntranceAngle(double entranceAngle) override
void setMessageHeader(const std::string &header)
double getBendAngle() const
virtual void setBendAngle(double angle)
double getEntranceAngle() const
double calcDesignRadius(double fieldAmplitude) const
Calculate design radius from design energy and field amplitude.
PartBunchBase< double, 3 > * RefPartBunch_m
virtual double getElementLength() const
Get design length.
virtual void setBendAngle(double angle) override
virtual void accept(BeamlineVisitor &) const override
Apply visitor to RBend.
virtual BMultipoleField & getField() override=0
Get multipole expansion of field.
double getNormalComponent(int) const
Get normal component.
virtual bool findChordLength(double &chordLength) override
void setNormalComponent(int, double)
Set normal component.
void setSkewComponent(int, double)
Set skew component.
double getSkewComponent(int) const
Get skew component.
virtual ElementType getType() const override
Get element type std::string.
virtual void setEntranceAngle(double entranceAngle) override
double getNormalComponent(int n) const
Get component.
double getSkewComponent(int n) const
Get component.
void setNormalComponent(int n, double Bn)
Set component.
void setSkewComponent(int n, double Bn)
Set component.