GravityHelio:

Path: Orbit/Interplanetary

% Calculate the heliocentric gravity for the position and date.

 Julian date is only used if lunar gravitational harmonics are used.
 If the field, sphHarmMoon, is not empty, it uses the moon harmonics.
--------------------------------------------------------------------------
   Form:
   a = GravityHelio( r, jD, rP, mu, iD, d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r       (3,1)   Heliocentric position (km)
   jD      (1,1)   Julian date (days)
   rP      (3,:)   Heliocentric planet locations (km)
   mu      (1,:)   Gravitational constants (km^3/s^2)
   iD      (1,:)   JPL planet ids
   d       (.)     Data structure
                       .muSun        (1,1)   Sun gravity constants
                       .sphHarmMoon  (.)     Data structure for the moon harmonics
                       .moonID       (1,1)   The index for the moon id in iD

   -------
   Outputs
   -------
   a       (3,:)   ECI force vector (N)

   See also APlanet, AGravityC, MoonRot

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

Children:

AC: ACData/ACTConstants
Orbit: GravityModels/LoadGEM
Orbit: GravityModels/NormalizationMatrix
Orbit: OrbitMechanics/AGravityC
Orbit: OrbitMechanics/APlanet
SC: Ephem/MoonRot
SC: SCData/sCTConstants
SC: SCMat/GEMT1
Common: CommonData/Constants
Common: CommonData/SwooshWatermark
Common: CommonData/xSplashSmall
Common: Database/Constant
Common: General/CellToMat
Common: General/DeBlankLT
Common: General/DeleteCell
Common: General/DispWithTitle
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/Mesh2
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Math: Linear/DupVect
Math: Linear/Factorl
Math: Linear/Mag

Back to the Orbit Module page