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

DeclaredDescription
FilePathThe full file path to the spherical harmonics system into thesimulation.
In_PlanetStateMsgA reference to the planet state message from the simulation
J2Get the J2 parameter by un-normalising the equivalent CBar coefficient
MaxDegreeMaximum degree of the spherical harmonics
MuGravitation parameter for the planet
RadiusReference equatorial radius for the planet
InheritedDescription
IsEnabledIs true if the object is currently enabled.
NameThe display name or tag of this object.
ParentThe currently attached parent object.

Methods

DeclaredDescription
ComputeFieldComputes the gravitational field at a particular location
InitialiseInitialises the spherical harmonics based on the file path that is provided.This will ensure all of the array and maths are initialised correctly.
InitialiseParametersConfigures all Spherical Harmonics based on inputs
InheritedDescription
DestroyRemoves the current object from the simulation.
FindParentWithIDReturns an attached parent that satisfies the specified ID.
FindParentWithTypeReturns an attached parent that satisfies the specified type.
FindRootWithIDReturns a root object that satisfies the specified ID.
FindRootWithTypeReturns a root object that satisfies the specified type.