Skip to content

Commit

Permalink
spruce up ephemeris calculation debugging output a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
berthubert committed Sep 11, 2022
1 parent 4546811 commit 05a6c6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ephemeris.hh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ double getCoordinates(double tow, const T& iod, Point* p, bool quiet=true)

cerr << "sqrtA = "<< sqrtA << endl;
cerr << "deltan = "<< deltan << endl;
cerr << "t0e = "<< t0e << endl;
cerr << "t0e = "<< t0e << "( rel "<<(tow - t0e)<<")"<<endl;
cerr << "m0 = "<< m0 << " ("<<todeg(m0)<<")"<<endl;
cerr << "e = "<< e << endl;
cerr << "omega = " << omega << " ("<<todeg(omega)<<")"<<endl;
Expand Down Expand Up @@ -122,7 +122,7 @@ double getCoordinates(double tow, const T& iod, Point* p, bool quiet=true)

double M = m0 + n * tk;
if(!quiet)
cerr << " M = m0 + n * tk = "<<m0 << " + " << n << " * " << tk <<endl;
cerr << " M = m0 + n * tk = "<<m0 << " + " << n << " * " << tk << " = " <<M <<endl;
double E = M;
double newE;
for(int k =0 ; k < 10; ++k) {
Expand Down

0 comments on commit 05a6c6f

Please sign in to comment.