Class AbstractBodyAttraction

    • Field Detail

      • ATTRACTION_COEFFICIENT_SUFFIX

        public static final String ATTRACTION_COEFFICIENT_SUFFIX
        Suffix for parameter name for attraction coefficient enabling Jacobian processing.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractBodyAttraction

        protected AbstractBodyAttraction​(CelestialBody body)
        Simple constructor.
        Parameters:
        body - the third body to consider
    • Method Detail

      • getBodyName

        public String getBodyName()
        Getter for the body's name.
        Returns:
        the body's name
      • getBody

        protected CelestialBody getBody()
        Protected getter for the body.
        Returns:
        the third body considered
      • 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