Kstars
10 #include "cachingdms.h"
13 #pragma GCC diagnostic push
14 #pragma GCC diagnostic ignored "-Wignored-attributes"
17 #pragma GCC diagnostic ignored "-Wint-in-bool-context"
21 #pragma GCC diagnostic pop
81 inline double dObliq()
const {
return deltaObliquity; }
85 inline double dEcLong()
const {
return deltaEcLong; }
91 inline long double julianDay()
const {
return days; }
97 inline double p1(
int i1,
int i2)
const {
return P1(i1, i2); }
100 inline double p2(
int i1,
int i2)
const {
return P2(i1, i2); }
103 inline double p1b(
int i1,
int i2)
const {
return P1B(i1, i2); }
106 inline double p2b(
int i1,
int i2)
const {
return P2B(i1, i2); }
109 inline const Eigen::Matrix3d &
p2()
const {
return P1; }
110 inline const Eigen::Matrix3d &p1()
const {
return P2; }
111 inline const Eigen::Matrix3d &
p1b()
const {
return P1B; }
112 inline const Eigen::Matrix3d &
p2b()
const {
return P2B; }
128 inline long double getJD()
const {
return days; }
130 inline double vEarth(
int i)
const {
return vearth[i]; }
134 dms K, L, LM, M, M0, O, D, MM, F;
135 dms XP, YP, ZP, XB, YB, ZB;
136 double CX, SX, CY, SY, CZ, SZ;
137 double CXB, SXB, CYB, SYB, CZB, SZB;
138 Eigen::Matrix3d P1, P2, P1B, P2B;
139 double deltaObliquity, deltaEcLong;
143 static const int arguments[NUTTERMS][5];
144 static const int amp[NUTTERMS][4];
double p2b(int i1, int i2) const
double julianMillenia() const
double p1b(int i1, int i2) const
a dms subclass that caches its sine and cosine values every time the angle is changed.
CachingDms sunTrueLongitude() const
void computeConstantValues()
compute constant values that need to be computed only once per instance of the application
KSNumbers(long double jd)
Constructor.
long double getJD() const
const Eigen::Matrix3d & p2() const
Store several time-dependent astronomical quantities.
dms sunTrueAnomaly() const
void updateValues(long double jd)
update all values for the date given as an argument.
double earthEccentricity() const
long double julianDay() const
double p2(int i1, int i2) const
An angle, stored as degrees, but expressible in many ways.
double p1(int i1, int i2) const
const CachingDms * obliquity() const
dms sunMeanLongitude() const
double julianCenturies() const
CachingDms earthPerihelionLongitude() const
dms sunMeanAnomaly() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Oct 1 2023 04:02:40 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.