Program Listing for File iau_sofa.h

Return to documentation for file (data/iau_sofa.h)

#pragma once

#include <filesystem>

#include "lupnt/core/definitions.h"

namespace lupnt {

  // Struct to hold EOP data
  struct IauSofaFileData {
    VecXd jd_tt;
    VecXd X;
    VecXd Y;
    VecXd s;
  };

  struct IauSofaData {
    Real X;
    Real Y;
    Real s;
  };

  void LoadIauSofaFileData(const std::filesystem::path& filepath);

  IauSofaData GetIauSofaData(Real jd_tt);

}  // namespace lupnt