A point gravity model.
More...
#include <gravity_earth_ideal.h>
Inherits dsim_model.
|
| gravity_earth_ideal (dsim_model_setup *setup) |
| Constructor.
|
|
| ~gravity_earth_ideal () |
| Destructor.
|
|
void | initialize_data () |
| Initialize outlets and output variables.
|
|
void | initialize_timestep () |
| Computation done prior to numerical integration.
|
|
void | initialization_complete () |
| Finish initialization.
|
|
void | pre_calculate () |
| Computation prior to integration.
|
|
void | rhs (double t, double jd) |
| Computation done during numerical integration.
|
|
void | complete_timestep () |
| Computation done after numerical integration.
|
|
A point gravity model.
Models the earth as a point gravity source. There is a singularity at [0;0;0] so if you don't give the vehicle a non-zero position you will get nan. This model also computes a simple sun and moon ephemeris but they accelerations are not computed for those bodies.
The documentation for this class was generated from the following files:
- gravity_earth_ideal.h
- gravity_earth_ideal.cc