Esempio n. 1
0
 public StatThermalEqSolving_simple(int _n, double _a = 0, double _b = 1)
 {
     a    = _a;
     b    = _b;
     n    = _n;
     grid = new Grid1D(a, b, n);
     h    = (b - a) / n;
     v    = new double[n + 1];
 }
Esempio n. 2
0
 public StatThermalEqSolving(Coeffs _coeffs, double _mu1, double _mu2, double _ksi, int _n, double _a = 0, double _b = 1)
 {
     a      = _a;
     b      = _b;
     n      = _n;
     mu1    = _mu1;
     mu2    = _mu2;
     ksi    = _ksi;
     coeffs = _coeffs;
     grid   = new Grid1D(a, b, n);
     h      = (b - a) / n;
     v      = new double[n + 1];
 }