Gradient estimations of the potential. More...
Go to the source code of this file.
Functions | |
void | grvx_gradV (struct GrvxVec3D *q, const struct GrvxPlanets *planets) |
Gradient of the potential at position q . More... | |
double | grvx_min_dist (const struct GrvxVec3D *q, const struct GrvxPlanets *planets) |
Minimal distance to any planet. More... | |
Gradient estimations of the potential.
void grvx_gradV | ( | struct GrvxVec3D * | q, |
const struct GrvxPlanets * | planets | ||
) |
Gradient of the potential at position q
.
The gradient is evaluated at position q
and the resulting vectors is stored in q
.
q | The position where the gradient is evaluated. The result overwrites this variable. |
planets | Planets that generate the force field. |
double grvx_min_dist | ( | const struct GrvxVec3D * | q, |
const struct GrvxPlanets * | planets | ||
) |
Minimal distance to any planet.
q | The position of the missile. |
planets | Planets that generate the force field. |
q
and any planet.