Path: SC/Environs
% Computes the radiation disturbance from the central body.
The optional shadowing function has the form
[a,p] = ShadowFun(u, n, a, p)
and serves to elimate shadowed surfaces from further calculation.
--------------------------------------------------------------------------
Form:
[f, t, flux] = DistRadiation( r, q, n, a, p, optical, rPlanet,
qPlanet, shadowFun )
--------------------------------------------------------------------------
------
Inputs
------
r (3,:) Position vectors
q (4,:) Quaternion from ECI to body
n (3,m) Unit surface outward normals
a (1,m) Areas for each surface
p (3,m) Location of each surface
optical (4,m) Optical coefficients
rPlanet (1,1) Radius of the planet
qPlanet (1,1) Flux from the planet
shadowFun (:) Function handle for a shadowing function, optional
-------
Outputs
-------
f (3,:) Radiation force
t (3,:) Radiation torque
flux (1,:) Radiation flux
--------------------------------------------------------------------------
Orbit: OrbitMechanics/RVOrbGen SC: BasicOrbit/Period Common: Graphics/Plot2D Common: Quaternion/QForm Common: Quaternion/QTForm Math: Linear/Cross Math: Linear/Mag Math: Linear/Unit
Back to the SC Module page