Class FieldTimeIntervalDetector<T extends CalculusFieldElement<T>>

    • Constructor Detail

      • FieldTimeIntervalDetector

        public FieldTimeIntervalDetector​(Field<T> field,
                                         TimeInterval timeInterval)
        Constructor with default detection settings and handler.
        Parameters:
        field - field
        timeInterval - time interval
      • FieldTimeIntervalDetector

        public FieldTimeIntervalDetector​(FieldEventDetectionSettings<T> detectionSettings,
                                         FieldEventHandler<T> handler,
                                         TimeInterval timeInterval)
        Constructor.
        Parameters:
        detectionSettings - event detection settings
        handler - event handler
        timeInterval - time interval
    • Method Detail

      • getTimeInterval

        public TimeInterval getTimeInterval()
        Getter for the time interval.
        Returns:
        interval
      • dependsOnTimeOnly

        public boolean dependsOnTimeOnly()
        Method returning true if and only if the detection function g does not depend on dependent variables, just the independent one i.e. time. This information is used for performance in propagation.
        Returns:
        flag
      • g

        public T g​(FieldSpacecraftState<T> s)
        Description copied from interface: FieldEventDetector
        Compute the value of the switching function. This function must be continuous (at least in its roots neighborhood), as the integrator will need to find its roots to locate the events.
        Parameters:
        s - the current state information: date, kinematics, attitude
        Returns:
        value of the switching function