1 #ifndef HarmBasis3DCyl_h 2 #define HarmBasis3DCyl_h 32 double GetVal(
double *coeff,
double *basis);
42 void GetLM(
const unsigned j,
int &Lj,
int &Mj) { Lj = L_k[j]; Mj = M_k[j];}
45 void SetPoint(
const double r,
const double z,
const double phi)
58 double GetBr_k (
const unsigned k) {
return Br_k[
k];}
59 double GetBz_k (
const unsigned k) {
return Bz_k[
k];}
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)
static const std::string B
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)