Class CR3BPFactory


  • public class CR3BPFactory
    extends Object
    Factory class creating predefined CR3BP system using CR3BPSystem class. For example, Earth-Moon CR3BP System.
    Since:
    10.2
    Author:
    Vincent Mouraux
    See Also:
    CR3BPSystem
    • Method Detail

      • getSunJupiterCR3BP

        @DefaultDataContext
        public static CR3BPSystem getSunJupiterCR3BP​(AbsoluteDate date,
                                                     TimeScale timeScale)
        Get the Sun-Jupiter CR3BP singleton bodies pair.
        Parameters:
        date - date
        timeScale - time scale
        Returns:
        Sun-Jupiter CR3BP system
      • getEarthMoonCR3BP

        @DefaultDataContext
        public static CR3BPSystem getEarthMoonCR3BP()
        Get the Earth-Moon CR3BP singleton bodies pair.
        Returns:
        Earth-Moon CR3BP system
      • getSystem

        public static CR3BPSystem getSystem​(CelestialBody primaryBody,
                                            CelestialBody secondaryBody,
                                            double a)
        Get the corresponding CR3BP System.
        Parameters:
        primaryBody - Primary Body in the CR3BP System
        secondaryBody - Secondary Body in the CR3BP System
        a - Semi-Major Axis of the secondary body
        Returns:
        corresponding CR3BP System