|
Vulcan
Aerospace Engineering Utilities Built on Janus
|
#include <EarthModel.hpp>


Public Member Functions | |
| constexpr | ConstantOmegaRotation (double omega_, double theta0_=0.0) |
| double | gmst (double t_seconds) const override |
| Public Member Functions inherited from vulcan::EarthRotationModel | |
| virtual | ~EarthRotationModel ()=default |
| virtual double | ecef_to_eci_angle (double t_seconds) const |
Static Public Member Functions | |
| static constexpr ConstantOmegaRotation | from_wgs84 (double theta0=0.0) |
| Create rotation model using WGS84 angular velocity. | |
| static constexpr ConstantOmegaRotation | from_model (const EarthModel &model, double theta0=0.0) |
| Create rotation model using specified Earth model. | |
Public Attributes | |
| double | omega |
| Angular velocity [rad/s]. | |
| double | theta0 |
| Initial angle at t=0 [rad]. | |
Simple Earth rotation model with constant angular velocity
Suitable for short-duration simulations where precession/nutation can be neglected. Accuracy: ~arcseconds over hours, arcminutes over days.
θ(t) = θ₀ + ω·t
Example:
|
inlineconstexpr |
|
inlinestaticconstexpr |
Create rotation model using specified Earth model.
|
inlinestaticconstexpr |
Create rotation model using WGS84 angular velocity.
|
inlinenodiscardoverridevirtual |
Greenwich Mean Sidereal Time (or equivalent rotation angle) at time t
| t_seconds | Seconds since reference epoch (typically J2000.0) |
Implements vulcan::EarthRotationModel.
| double vulcan::ConstantOmegaRotation::omega |
Angular velocity [rad/s].
| double vulcan::ConstantOmegaRotation::theta0 |
Initial angle at t=0 [rad].