Function lupnt::GetLupntEpoch

Function Documentation

Real lupnt::GetLupntEpoch()

Get the global simulation reference epoch [s, TDB since J2000].

This is the absolute time corresponding to simulation time t = 0. It is set once by Simulation’s constructor from the config’s epoch field (via SetLupntEpoch) and then read throughout the dynamics/agents/conversions modules (e.g. NumericalOrbitDynamics::CalcContrib, AttitudeDynamics, Satellite, Constellation/TLE propagation, CesiumViewer) to convert a local simulation time t into an absolute TDB epoch via t_tdb = GetLupntEpoch() + t.

Returns:

Reference epoch [s, TDB since J2000]