Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

SolveKeplerLaguerreConway Struct Reference

List of all members.

Public Member Functions

double operator() (double x) const
 SolveKeplerLaguerreConway (double _ecc, double _M)

Public Attributes

double ecc
double M

Constructor & Destructor Documentation

SolveKeplerLaguerreConway::SolveKeplerLaguerreConway double  _ecc,
double  _M
[inline]
 

Definition at line 80 of file orbit.cpp.

References ecc, and M.

00080 : ecc(_ecc), M(_M) {};


Member Function Documentation

double SolveKeplerLaguerreConway::operator() double  x  )  const [inline]
 

Definition at line 82 of file orbit.cpp.

References abs(), cos(), ecc, M, sign(), sin(), and sqrt().

00083     {
00084         double s = ecc * sin(x);
00085         double c = ecc * cos(x);
00086         double f = x - s - M;
00087         double f1 = 1 - c;
00088         double f2 = s;
00089         x += -5 * f / (f1 + sign(f1) * sqrt(abs(16 * f1 * f1 - 20 * f * f2)));
00090 
00091         return x;
00092     }


Member Data Documentation

double SolveKeplerLaguerreConway::ecc
 

Definition at line 77 of file orbit.cpp.

Referenced by operator()(), and SolveKeplerLaguerreConway().

double SolveKeplerLaguerreConway::M
 

Definition at line 78 of file orbit.cpp.

Referenced by operator()(), and SolveKeplerLaguerreConway().


The documentation for this struct was generated from the following file:
Generated on Sat Jan 14 22:33:36 2006 for Celestia by  doxygen 1.4.1