10#ifndef __GRAVITY_EARTH__
11#define __GRAVITY_EARTH__
14 #include "matrixlib.h"
16 #include <MatrixLib/MatrixLib.h>
43 void initialize_from_file(
char * filename );
44 double factorial(
int k );
45 ml_matrix harmonic_accel(
const ml_matrix& rG );
77 ml_matrix
compute_accel(
const ml_matrix& r_eci,
double julian_date );
Earth gravity model.
Definition: sc_gravity_earth.h:37
void initialize(void)
Initialize with GEMT1.
Definition: sc_gravity_earth.cc:36
void set_degree(int n)
Set the degree (See description)
Definition: sc_gravity_earth.h:84
void include_moon_accel(void)
Include the lunar gravitational perturbations.
Definition: sc_gravity_earth.h:86
void include_sun_accel(void)
Include the solar gravitational perturbations.
Definition: sc_gravity_earth.h:88
ml_matrix get_zonal_accel(void)
Get the zonal acceleration.
Definition: sc_gravity_earth.h:96
gravity_earth(void)
Constructor.
Definition: sc_gravity_earth.cc:19
ml_matrix compute_accel(const ml_matrix &r_eci, double julian_date)
Update the model with the input position in ECI (Earth Centered Inertial) coordinates.
Definition: sc_gravity_earth.cc:175
ml_matrix get_point_accel(void)
Get the point source acceleration.
Definition: sc_gravity_earth.h:92
ml_matrix get_tesseral_accel(void)
Get the tesseral acceleration.
Definition: sc_gravity_earth.h:94
void set_order(int n)
Set the order (See description)
Definition: sc_gravity_earth.h:82
ml_matrix compute_accel_ef(const ml_matrix &r_ef, double julian_date)
Update the model with the input position in EF (earth fixed) coordinates.
Definition: sc_gravity_earth.cc:150