RHSReentry:

--------------------------------------------------------------------------
   Non dimensional reentry dynamics model.
   The time derivative is with respect to non-dimensional time. Includes
   the Earth rotation terms (if d.omega is not zero)

   Since version 1.0
--------------------------------------------------------------------------
   Form:
   xDot = RHSReentry( x, t, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x           (:,1)  [r;theta;phi;v;gamma;psi;massFuel]
   t           (1,1)  Normalized time (not used)
   d            (.)   Data structure
                      .thrust  (1,1) Thrust (N)
                      .uE      (1,:) Exhaust velocity engine (m/s)
                      .g       (1,1) Gravity (km/s^2)
                      .rPlanet (1,1) Planet radius (km)
                      .omega   (1,1) Planet rate (rad/s)
                      .planet  (1,:) Planet name
                      .mDry    (1,1) Dry mass
                      .atmData (1,1) Data for atmosphere
                      .l       (1,1) Characteristic length
                      .cDP     (1,1) Parasitic drag coefficient
                      .sRef    (1,1) Reference area for lift and drag
                      .alpha   (1,1) Angle of attack
                      .sigma   (1,1) Bank angle

   -------
   Outputs
   -------
   xDot        (:,1)  Stage structural ratios

--------------------------------------------------------------------------
	References:	Shen, Z. and Lu, P.,  "On-Board Entry Trajectory Planning
               Expanded to Sub-Orbital Flights".
               Vinh, N. X. and A. Busemann and Robert D. Culp, "Hypersonic and
               Planetary Entry Flight Mechanics," Ann Arbor University of 
               Michigan Press, 1980.
--------------------------------------------------------------------------

Children:

Common: Atmosphere/StdAtm