#include <poly2d_base.h>
Public Member Functions | |
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 | 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) |
Static Protected Member Functions | |
static void | AdjustTab () |
static void | FillTable (const double r, const double z) |
static void | SetTabSize (const unsigned N) |
Protected Attributes | |
std::vector< poly2d_term > | data |
unsigned | max_pwr |
Static Protected Attributes | |
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 45 of file poly2d_base.h.
|
inline |
Definition at line 83 of file poly2d_base.h.
|
inline |
Definition at line 87 of file poly2d_base.h.
|
virtual |
Definition at line 53 of file poly2d_base.cc.
|
staticprotected |
Definition at line 120 of file poly2d_base.cc.
void poly2d_base::Collect | ( | ) |
Definition at line 171 of file poly2d_base.cc.
References gen::C, data, and magfieldparam::poly2d_term::np.
Referenced by magfieldparam::rz_harm_poly::LadderDwn(), and magfieldparam::rz_harm_poly::LadderUp().
|
inline |
|
inlinestatic |
Definition at line 78 of file poly2d_base.h.
References gather_cfg::cout, MillePedeFileConverter_cfg::out, and alignCSCRings::r.
Referenced by magfieldparam::rz_harm_poly::ParentCount().
void poly2d_base::DecPow | ( | int | nvar | ) |
Definition at line 282 of file poly2d_base.cc.
References magfieldparam::poly2d_term::coeff, data, and magfieldparam::poly2d_term::np.
Referenced by magfieldparam::rz_harm_poly::GetDecPow().
void poly2d_base::Diff | ( | int | nvar | ) |
Definition at line 231 of file poly2d_base.cc.
References magfieldparam::poly2d_term::coeff, data, and magfieldparam::poly2d_term::np.
Referenced by magfieldparam::rz_harm_poly::GetDiff().
double poly2d_base::Eval | ( | ) |
Definition at line 163 of file poly2d_base.cc.
References magfieldparam::poly2d_term::coeff, data, dqmiolumiharvest::j, magfieldparam::poly2d_term::np, and S().
Referenced by magfieldparam::HarmBasis3DCyl::EvalBphi(), and magfieldparam::HarmBasis3DCyl::EvalRZ().
|
staticprotected |
Definition at line 93 of file poly2d_base.cc.
|
static |
Definition at line 107 of file poly2d_base.cc.
|
inline |
Definition at line 110 of file poly2d_base.h.
|
inline |
Definition at line 116 of file poly2d_base.h.
References gather_cfg::cout, MillePedeFileConverter_cfg::out, and magfieldparam::poly2d_term::Print().
|
inlinestatic |
Definition at line 73 of file poly2d_base.h.
References N.
Referenced by magfieldparam::HarmBasis3DCyl::HarmBasis3DCyl().
void poly2d_base::IncPow | ( | int | nvar | ) |
Definition at line 270 of file poly2d_base.cc.
References data.
Referenced by magfieldparam::rz_harm_poly::GetIncPow().
void poly2d_base::Int | ( | int | nvar | ) |
Definition at line 256 of file poly2d_base.cc.
References data.
Referenced by magfieldparam::rz_harm_poly::GetInt().
|
inline |
|
inline |
Definition at line 96 of file poly2d_base.h.
void poly2d_base::Print | ( | std::ostream & | out = std::cout , |
const std::streamsize | prec = 5 |
||
) |
Definition at line 214 of file poly2d_base.cc.
References data.
Referenced by magfieldparam::rz_harm_poly::Print().
|
static |
Definition at line 127 of file poly2d_base.cc.
void poly2d_base::Scale | ( | const double | C | ) |
Definition at line 307 of file poly2d_base.cc.
Referenced by magfieldparam::rz_harm_poly::LadderDwn(), and magfieldparam::rz_harm_poly::LadderUp().
|
static |
Definition at line 151 of file poly2d_base.cc.
Referenced by magfieldparam::rz_harm_poly::SetPoint().
|
staticprotected |
|
protected |
Definition at line 69 of file poly2d_base.h.
Referenced by data_sources.node::__str__(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), data_sources.json_list::get_members(), magfieldparam::rz_harm_poly::LadderDwn(), magfieldparam::rz_harm_poly::LadderUp(), data_sources.json_list::last(), poly2d_base(), magfieldparam::rz_harm_poly::rz_harm_poly(), and cuy.FindIssue::startElement().
|
protected |
Definition at line 70 of file poly2d_base.h.
Referenced by poly2d_base(), and magfieldparam::rz_harm_poly::rz_harm_poly().
|
staticprotected |
Definition at line 58 of file poly2d_base.h.
Referenced by magfieldparam::poly2d_term::Print().
|
staticprotected |
Definition at line 55 of file poly2d_base.h.
Referenced by magfieldparam::poly2d_term::Print(), and magfieldparam::rz_harm_poly::rz_harm_poly().
|
staticprotected |
Definition at line 54 of file poly2d_base.h.
Referenced by magfieldparam::poly2d_term::Print().
|
staticprotected |
Definition at line 60 of file poly2d_base.h.
Referenced by magfieldparam::rz_harm_poly::GetMaxM(), magfieldparam::poly2d_term::Print(), and magfieldparam::rz_harm_poly::rz_harm_poly().
|
staticprotected |
Definition at line 50 of file poly2d_base.h.
Referenced by magfieldparam::poly2d_term::Print().
|
staticprotected |
Definition at line 53 of file poly2d_base.h.
Referenced by magfieldparam::poly2d_term::Print().
|
staticprotected |
Definition at line 56 of file poly2d_base.h.
Referenced by magfieldparam::poly2d_term::Print(), and magfieldparam::rz_harm_poly::rz_harm_poly().
|
staticprotected |
Definition at line 51 of file poly2d_base.h.
Referenced by magfieldparam::poly2d_term::Print().