GeoOptimalMission:

--------------------------------------------------------------------------
   Simulate a geocentric locally optimal trajectory.
   This uses the control laws developed in McInnes.

   Functions demonstrated:
       PlanetOptimalTraj

   Eclipses are not modeled but the accurate sun angle is obtained from SunV1. 
   The RHS function FPitch is embedded below for use with ode113. It uses
   FOrbCart for the orbit dynamics.

   Since version 7.
--------------------------------------------------------------------------
   Form:
   [xPlot, t] = GeoOptimalMission( el0, jD0, nDays )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   el0      (6,1)     Initial Keplerian orbital elements
   jD0      (1,1)     Epoch, Julian date
   nDays    (1,1)     Number of days to simulate

   -------
   Outputs
   -------
   xPlot
   t

--------------------------------------------------------------------------
   Reference: Colin R. McInnes, "Solar Sailing: Technology, Dynamics and Mission
              Applications", Springer Praxis, London, 1999, pp. 156-158,
              Sec. 4.4.2.3, "Locally Optimal Steering - Planet-Centered Orbits"
--------------------------------------------------------------------------

Children:

Common: Database/Constant
Common: Graphics/InformDlg
Common: Graphics/NewFig
Common: Graphics/Plot2D
Math: Linear/Cross
Math: Linear/Unit
OrbitMiniToolbox: Support/El2RV
OrbitMiniToolbox: Support/FOrbCart
SC: BasicOrbit/RV2El
SC: BasicOrbit/RVFromKepler
SC: Ephem/SunV1
Sail: Guidance/PlanetOptimalTraj