...
This commit is contained in:
@@ -80,7 +80,7 @@ int main()
|
||||
npk += 8;
|
||||
std::ranges::fill(tk, -1);
|
||||
std::ranges::fill(pk, -1);
|
||||
ec = mcc::fitpack::fitpack_sphere_smooth(tetha, phi, func, 1.0, 56000.0, ntk, npk, tk, pk, coeffs, rs);
|
||||
ec = mcc::fitpack::fitpack_sphere_smooth(tetha, phi, func, 1.0, 1800.0, ntk, npk, tk, pk, coeffs, rs);
|
||||
|
||||
std::cout << "FIT EC = " << ec << "\n";
|
||||
std::cout << "FIT RESI = " << rs << "\n";
|
||||
@@ -105,6 +105,12 @@ int main()
|
||||
tetha.resize(nt);
|
||||
phi.resize(np);
|
||||
|
||||
tk.resize(ntk);
|
||||
pk.resize(npk);
|
||||
|
||||
print_func(tetha, "TETHA:");
|
||||
print_func(phi, "PHI:");
|
||||
|
||||
ec = mcc::fitpack::fitpack_eval_spl2d(tk, pk, coeffs, tetha, phi, f_func);
|
||||
// ec = mcc::fitpack::fitpack_eval_spl2d(pk, tk, coeffs, phi, tetha, f_func);
|
||||
std::cout << "EVAL EC = " << ec << "\n";
|
||||
|
||||
Reference in New Issue
Block a user