FLAME  devel
 All Classes Functions Variables Typedefs Enumerations Pages
moment_sup.h
1 #ifndef MOMENT2_SUP_H
2 #define MOMENT2_SUP_H
3 
4 #include <vector>
5 #include "base.h"
6 #include "moment.h"
7 
8 void inverse(MomentElementBase::value_t& out, const MomentElementBase::value_t& in);
9 
10 void RotMat(const double dx, const double dy,
11  const double theta_x, const double theta_y, const double theta_z,
12  typename MomentElementBase::value_t &R);
13 
14 void GetQuadMatrix(const double L, const double K, const unsigned ind, typename MomentElementBase::value_t &M);
15 
16 void GetEdgeMatrix(const double rho, const double phi, typename MomentElementBase::value_t &M);
17 
18 void GetEEdgeMatrix(const double fringe_x, const double fringe_y, const double kappa, typename MomentElementBase::value_t &M);
19 
20 void GetSBendMatrix(const double L, const double phi, const double phi1, const double phi2, const double K,
21  const double IonEs, const double ref_gamma, const double qmrel,
22  const double dip_beta, const double dip_gamma, const double d, const double dip_IonK, typename MomentElementBase::value_t &M);
23 
24 void GetSolMatrix(const double L, const double K, typename MomentElementBase::value_t &M);
25 
26 
27 void GetEBendMatrix(const double L, const double phi, const double fringe_x, const double fringe_y, const double kappa, const double Kx, const double Ky,
28  const double IonEs, const double ref_beta, const double real_gamma, const double eta0, const double h, const double dip_beta,
29  const double dip_gamma, const double delta_KZ, const double SampleIonK, typename MomentElementBase::value_t &M);
30 
31 #endif // MOMENT2_SUP_H