DistAlbedo:

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] = DistAlbedo( r, q, uSun, n, a, p, optical, alpha, rPlanet, qSun, 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
   optical   (4,m) Optical coefficients
   p         (3,m) Location of each surface
   alpha     (1,1) Albedo coefficient
   rPlanet   (1,1) Planet radius
   qSun      (1,1) Solar flux
   shadowFun  (:)  Handle for shadowing function

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

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

Children:

Orbit: OrbitCoord/SLR
Orbit: OrbitMechanics/RVOrbGen
SC: BasicOrbit/CP2I
SC: BasicOrbit/E2M
SC: BasicOrbit/E2Nu
SC: BasicOrbit/M2E
SC: BasicOrbit/M2EApp
SC: BasicOrbit/M2EEl
SC: BasicOrbit/M2EHy
SC: BasicOrbit/Nu2E
SC: BasicOrbit/Nu2M
SC: BasicOrbit/Period
SC: Ephem/SunV1
Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/DeBlankLT
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/Axis3D
Common: Graphics/Mesh2
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Graphics/TimeLabl
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Quaternion/QForm
Common: Quaternion/QTForm
Common: Time/DTSToDTA
Common: Time/Date2JD
Math: Linear/Cross
Math: Linear/DupVect
Math: Linear/Mag
Math: Linear/Unit
Math: Trigonometry/CosD
Math: Trigonometry/SinD

Back to the SCPro Module page