Class AdamsFieldIntegrator<T extends RealFieldElement<T>>

    • Constructor Detail

      • AdamsFieldIntegrator

        public AdamsFieldIntegrator​(Field<T> field,
                                    String name,
                                    int nSteps,
                                    int order,
                                    double minStep,
                                    double maxStep,
                                    double scalAbsoluteTolerance,
                                    double scalRelativeTolerance)
                             throws NumberIsTooSmallException
        Build an Adams integrator with the given order and step control parameters.
        Parameters:
        field - field to which the time and state vector elements belong
        name - name of the method
        nSteps - number of steps of the method excluding the one being computed
        order - order of the method
        minStep - minimal step (sign is irrelevant, regardless of integration direction, forward or backward), the last step can be smaller than this
        maxStep - maximal step (sign is irrelevant, regardless of integration direction, forward or backward), the last step can be smaller than this
        scalAbsoluteTolerance - allowed absolute error
        scalRelativeTolerance - allowed relative error
        Throws:
        NumberIsTooSmallException - if order is 1 or less
      • AdamsFieldIntegrator

        public AdamsFieldIntegrator​(Field<T> field,
                                    String name,
                                    int nSteps,
                                    int order,
                                    double minStep,
                                    double maxStep,
                                    double[] vecAbsoluteTolerance,
                                    double[] vecRelativeTolerance)
                             throws IllegalArgumentException
        Build an Adams integrator with the given order and step control parameters.
        Parameters:
        field - field to which the time and state vector elements belong
        name - name of the method
        nSteps - number of steps of the method excluding the one being computed
        order - order of the method
        minStep - minimal step (sign is irrelevant, regardless of integration direction, forward or backward), the last step can be smaller than this
        maxStep - maximal step (sign is irrelevant, regardless of integration direction, forward or backward), the last step can be smaller than this
        vecAbsoluteTolerance - allowed absolute error
        vecRelativeTolerance - allowed relative error
        Throws:
        IllegalArgumentException - if order is 1 or less