Declared in Spacecraft
Declaration
void ComputeEnergyMomentum(
double time,
double step
);
Description
Computes the total energy and momentum of the object. It finds the total orbital energy, total orbital angular momentum, total rotational energy and total rotational angular momentum. These values are used for validation purposes
Parameters
Name | Description |
---|---|
time | The current time [s] |
step | The delta time [s] |