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 --------------------------------------------------------------------------
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/Eclipse 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/NPlot 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/Dot Math: Linear/DupVect Math: Linear/Mag Math: Linear/Unit Math: Trigonometry/CosD Math: Trigonometry/SinD
Back to the SCPro Module page