Clearer setting of xll variable at end of integrator

feature/19
Daniel Warner 2011-04-01 12:42:54 +01:00
parent fd8370280c
commit 9f30d5990d
1 changed files with 3 additions and 3 deletions

View File

@ -1130,10 +1130,10 @@ void SGDP4::DeepSpaceSecular(const double& t, double& xll, double& omgasm,
const double xl = d_xli_ + xldot * ft + xndot * ft * ft * 0.5; const double xl = d_xli_ + xldot * ft + xndot * ft * ft * 0.5;
const double temp = -xnodes + i_gsto_ + t * THDT; const double temp = -xnodes + i_gsto_ + t * THDT;
if (!d_synchronous_flag_) if (d_synchronous_flag_)
xll = xl + temp + temp; xll = xl + temp - omgasm;
else else
xll = xl - omgasm + temp; xll = xl + temp + temp;
} }
/* /*