Class AbstractParametricAcceleration

    • Constructor Detail

      • AbstractParametricAcceleration

        protected AbstractParametricAcceleration​(Vector3D direction,
                                                 boolean isInertial,
                                                 AttitudeProvider attitudeOverride)
    • Method Detail

      • getAttitudeOverride

        public AttitudeProvider getAttitudeOverride()
        Getter for attitude override.
        Returns:
        attitude override
      • dependsOnPositionOnly

        public boolean dependsOnPositionOnly()
        Check if force model depends on position only at a given, fixed date.
        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
      • getAccelerationDirection

        protected Vector3D getAccelerationDirection​(SpacecraftState state)
        Computes the acceleration's direction in the propagation frame.
        Parameters:
        state - state
        Returns:
        direction
      • getAccelerationDirection

        protected <T extends CalculusFieldElement<T>> FieldVector3D<T> getAccelerationDirection​(FieldSpacecraftState<T> state)
        Computes the acceleration's direction in the propagation frame.
        Type Parameters:
        T - field type
        Parameters:
        state - state
        Returns:
        direction
      • 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