8 namespace magfieldparam {
15 static const double C0[360][4];
16 static const double C1[360][5];
17 static const double C2[360][3];
53 void GetField(
const double r,
const double z,
const double phi,
54 double &Br,
double &Bz,
double &Bphi);
double GetBr_k(const unsigned k)
static const double B_nom[4]
void PrintBrB(std::ostream &out=std::cout)
void PrintBphiPoly(std::ostream &out=std::cout)
void PrintBphiB(std::ostream &out=std::cout)
void SetField(const double B)
double GetBz_k(const unsigned k)
void PrintBrPoly(std::ostream &out=std::cout)
void GetField(const double r, const double z, const double phi, double &Br, double &Bz, double &Bphi)
static const double C0[360][4]
double GetBphi_k(const unsigned k)
void SetCoeff_Linear(const double B)
void PrintBzPoly(std::ostream &out=std::cout)
void PrintPtnPoly(std::ostream &out=std::cout)
void Print(harm_poly_arr &B, std::ostream &out=std::cout)
static const double C1[360][5]
double GetBz_k(const unsigned k)
double GetBr_k(const unsigned k)
void UseSpline(const bool flag=true)
void UseSignedRad(const bool flag=true)
void PrintPoly(std::ostream &out=std::cout)
void PrintBzB(std::ostream &out=std::cout)
void SetCoeff_Spline(const double B)
static const double C2[360][3]
void PrintPtB(std::ostream &out=std::cout)
double GetBphi_k(const unsigned k)