CelestialCalendar 1.0.0 · unreleased development @ 67a7c4c79a4a4a6aa7e703c9e6f0039ae34bee82
Loading...
Searching...
No Matches
elp2000_82b.hpp File Reference
#include <array>
#include <cmath>
#include <ranges>
#include <cstddef>
#include <cstdlib>
#include <functional>
#include <cstdint>
#include <algorithm>
#include "toolbox.hpp"

Classes

struct  astro::elp2000_82b::coeff::LRCoefficients
 Represents a coefficient term in the truncated ELP2000-82B model, used to calculate Longitude and Radius. More...
struct  astro::elp2000_82b::coeff::BCoefficients
 Represents a coefficient term in the truncated ELP2000-82B model, used to calculate Latitude. More...
struct  astro::elp2000_82b::Context
 The context (arguments) for a given julian century. More...
struct  astro::elp2000_82b::Evaluation
 The result of the ELP2000-82B evaluation. More...
struct  astro::elp2000_82b::detail::Term
 One row's contribution to Σl and Σr. More...

Namespaces

namespace  astro
namespace  astro::elp2000_82b
namespace  astro::elp2000_82b::coeff
namespace  astro::elp2000_82b::detail

Functions

auto astro::elp2000_82b::create_context (const double jc) -> Context
 Create context for the given julian century.
auto astro::elp2000_82b::evaluate (const double jc) -> Evaluation
 Evaluate ELP2000-82B on the given parameters.

Variables

constexpr std::array< LRCoefficients, 60 > astro::elp2000_82b::coeff::LR
 Represents coefficients of the LR table.
constexpr std::array< BCoefficients, 60 > astro::elp2000_82b::coeff::B
 Represents coefficients of the B table.
constexpr double astro::elp2000_82b::LON_LAT_SCALING_FACTOR
 The scaling factor used in the Jean Meeus's Astronomical Algorithms, for the longitude and latitude. The unit of the raw evaluation result of longitude and latitude is 0.000001 degree.
constexpr double astro::elp2000_82b::RADIUS_SCALING_FACTOR
 The scaling factor used in the Jean Meeus's Astronomical Algorithms, for the radius/distance. The unit of the raw evaluation result of radius/distance is 0.001 kilometer.