1 #ifndef HarmBasis3DCyl_h
2 #define HarmBasis3DCyl_h
6 namespace magfieldparam {
31 double GetVal(
double *coeff,
double *basis);
41 void GetLM(
const unsigned j,
int &Lj,
int &Mj) {
double GetBphi(double *coeff)
double GetBr_k(const unsigned k)
virtual ~HarmBasis3DCyl()
double GetBr(double *coeff)
void PrintBrB(std::ostream &out=std::cout)
void PrintBphiB(std::ostream &out=std::cout)
HarmBasis3DCyl(const unsigned N=18)
double GetPtn(double *coeff)
double GetBz_k(const unsigned k)
double GetBphi_k(const unsigned k)
double GetPtn_k(const unsigned k)
static void SetPoint(const double r, const double z, const double phi)
std::vector< harm_poly_vec > harm_poly_arr
std::vector< rz_harm_poly > harm_poly_vec
void Print(harm_poly_arr &B, std::ostream &out=std::cout)
void EvalRZ(harm_poly_arr &B, double *val)
void GetLM(const unsigned j, int &Lj, int &Mj)
void SetPoint(const double r, const double z, const double phi)
void PrintBzB(std::ostream &out=std::cout)
void PrintPtB(std::ostream &out=std::cout)
double GetVal(double *coeff, double *basis)
double GetBz(double *coeff)