Spacecraft Control Framework 1.0
Spacecraft Control Library
Public Attributes | List of all members
gravity_s Struct Reference

Structure for storing gravitational properties of a planet, used to compute the gravitational matrix at a location and time. More...

#include <sc_gravity.h>

Public Attributes

double p_radius
 Planet equatorial radius.
 
double mu
 Planet spherical gravity coefficient.
 
ml_matrix s_coef
 The sine term coefficients.
 
ml_matrix c_coef
 The cosine term coefficients.
 
ml_matrix c_dist
 Functions of distance from the planet center that multiply the c terms.
 
ml_matrix s_dist
 Functions of distance from the planet center that multiply the s terms.
 
ml_matrix l_coef
 Legendre coefficients.
 
int z_harm
 Number of zonal harmonics.
 
int t_harm
 Number of tesseral harmonics.
 
int spherical
 If non-zero, include the spherical gravity term in the output force.
 

Detailed Description

Structure for storing gravitational properties of a planet, used to compute the gravitational matrix at a location and time.