#include <rz_harm_poly.h>
Public Member Functions | |
void | CheatL (const unsigned newL) |
double | GetCos () |
rz_harm_poly | GetDecPow (int nvar) |
rz_harm_poly | GetDiff (int nvar) |
rz_harm_poly | GetIncPow (int nvar) |
rz_harm_poly | GetInt (int nvar) |
unsigned | GetL () |
int | GetM () |
double | GetSin () |
bool | IsPhiSet () |
rz_harm_poly | LadderDwn () |
rz_harm_poly | LadderUp () |
void | Print (std::ostream &out=std::cout, const std::streamsize prec=5) |
rz_harm_poly () | |
rz_harm_poly (const poly2d_base &S) | |
rz_harm_poly (const rz_harm_poly &S) | |
rz_harm_poly (const unsigned N) | |
~rz_harm_poly () override | |
Public Member Functions inherited from magfieldparam::poly2d_base | |
void | Collect () |
void | Compress () |
void | DecPow (int nvar) |
void | Diff (int nvar) |
double | Eval () |
double | GetVal () |
double | GetVal (const double r, const double z) |
void | IncPow (int nvar) |
void | Int (int nvar) |
bool | IsOn () |
bool | IsRZSet () |
poly2d_base () | |
poly2d_base (const poly2d_base &S) | |
void | Print (std::ostream &out=std::cout, const std::streamsize prec=5) |
void | Scale (const double C) |
virtual | ~poly2d_base () |
Static Public Member Functions | |
static unsigned | Count () |
static int | GetMaxM () |
static unsigned | ParentCount () |
static void | PrintTrigArr (std::ostream &out=std::cout, const std::streamsize prec=5) |
static void | SetPhi (const double phi) |
static void | SetPoint (const double r, const double z, const double phi) |
Static Public Member Functions inherited from magfieldparam::poly2d_base | |
static unsigned | Count () |
static int | GetMaxPow () |
static void | IncNPwr (const unsigned N) |
static void | PrintTab (std::ostream &out=std::cout, const std::streamsize prec=5) |
static void | SetPoint (const double r, const double z) |
Private Member Functions | |
void | PrintLM (std::ostream &out=std::cout) |
Static Private Member Functions | |
static void | FillTrigArr (const double phi) |
static void | SetTrigArrSize (const unsigned N) |
Private Attributes | |
unsigned | L |
int | M |
Static Private Attributes | |
static unsigned | Cnt = 0 |
static unsigned | MaxM = 0 |
static bool | phi_set = false |
static double | phival = -11111. |
static unsigned | TASize = 0 |
static trig_pair * | TrigArr = nullptr |
Additional Inherited Members | |
Static Protected Member Functions inherited from magfieldparam::poly2d_base | |
static void | AdjustTab () |
static void | FillTable (const double r, const double z) |
static void | SetTabSize (const unsigned N) |
Protected Attributes inherited from magfieldparam::poly2d_base | |
std::vector< poly2d_term > | data |
unsigned | max_pwr |
Static Protected Attributes inherited from magfieldparam::poly2d_base | |
static const double | MIN_COEFF = DBL_EPSILON |
static unsigned | NPwr = 0 |
static unsigned | NTab = 0 |
static std::set< poly2d_base * > | poly2d_base_set |
static double | rval = 0. |
static double ** | rz_pow = nullptr |
static bool | rz_set = false |
static double | zval = 0. |
Definition at line 38 of file rz_harm_poly.h.
|
inline |
|
inline |
Definition at line 73 of file rz_harm_poly.h.
|
inline |
rz_harm_poly::rz_harm_poly | ( | const unsigned | N | ) |
Definition at line 23 of file rz_harm_poly.cc.
References Cnt, magfieldparam::poly2d_base::data, L, M, magfieldparam::poly2d_base::max_pwr, N, magfieldparam::poly2d_base::NPwr, phi_set, magfieldparam::poly2d_base::poly2d_base_set, and magfieldparam::poly2d_base::rz_set.
|
override |
|
inline |
Definition at line 97 of file rz_harm_poly.h.
|
inlinestatic |
Definition at line 65 of file rz_harm_poly.h.
|
staticprivate |
Definition at line 113 of file rz_harm_poly.cc.
Referenced by SetPhi().
|
inline |
Definition at line 94 of file rz_harm_poly.h.
References magfieldparam::trig_pair::CosPhi.
Referenced by magfieldparam::HarmBasis3DCyl::EvalBphi(), and magfieldparam::HarmBasis3DCyl::EvalRZ().
|
inline |
Definition at line 83 of file rz_harm_poly.h.
References magfieldparam::poly2d_base::DecPow(), and dttmaxenums::R.
|
inline |
Definition at line 80 of file rz_harm_poly.h.
References magfieldparam::poly2d_base::Diff(), and dttmaxenums::R.
|
inline |
Definition at line 82 of file rz_harm_poly.h.
References magfieldparam::poly2d_base::IncPow(), and dttmaxenums::R.
|
inline |
Definition at line 81 of file rz_harm_poly.h.
References magfieldparam::poly2d_base::Int(), and dttmaxenums::R.
|
inline |
|
inline |
Definition at line 89 of file rz_harm_poly.h.
|
static |
Definition at line 72 of file rz_harm_poly.cc.
References funct::abs(), M, magfieldparam::poly2d_base::poly2d_base_set, and rz_harm_poly().
Referenced by ~rz_harm_poly().
|
inline |
Definition at line 95 of file rz_harm_poly.h.
References magfieldparam::trig_pair::SinPhi.
Referenced by magfieldparam::HarmBasis3DCyl::EvalBphi(), and magfieldparam::HarmBasis3DCyl::EvalRZ().
|
inline |
Definition at line 78 of file rz_harm_poly.h.
rz_harm_poly rz_harm_poly::LadderDwn | ( | ) |
Definition at line 193 of file rz_harm_poly.cc.
References funct::abs(), magfieldparam::poly2d_term::coeff, magfieldparam::poly2d_base::Collect(), magfieldparam::poly2d_base::data, createfilelist::int, L, M, MaxM, magfieldparam::poly2d_term::np, magfieldparam::poly2d_base::Scale(), and mathSSE::sqrt().
rz_harm_poly rz_harm_poly::LadderUp | ( | ) |
Definition at line 155 of file rz_harm_poly.cc.
References funct::abs(), magfieldparam::poly2d_term::coeff, magfieldparam::poly2d_base::Collect(), magfieldparam::poly2d_base::data, createfilelist::int, L, M, MaxM, magfieldparam::poly2d_term::np, magfieldparam::poly2d_base::Scale(), and mathSSE::sqrt().
|
inlinestatic |
|
inline |
Definition at line 98 of file rz_harm_poly.h.
References gather_cfg::cout, MillePedeFileConverter_cfg::out, and magfieldparam::poly2d_base::Print().
|
inlineprivate |
|
static |
Definition at line 123 of file rz_harm_poly.cc.
References magfieldparam::trig_pair::CosPhi, MaxM, magfieldparam::trig_pair::SinPhi, TASize, and TrigArr.
|
static |
Definition at line 88 of file rz_harm_poly.cc.
References FillTrigArr(), MaxM, phi_set, phival, SetTrigArrSize(), and TASize.
|
inlinestatic |
Definition at line 67 of file rz_harm_poly.h.
References magfieldparam::poly2d_base::SetPoint().
Referenced by magfieldparam::HarmBasis3DCyl::SetPoint().
|
staticprivate |
Definition at line 100 of file rz_harm_poly.cc.
References N, phi_set, TASize, and TrigArr.
Referenced by SetPhi().
|
staticprivate |
Definition at line 44 of file rz_harm_poly.h.
Referenced by rz_harm_poly(), and ~rz_harm_poly().
|
private |
Definition at line 41 of file rz_harm_poly.h.
Referenced by LadderDwn(), LadderUp(), and rz_harm_poly().
|
private |
Definition at line 42 of file rz_harm_poly.h.
Referenced by GetMaxM(), LadderDwn(), LadderUp(), rz_harm_poly(), and ~rz_harm_poly().
|
staticprivate |
Definition at line 47 of file rz_harm_poly.h.
Referenced by FillTrigArr(), LadderDwn(), LadderUp(), PrintTrigArr(), SetPhi(), and ~rz_harm_poly().
|
staticprivate |
Definition at line 46 of file rz_harm_poly.h.
Referenced by rz_harm_poly(), SetPhi(), SetTrigArrSize(), and ~rz_harm_poly().
|
staticprivate |
Definition at line 45 of file rz_harm_poly.h.
Referenced by SetPhi(), and ~rz_harm_poly().
|
staticprivate |
Definition at line 49 of file rz_harm_poly.h.
Referenced by PrintTrigArr(), SetPhi(), SetTrigArrSize(), and ~rz_harm_poly().
Definition at line 50 of file rz_harm_poly.h.
Referenced by FillTrigArr(), PrintTrigArr(), SetTrigArrSize(), and ~rz_harm_poly().