#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 69 of file rz_harm_poly.h.
References Cnt.
|
inline |
Definition at line 70 of file rz_harm_poly.h.
References Cnt.
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 |
|
inlinestatic |
|
staticprivate |
Definition at line 114 of file rz_harm_poly.cc.
References MaxM, cmsswSequenceInfo::tp, and TrigArr.
Referenced by SetPhi().
|
inline |
Definition at line 106 of file rz_harm_poly.h.
References magfieldparam::trig_pair::CosPhi, M, and TrigArr.
Referenced by magfieldparam::HarmBasis3DCyl::EvalBphi(), and magfieldparam::HarmBasis3DCyl::EvalRZ().
|
inline |
Definition at line 91 of file rz_harm_poly.h.
References magfieldparam::poly2d_base::DecPow(), and dttmaxenums::R.
|
inline |
Definition at line 76 of file rz_harm_poly.h.
References magfieldparam::poly2d_base::Diff(), and dttmaxenums::R.
|
inline |
Definition at line 86 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 |
|
static |
Definition at line 71 of file rz_harm_poly.cc.
References funct::abs(), M, and magfieldparam::poly2d_base::poly2d_base_set.
Referenced by ~rz_harm_poly().
|
inline |
Definition at line 107 of file rz_harm_poly.h.
References M, magfieldparam::trig_pair::SinPhi, and TrigArr.
Referenced by magfieldparam::HarmBasis3DCyl::EvalBphi(), and magfieldparam::HarmBasis3DCyl::EvalRZ().
|
inline |
rz_harm_poly rz_harm_poly::LadderDwn | ( | ) |
Definition at line 194 of file rz_harm_poly.cc.
References funct::abs(), magfieldparam::poly2d_term::coeff, magfieldparam::poly2d_base::Collect(), magfieldparam::poly2d_base::data, 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, L, M, MaxM, magfieldparam::poly2d_term::np, magfieldparam::poly2d_base::Scale(), and mathSSE::sqrt().
|
inlinestatic |
|
inline |
Definition at line 110 of file rz_harm_poly.h.
References submitPVResolutionJobs::out, magfieldparam::poly2d_base::Print(), and PrintLM().
|
inlineprivate |
Definition at line 54 of file rz_harm_poly.h.
References L, M, and submitPVResolutionJobs::out.
Referenced by Print().
|
static |
Definition at line 125 of file rz_harm_poly.cc.
References magfieldparam::trig_pair::CosPhi, MaxM, magfieldparam::trig_pair::SinPhi, TASize, and TrigArr.
|
static |
Definition at line 86 of file rz_harm_poly.cc.
References FillTrigArr(), MaxM, phi_set, phival, SetTrigArrSize(), and TASize.
Referenced by SetPoint().
|
inlinestatic |
Definition at line 63 of file rz_harm_poly.h.
References SetPhi(), and 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 43 of file rz_harm_poly.h.
Referenced by Count(), rz_harm_poly(), and ~rz_harm_poly().
|
private |
Definition at line 40 of file rz_harm_poly.h.
Referenced by CheatL(), GetL(), LadderDwn(), LadderUp(), PrintLM(), and rz_harm_poly().
|
private |
Definition at line 41 of file rz_harm_poly.h.
Referenced by GetCos(), GetM(), GetMaxM(), GetSin(), LadderDwn(), LadderUp(), PrintLM(), rz_harm_poly(), and ~rz_harm_poly().
|
staticprivate |
Definition at line 46 of file rz_harm_poly.h.
Referenced by FillTrigArr(), LadderDwn(), LadderUp(), PrintTrigArr(), SetPhi(), and ~rz_harm_poly().
|
staticprivate |
Definition at line 45 of file rz_harm_poly.h.
Referenced by IsPhiSet(), rz_harm_poly(), SetPhi(), SetTrigArrSize(), and ~rz_harm_poly().
|
staticprivate |
Definition at line 44 of file rz_harm_poly.h.
Referenced by SetPhi(), and ~rz_harm_poly().
|
staticprivate |
Definition at line 48 of file rz_harm_poly.h.
Referenced by PrintTrigArr(), SetPhi(), SetTrigArrSize(), and ~rz_harm_poly().
|
staticprivate |
Definition at line 49 of file rz_harm_poly.h.
Referenced by FillTrigArr(), GetCos(), GetSin(), PrintTrigArr(), SetTrigArrSize(), and ~rz_harm_poly().