Class in Zendir.Universe
| Inherits from UniverseModel
Declaration
class SphericalHarmonicsModel;
Description
Class for spherical harmonics that are used by the
celestial bodies for more accurate gravity models.
Properties
Declared | Description |
---|
FilePath | The full file path to the spherical harmonics system into thesimulation. |
In_PlanetStateMsg | A reference to the planet state message from the simulation |
J2 | Get the J2 parameter by un-normalising the equivalent CBar coefficient |
MaxDegree | Maximum degree of the spherical harmonics |
Mu | Gravitation parameter for the planet |
Radius | Reference equatorial radius for the planet |
Inherited | Description |
---|
IsEnabled | Is true if the object is currently enabled. |
Name | The display name or tag of this object. |
Parent | The currently attached parent object. |
Methods
Declared | Description |
---|
ComputeField | Computes the gravitational field at a particular location |
Initialise | Initialises the spherical harmonics based on the file path that is provided.This will ensure all of the array and maths are initialised correctly. |
InitialiseParameters | Configures all Spherical Harmonics based on inputs |
Inherited | Description |
---|
Destroy | Removes the current object from the simulation. |
FindParentWithID | Returns an attached parent that satisfies the specified ID. |
FindParentWithType | Returns an attached parent that satisfies the specified type. |
FindRootWithID | Returns a root object that satisfies the specified ID. |
FindRootWithType | Returns a root object that satisfies the specified type. |