DistSolar:

Path: SCPro/ProEnvirons

% Computes the albedo disturbance.
 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] = DistSolar( r, q, uSun, n, a, p, optical, rPlanet, rSun, shadowFun )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r         (3,:) Position vectors
   q         (4,:) Quaternion from ECI to body
   uSun      (3,:) Unit sun vector
   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) Planet radius
   rSun      (1,:) Distance to sun
   shadowFun  (:)  Handle for shadowing function

   -------
   Outputs
   -------
   f         (3,:) Solar force
   t         (3,:) Solar torque
   flux      (1,:) Solar flux

--------------------------------------------------------------------------

Children:

Common: Graphics/Plot2D
Common: Quaternion/QForm
Common: Quaternion/QTForm
Common: Time/Date2JD
Math: Linear/Cross
Math: Linear/Unit
Orbit: OrbitMechanics/RVOrbGen
SC: BasicOrbit/Period
SC: Ephem/Eclipse
SC: Ephem/SunV1

Back to the SCPro Module page