halo_utilities_module Module

Various astrodynamics utilities.

The lighting routines it used to have (apparent_position, cubic_shadow_model, and the frame conversion to the solar system barycenter) are now in the Fortran Astrodynamics Toolkit's lighting_module.


Uses

  • module~~halo_utilities_module~~UsesGraph module~halo_utilities_module halo_utilities_module fortran_astrodynamics_toolkit fortran_astrodynamics_toolkit module~halo_utilities_module->fortran_astrodynamics_toolkit iso_fortran_env iso_fortran_env module~halo_utilities_module->iso_fortran_env module~halo_kinds_module halo_kinds_module module~halo_utilities_module->module~halo_kinds_module module~parameters_module parameters_module module~halo_utilities_module->module~parameters_module module~splined_ephemeris_module splined_ephemeris_module module~halo_utilities_module->module~splined_ephemeris_module module~halo_kinds_module->iso_fortran_env module~parameters_module->fortran_astrodynamics_toolkit module~parameters_module->module~halo_kinds_module module~splined_ephemeris_module->fortran_astrodynamics_toolkit module~splined_ephemeris_module->iso_fortran_env module~splined_ephemeris_module->module~halo_kinds_module bspline_module bspline_module module~splined_ephemeris_module->bspline_module

Used by

  • module~~halo_utilities_module~~UsedByGraph module~halo_utilities_module halo_utilities_module module~halo_module halo_module module~halo_module->module~halo_utilities_module module~halo_eclipse_opt_submodule halo_eclipse_opt_submodule module~halo_eclipse_opt_submodule->module~halo_module

Functions

public function get_sun_fraction(eph, et, rv, rbubble) result(phi)

Compute the "sun fraction" for eclipses by the Earth, using the circular cubic shadow model (the apparent positions of the Sun and the Earth).

Arguments

Type IntentOptional Attributes Name
class(jpl_ephemeris), intent(inout) :: eph

the ephemeris

real(kind=wp), intent(in) :: et

observer ephemeris time (sec)

real(kind=wp), intent(in), dimension(6) :: rv

state of the spacecraft !! (j2000-moon frame)

real(kind=wp), intent(in) :: rbubble

eclipse bubble [km]. see the reference.

Return Value real(kind=wp)

circular cubic sun frac value.

  • 0 no eclipse,

  • <0 eclipse,
  • =0 on the eclipse line