Function lupnt::Illumination¶
Defined in File forces.cc
Function Documentation¶
-
Real lupnt::Illumination(const Vec3 &r, const Vec3 &r_sun, Real R_body)¶
Computes the fractional illumination of a spacecraft.
Computes the illumination factor for solar radiation pressure.
- Parameters:
r – Spacecraft position relative to occulting body [m]
r_sun – Sun position relative to occulting body [m]
r – Position vector of the spacecraft relative to the occulting body.
r_sun – Position vector of the Sun relative to the occulting body.
R_body – Radius of the occulting body.
- Returns:
Illumination factor [0,1], 0 if in shadow, 1 if fully illuminated O. Montenbruck and G. Eberhard, Satellite orbits: models, methods, and applications, Sec. 3.4.2. Berlin: New York: Springer, 2000. doi: 10.1007/978-3-642-58351-3.
- Returns:
Real Illumination factor (0 to 1).