Class AbstractRadiationForceModel

    • Constructor Detail

      • AbstractRadiationForceModel

        protected AbstractRadiationForceModel​(ExtendedPVCoordinatesProvider sun,
                                              OneAxisEllipsoid centralBody)
        Default constructor. Only central body is considered.
        Parameters:
        sun - Sun model
        centralBody - central body shape model (for umbra/penumbra computation)
        Since:
        12.0
    • Method Detail

      • dependsOnPositionOnly

        public boolean dependsOnPositionOnly()
        Check if force models depends on position only.
        Specified by:
        dependsOnPositionOnly in interface ForceModel
        Returns:
        true if force model depends on position only, false if it depends on velocity, either directly or due to a dependency on attitude
      • getEventDetectors

        public Stream<EventDetector> getEventDetectors()
        Get the discrete events related to the model.

        This method is not intended to be called several time, only once by a propagator, as it has the side effect of rebuilding the events detectors when called.

        Specified by:
        getEventDetectors in interface EventDetectorsProvider
        Specified by:
        getEventDetectors in interface ForceModel
        Returns:
        stream of event detectors
      • getGeneralEclipseAngles

        protected double[] getGeneralEclipseAngles​(Vector3D position,
                                                   Vector3D occultingPosition,
                                                   double occultingRadius,
                                                   Vector3D occultedPosition,
                                                   double occultedRadius)
        Get the useful angles for eclipse computation.
        Parameters:
        position - the satellite's position in the selected frame
        occultingPosition - Oculting body position in the selected frame
        occultingRadius - Occulting body mean radius
        occultedPosition - Occulted body position in the selected frame
        occultedRadius - Occulted body mean radius
        Returns:
        the 3 angles {(satOcculting, satOcculted), Occulting body apparent radius, Occulted body apparent radius}
      • getGeneralEclipseAngles

        protected <T extends CalculusFieldElement<T>> T[] getGeneralEclipseAngles​(FieldVector3D<T> position,
                                                                                  FieldVector3D<T> occultingPosition,
                                                                                  T occultingRadius,
                                                                                  FieldVector3D<T> occultedPosition,
                                                                                  T occultedRadius)
        Get the useful angles for eclipse computation.
        Type Parameters:
        T - extends RealFieldElement
        Parameters:
        occultingPosition - Oculting body position in the selected frame
        occultingRadius - Occulting body mean radius
        occultedPosition - Occulted body position in the selected frame
        occultedRadius - Occulted body mean radius
        position - the satellite's position in the selected frame
        Returns:
        the 3 angles {(satOcculting, satOcculted), Occulting body apparent radius, Occulted body apparent radius}
      • getOccultingBodies

        public List<OccultationEngine> getOccultingBodies()
        Get all occulting bodies to consider.

        The list always contains at least one element: the central body which is always the first one in the list.

        Returns:
        immutable list of all occulting bodies to consider, including the central body
        Since:
        12.0