Class AbstractGaussianContribution.GaussQuadrature

java.lang.Object
org.orekit.propagation.semianalytical.dsst.forces.AbstractGaussianContribution.GaussQuadrature
Enclosing class:
AbstractGaussianContribution

protected static class AbstractGaussianContribution.GaussQuadrature extends Object
Class used to integrate a function of the orbital elements using the Gaussian quadrature rule to get the acceleration.
  • Method Details

    • integrate

      public double[] integrate(UnivariateVectorFunction f, double lowerBound, double upperBound)
      Integrates a given function on the given interval.
      Parameters:
      f - Function to integrate.
      lowerBound - Lower bound of the integration interval.
      upperBound - Upper bound of the integration interval.
      Returns:
      the integral of the weighted function.
    • integrate

      public <T extends CalculusFieldElement<T>> T[] integrate(CalculusFieldUnivariateVectorFunction<T> f, T lowerBound, T upperBound, Field<T> field)
      Integrates a given function on the given interval.
      Type Parameters:
      T - the type of the field elements
      Parameters:
      f - Function to integrate.
      lowerBound - Lower bound of the integration interval.
      upperBound - Upper bound of the integration interval.
      field - field utilized by default
      Returns:
      the integral of the weighted function.