Function lupnt::GetLupntEpoch¶
Defined in File definitions.cc
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 bySimulation’s constructor from the config’sepochfield (viaSetLupntEpoch) and then read throughout the dynamics/agents/conversions modules (e.g.NumericalOrbitDynamics::CalcContrib,AttitudeDynamics,Satellite,Constellation/TLE propagation,CesiumViewer) to convert a local simulation timetinto an absolute TDB epoch viat_tdb = GetLupntEpoch() + t.- Returns:
Reference epoch [s, TDB since J2000]