Class MaxGapInterpolationGrid

java.lang.Object
org.orekit.propagation.semianalytical.dsst.utilities.MaxGapInterpolationGrid
All Implemented Interfaces:
InterpolationGrid

public class MaxGapInterpolationGrid extends Object
Interpolation grid where points obey a maximum time gap.

The grid is adapted to the step considered, meaning that for short steps, the grid will have numerous points.

Since:
7.1
Author:
Luc Maisonobe
  • Constructor Details

    • MaxGapInterpolationGrid

      public MaxGapInterpolationGrid(double maxGap)
      Constructor.
      Parameters:
      maxGap - maximum time gap between interpolation points
  • Method Details

    • getPointsPerStep

      protected int getPointsPerStep(double stepStart, double stepEnd)
      Get the number of points in the grid per step.
      Parameters:
      stepStart - start of the step
      stepEnd - end of the step
      Returns:
      the number of points in the grid per step
    • getGridPoints

      public double[] getGridPoints(double stepStart, double stepEnd)
      Get grid points that are within the current step.

      The step is defined by its start and its end time.

      Specified by:
      getGridPoints in interface InterpolationGrid
      Parameters:
      stepStart - start of the step
      stepEnd - end of the step
      Returns:
      time points between start and end
    • getGridPoints

      public <T extends CalculusFieldElement<T>> T[] getGridPoints(T stepStart, T stepEnd)
      Get grid points that are within the current step.

      The step is defined by its start and its end time.

      Specified by:
      getGridPoints in interface InterpolationGrid
      Type Parameters:
      T - type of the elements
      Parameters:
      stepStart - start of the step
      stepEnd - end of the step
      Returns:
      time points between start and end
    • getPointsPerStep

      protected <T extends CalculusFieldElement<T>> int getPointsPerStep(T stepStart, T stepEnd)
      Get the number of points in the grid per step.
      Type Parameters:
      T - type of field elements
      Parameters:
      stepStart - start of the step
      stepEnd - end of the step
      Returns:
      the number of points in the grid per step