|
int | calculateRates (T time, const std::array< T, 6 > &state, std::array< T, 6 > &out_rates) |
| Function to calculate rate of change in 6-element orbit position with J2, J3.
|
|
virtual int | calculateRates (T time, const std::array< T, N > &state, std::array< T, N > &out_rates) |
| Function to calculate rates from current state of system.
|
|
|
T | mu |
| The gravitational parameter for the planet. Must be set prior to calculation.
|
|
T | J2 |
| The J2 parameter for the planet. Must be set prior to calculation.
|
|
T | J3 |
| The J3 parameter for the planet. Must be set prior to calculation.
|
|
T | R |
| The reference radius for the planet. Must be set prior to calculation.
|
|
◆ calculateRates() [1/2]
Function to calculate rate of change in 6-element orbit position with J2, J3.
- Parameters
-
time | The reference time |
state | The state vector for the system as [x, y, z, xDot, yDot, zDot] |
out_rates | Implicit return of rates based on time, state as [xDot, yDot, zDot, xDDot, yDDot, zDDot] |
◆ calculateRates() [2/2]
virtual int clockwerk::Rates< T, N >::calculateRates |
( |
T |
time, |
|
|
const std::array< T, N > & |
state, |
|
|
std::array< T, N > & |
out_rates |
|
) |
| |
|
inlinevirtualinherited |
Function to calculate rates from current state of system.
- Parameters
-
time | The reference time |
state | The reference state |
out_rates | Implicit return of rates based on time, state |
The documentation for this class was generated from the following file: