Class ConvolutionDiffusionWidth

    • Constructor Detail

      • ConvolutionDiffusionWidth

        public ConvolutionDiffusionWidth​(double lowerintegrationlimit,
                                         double upperintegrationlimit,
                                         int maximalsteps,
                                         double integrationaccuracy,
                                         double[][] ampiFunction,
                                         double diffusionparam,
                                         double time)
        Calculates the integral of the diffusion equation
        Parameters:
        lowerintegrationlimit - - the lower limit of integration
        upperintegrationlimit - - the upper limit of integration
        maximalsteps - - maximal number of bins in which to divide the interval
        integrationaccuracy - - value of accuracy of integration
        ampiFunction -
        diffusionparam -
        time -
        integrationtype -
    • Method Detail

      • updateTime

        public void updateTime​(int newt)
      • integrate

        public double integrate()
        Description copied from interface: IntegrableFunction
        Performs integration by means of the method of the function that implements it.
        Specified by:
        integrate in interface IntegrableFunction
        Returns:
        the value of the integration
      • equation

        protected double equation​(double x)
        Description copied from class: SimpsonIntegral
        Equation to integrate
        Specified by:
        equation in class SimpsonIntegral
        Parameters:
        x - - point in which to calculate the function
        Returns: