Documentation of 'org.spaceroots.mantissa.ode.DummyStepInterpolator' Java class
DummyStepInterpolator
org.spaceroots.mantissa.ode

Class DummyStepInterpolator

  • All Implemented Interfaces:
    java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, StepInterpolator


    public class DummyStepInterpolator
    extends AbstractStepInterpolator
    This class is a step interpolator that does nothing.

    This class is used when the "step handler" set up by the user does not need step interpolation. It does not recompute the state when setInterpolatedTime is called. This implies the interpolated state is always the state at the end of the current step.

    See Also:
    StepHandler, Serialized Form
    • Constructor Detail

      • DummyStepInterpolator

        public DummyStepInterpolator()
        Simple constructor. This constructor builds an instance that is not usable yet, the AbstractStepInterpolator.reinitialize(double[], boolean) 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 RungeKuttaFehlbergIntegrator uses the prototyping design pattern to create the step interpolators by cloning an uninitialized model and latter initializing the copy.
    • Method Detail

      • writeExternal

        public void writeExternal(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Specified by:
        writeExternal in class AbstractStepInterpolator
        Throws:
        java.io.IOException
      • readExternal

        public void readExternal(java.io.ObjectInput in)
                          throws java.io.IOException
        Specified by:
        readExternal in interface java.io.Externalizable
        Specified by:
        readExternal in class AbstractStepInterpolator
        Throws:
        java.io.IOException

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.