30 coeff =
C; np[0] = nr; np[1] = nz;
62 static void SetTabSize(
const unsigned N);
63 static void FillTable (
const double r,
const double z);
65 static void AdjustTab();
68 std::vector<poly2d_term>
data;
72 static void IncNPwr(
const unsigned N) {
if (N > NPwr) NPwr =
N;}
73 static int GetMaxPow();
74 static unsigned Count() {
return poly2d_base_set.size();}
75 static void PrintTab(std::ostream &
out =
std::cout,
const std::streamsize prec = 5);
77 static void SetPoint(
const double r,
const double z);
81 poly2d_base_set.insert(
this);
86 poly2d_base_set.insert(
this);
99 void IncPow(
int nvar);
100 void DecPow(
int nvar);
102 void Scale(
const double C);
106 double GetVal() {
if (rz_set)
return Eval();
else return 0.;}
107 double GetVal(
const double r,
const double z) { SetPoint(r,z);
return Eval();}
std::vector< poly2d_term > data
poly2d_base(const poly2d_base &S)
double GetVal(const double r, const double z)
poly2d_term(double C, unsigned nr, unsigned nz)
static std::set< poly2d_base * > poly2d_base_set
void Print(std::ostream &out=std::cout, bool first_term=true)
static void IncNPwr(const unsigned N)
static const double MIN_COEFF