CelestialSystem.MassRatio Property

Top 

Description

The mass ratio of the celestial system. Depending on the value of the RecomputeBarycenter property, the mass ratio will be calculated two different ways:

 

If RecomputeBarycenter == 1, then the mass ratio is calculated as the ratio of the combined mass of all secondary bodies to the total mass of all bodies in the system.

 

If RecomputeBarycenter == 0, then the mass ratio is calculated as the ratio of the combined mass of all secondary bodies to the mass of the primary body. FreeFlyer will automatically treat the largest body in the system as the primary body.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode.

 

Attributes

Type:

number

Access:

read

 

Syntax

myVariable1 = myCelestialSystem1.MassRatio;

 

See also

CelestialSystem Object

Rotating-Pulsating Systems Guide