Commit 5fed7eb9 authored by Alexander Lapshin's avatar Alexander Lapshin

interpolatior step 3 times reduced

parent d764526c
...@@ -28,7 +28,7 @@ static double get_step(const SInitOrbit& orbit) ...@@ -28,7 +28,7 @@ static double get_step(const SInitOrbit& orbit)
{ {
const double period = orbit.GetKeplerData().GetPeriod() * 1000 / 60; const double period = orbit.GetKeplerData().GetPeriod() * 1000 / 60;
const double ecc = orbit.GetKeplerData().GetEccentricity(); const double ecc = orbit.GetKeplerData().GetEccentricity();
return get_step(period, ecc); return get_step(period, ecc) / 3;
} }
XInterpolator::XInterpolator() = default; XInterpolator::XInterpolator() = default;
...@@ -198,7 +198,7 @@ Vect6 XInterpolator::get_pos(const TimeJD& date, const bool tks) const ...@@ -198,7 +198,7 @@ Vect6 XInterpolator::get_pos(const TimeJD& date, const bool tks) const
if (ircode != 0) { if (ircode != 0) {
throw Exp() << "interpolation fail\n"; throw Exp() << "interpolation fail\n";
} }
if (!tks) { if (!tks) {
return { return {
outvec[0], outvec[0],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment