#include <HarmBasis3DCyl.h>
Public Member Functions | |
void | EvalBphi () |
void | EvalBr () |
void | EvalBz () |
void | EvalPtn () |
double | GetBphi (double *coeff) |
double | GetBphi_k (const unsigned k) |
double | GetBr (double *coeff) |
double | GetBr_k (const unsigned k) |
double | GetBz (double *coeff) |
double | GetBz_k (const unsigned k) |
unsigned | GetDim () |
unsigned | GetLen () |
void | GetLM (const unsigned j, int &Lj, int &Mj) |
double | GetPtn (double *coeff) |
double | GetPtn_k (const unsigned k) |
HarmBasis3DCyl (const unsigned N=18) | |
void | Print (std::ostream &out=std::cout) |
void | PrintBphiB (std::ostream &out=std::cout) |
void | PrintBrB (std::ostream &out=std::cout) |
void | PrintBzB (std::ostream &out=std::cout) |
void | PrintPtB (std::ostream &out=std::cout) |
void | SetPoint (const double r, const double z, const double phi) |
virtual | ~HarmBasis3DCyl () |
Private Member Functions | |
void | EvalRZ (harm_poly_arr &B, double *val) |
double | GetVal (double *coeff, double *basis) |
void | Print (harm_poly_arr &B, std::ostream &out=std::cout) |
Private Attributes | |
double * | Bphi_k |
harm_poly_arr | BphiB |
double * | Br_k |
harm_poly_arr | BrB |
double * | Bz_k |
harm_poly_arr | BzB |
unsigned | Dim |
int * | L_k |
unsigned | Len |
int * | M_k |
double * | P_k |
harm_poly_arr | PtB |
Definition at line 17 of file HarmBasis3DCyl.h.
HarmBasis3DCyl::HarmBasis3DCyl | ( | const unsigned | N = 18 | ) |
Definition at line 13 of file HarmBasis3DCyl.cc.
References Bphi_k, BphiB, Br_k, BrB, Bz_k, BzB, Dim, magfieldparam::poly2d_base::IncNPwr(), gen::k, dttmaxenums::L, L_k, Len, M_k, N, P_k, and PtB.
|
virtual |
void HarmBasis3DCyl::EvalBphi | ( | ) |
Definition at line 98 of file HarmBasis3DCyl.cc.
References Bphi_k, BphiB, Dim, magfieldparam::poly2d_base::Eval(), magfieldparam::rz_harm_poly::GetCos(), magfieldparam::rz_harm_poly::GetSin(), gen::k, dttmaxenums::L, and P.
Referenced by magfieldparam::BFit3D::GetField().
|
inline |
Definition at line 51 of file HarmBasis3DCyl.h.
References Br_k, BrB, and EvalRZ().
Referenced by magfieldparam::BFit3D::GetField().
|
inline |
Definition at line 52 of file HarmBasis3DCyl.h.
References Bz_k, BzB, and EvalRZ().
Referenced by magfieldparam::BFit3D::GetField().
|
inline |
Definition at line 50 of file HarmBasis3DCyl.h.
References EvalRZ(), P_k, and PtB.
|
private |
Definition at line 78 of file HarmBasis3DCyl.cc.
References Dim, magfieldparam::poly2d_base::Eval(), magfieldparam::rz_harm_poly::GetCos(), magfieldparam::rz_harm_poly::GetSin(), gen::k, dttmaxenums::L, and P.
|
inline |
Definition at line 68 of file HarmBasis3DCyl.h.
References Bphi_k, and GetVal().
Referenced by magfieldparam::BFit3D::GetField().
|
inline |
Definition at line 60 of file HarmBasis3DCyl.h.
References Bphi_k, and gen::k.
Referenced by magfieldparam::BFit3D::GetBphi_k().
|
inline |
Definition at line 66 of file HarmBasis3DCyl.h.
References Br_k, and GetVal().
Referenced by magfieldparam::BFit3D::GetField().
|
inline |
|
inline |
Definition at line 67 of file HarmBasis3DCyl.h.
References Bz_k, and GetVal().
Referenced by magfieldparam::BFit3D::GetField().
|
inline |
|
inline |
|
inline |
Definition at line 41 of file HarmBasis3DCyl.h.
References Len.
Referenced by magfieldparam::BFit3D::GetLen().
|
inline |
Definition at line 42 of file HarmBasis3DCyl.h.
|
inline |
Definition at line 65 of file HarmBasis3DCyl.h.
|
inline |
Definition at line 57 of file HarmBasis3DCyl.h.
|
private |
|
private |
Definition at line 129 of file HarmBasis3DCyl.cc.
Referenced by PrintBphiB(), PrintBrB(), PrintBzB(), magfieldparam::BFit3D::PrintPoly(), and PrintPtB().
void HarmBasis3DCyl::Print | ( | std::ostream & | out = std::cout | ) |
Definition at line 145 of file HarmBasis3DCyl.cc.
References PrintBphiB(), PrintBrB(), PrintBzB(), and PrintPtB().
|
inline |
Definition at line 73 of file HarmBasis3DCyl.h.
References BphiB, dbtoconf::out, and Print().
Referenced by Print(), and magfieldparam::BFit3D::PrintBphiPoly().
|
inline |
Definition at line 71 of file HarmBasis3DCyl.h.
References BrB, dbtoconf::out, and Print().
Referenced by Print(), and magfieldparam::BFit3D::PrintBrPoly().
|
inline |
Definition at line 72 of file HarmBasis3DCyl.h.
References BzB, dbtoconf::out, and Print().
Referenced by Print(), and magfieldparam::BFit3D::PrintBzPoly().
|
inline |
Definition at line 70 of file HarmBasis3DCyl.h.
References dbtoconf::out, Print(), and PtB.
Referenced by Print(), and magfieldparam::BFit3D::PrintPtnPoly().
|
inline |
Definition at line 45 of file HarmBasis3DCyl.h.
References magfieldparam::rz_harm_poly::SetPoint().
Referenced by magfieldparam::BFit3D::GetField().
|
private |
Definition at line 24 of file HarmBasis3DCyl.h.
Referenced by EvalBphi(), GetBphi(), GetBphi_k(), HarmBasis3DCyl(), and ~HarmBasis3DCyl().
|
private |
Definition at line 29 of file HarmBasis3DCyl.h.
Referenced by EvalBphi(), HarmBasis3DCyl(), and PrintBphiB().
|
private |
Definition at line 24 of file HarmBasis3DCyl.h.
Referenced by EvalBr(), GetBr(), GetBr_k(), HarmBasis3DCyl(), and ~HarmBasis3DCyl().
|
private |
Definition at line 27 of file HarmBasis3DCyl.h.
Referenced by EvalBr(), HarmBasis3DCyl(), and PrintBrB().
|
private |
Definition at line 24 of file HarmBasis3DCyl.h.
Referenced by EvalBz(), GetBz(), GetBz_k(), HarmBasis3DCyl(), and ~HarmBasis3DCyl().
|
private |
Definition at line 28 of file HarmBasis3DCyl.h.
Referenced by EvalBz(), HarmBasis3DCyl(), and PrintBzB().
|
private |
Definition at line 20 of file HarmBasis3DCyl.h.
Referenced by EvalBphi(), EvalRZ(), GetDim(), and HarmBasis3DCyl().
|
private |
Definition at line 23 of file HarmBasis3DCyl.h.
Referenced by GetLM(), HarmBasis3DCyl(), and ~HarmBasis3DCyl().
|
private |
Definition at line 21 of file HarmBasis3DCyl.h.
Referenced by GetLen(), GetVal(), and HarmBasis3DCyl().
|
private |
Definition at line 23 of file HarmBasis3DCyl.h.
Referenced by GetLM(), HarmBasis3DCyl(), and ~HarmBasis3DCyl().
|
private |
Definition at line 24 of file HarmBasis3DCyl.h.
Referenced by EvalPtn(), GetPtn(), GetPtn_k(), HarmBasis3DCyl(), and ~HarmBasis3DCyl().
|
private |
Definition at line 26 of file HarmBasis3DCyl.h.
Referenced by EvalPtn(), HarmBasis3DCyl(), and PrintPtB().