cascade.dynamics.mascon_asteroid_energy#
- cascade.dynamics.mascon_asteroid_energy(state, Gconst: float, points, masses, omega)#
Energy in the
mascon_asteroid
dynamics.This function returns the energy of a given state in the mascon asteroid dynamics.
- Parameters:
state (array (6,1)) – x, y, z, vx, vy, vz in the units used.
Gconst (float) – Cavendish constant
points (array (N,3)) – Cartesian coordinates of the mascons
masses (array (N,)) – mass of each mascon
omega (array (3,)) – asteroid angular velocity
- Returns:
The energy.