ScaleVehicle:

------------------------------------------------------------------------
   Scale a vehicle's properties.

   Volume is scaled by the cube of the given factor. Area is scaled by the
   square. Affected fields include: mS, mSS, mSP, m0, mF, mTotal, mPLD,
   mDot, thrust, tBurn, cDA.

   Since version 1.0
------------------------------------------------------------------------
   Form:
   d = ScaleVehicle( d, scale )
------------------------------------------------------------------------

   ------
   Inputs
   ------
   d             (.)      Data structure
                          .mS     (1,1) Mass structure 
                          .mPLD   (1,1) Mass payload
                          .thrust (1,1) Thrust
                          .eS     (1,1) Stage structural ratios
                          .m0     (1,1) Total mass of each stage (including everything above)
                          .mF     (1,1) Final mass of each stage (including everything above)
                          .pS     (1,1) Stage payload ratios
                          .mSP    (1,1) Stage propellant mass
                          .mSS    (1,1) Stage structural mass
                          .mDot   (1,1) Mass flow
                          .tBurn  (1,1) Burn duration
                          .cDA    (1,1) Product of drag coeff and area
                          .mTotal (1,1) Total mass
   scale        (1,1)     Linear scale factor
                           

   -------
   Outputs
   -------
   d             (.)      Data structure after scaling

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

Children:

Propulsion: MultiStage/MS2M