Class DummyStepInterpolator

    • Constructor Detail

      • DummyStepInterpolator

        public DummyStepInterpolator()
        Simple constructor. This constructor builds an instance that is not usable yet, the AbstractStepInterpolator.reinitialize protected method should be called before using the instance in order to initialize the internal arrays. This constructor is used only in order to delay the initialization in some cases. As an example, the EmbeddedRungeKuttaIntegrator uses the prototyping design pattern to create the step interpolators by cloning an uninitialized model and latter initializing the copy.
      • DummyStepInterpolator

        public DummyStepInterpolator​(double[] y,
                                     double[] yDot,
                                     boolean forward)
        Simple constructor.
        Parameters:
        y - reference to the integrator array holding the state at the end of the step
        yDot - reference to the integrator array holding the state derivative at some arbitrary point within the step
        forward - integration direction indicator
      • DummyStepInterpolator

        public DummyStepInterpolator​(DummyStepInterpolator interpolator)
        Copy constructor.
        Parameters:
        interpolator - interpolator to copy from. The copy is a deep copy: its arrays are separated from the original arrays of the instance