#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 = 0 |
static bool | rz_set = false |
static double | zval = 0. |
Definition at line 44 of file poly2d_base.h.
|
inline |
Definition at line 79 of file poly2d_base.h.
References max_pwr, and poly2d_base_set.
|
inline |
Definition at line 83 of file poly2d_base.h.
References data, max_pwr, and poly2d_base_set.
|
virtual |
Definition at line 49 of file poly2d_base.cc.
|
staticprotected |
Definition at line 115 of file poly2d_base.cc.
void poly2d_base::Collect | ( | ) |
Definition at line 166 of file poly2d_base.cc.
Referenced by Compress().
|
inline |
|
inlinestatic |
Definition at line 74 of file poly2d_base.h.
References poly2d_base_set.
Referenced by magfieldparam::rz_harm_poly::ParentCount().
void poly2d_base::DecPow | ( | int | nvar | ) |
Definition at line 272 of file poly2d_base.cc.
Referenced by magfieldparam::rz_harm_poly::GetDecPow().
void poly2d_base::Diff | ( | int | nvar | ) |
Definition at line 222 of file poly2d_base.cc.
Referenced by magfieldparam::rz_harm_poly::GetDiff().
double poly2d_base::Eval | ( | ) |
Definition at line 157 of file poly2d_base.cc.
Referenced by magfieldparam::HarmBasis3DCyl::EvalBphi(), magfieldparam::HarmBasis3DCyl::EvalRZ(), and GetVal().
|
staticprotected |
Definition at line 89 of file poly2d_base.cc.
|
static |
Definition at line 102 of file poly2d_base.cc.
|
inline |
|
inline |
Definition at line 107 of file poly2d_base.h.
References Eval(), and SetPoint().
|
inlinestatic |
Definition at line 72 of file poly2d_base.h.
Referenced by magfieldparam::HarmBasis3DCyl::HarmBasis3DCyl().
void poly2d_base::IncPow | ( | int | nvar | ) |
Definition at line 260 of file poly2d_base.cc.
Referenced by magfieldparam::rz_harm_poly::GetIncPow().
void poly2d_base::Int | ( | int | nvar | ) |
Definition at line 246 of file poly2d_base.cc.
Referenced by magfieldparam::rz_harm_poly::GetInt().
|
inline |
|
inline |
void poly2d_base::Print | ( | std::ostream & | out = std::cout , |
const std::streamsize | prec = 5 |
||
) |
Definition at line 204 of file poly2d_base.cc.
Referenced by magfieldparam::rz_harm_poly::Print().
|
static |
Definition at line 122 of file poly2d_base.cc.
void poly2d_base::Scale | ( | const double | C | ) |
Definition at line 296 of file poly2d_base.cc.
|
static |
Definition at line 148 of file poly2d_base.cc.
Referenced by GetVal(), and magfieldparam::rz_harm_poly::SetPoint().
|
staticprotected |
Definition at line 69 of file poly2d_base.cc.
|
protected |
Definition at line 68 of file poly2d_base.h.
Referenced by IsOn(), and poly2d_base().
|
protected |
Definition at line 69 of file poly2d_base.h.
Referenced by poly2d_base().
|
staticprotected |
Definition at line 57 of file poly2d_base.h.
|
staticprotected |
Definition at line 54 of file poly2d_base.h.
Referenced by IncNPwr().
|
staticprotected |
Definition at line 53 of file poly2d_base.h.
|
staticprotected |
Definition at line 59 of file poly2d_base.h.
Referenced by Count(), and poly2d_base().
|
staticprotected |
Definition at line 49 of file poly2d_base.h.
|
staticprotected |
Definition at line 52 of file poly2d_base.h.
|
staticprotected |
Definition at line 55 of file poly2d_base.h.
|
staticprotected |
Definition at line 50 of file poly2d_base.h.