Class ConvolutionDiffusionDischarge

    • Constructor Detail

      • ConvolutionDiffusionDischarge

        public ConvolutionDiffusionDischarge​(double lowerintegrationlimit,
                                             double upperintegrationlimit,
                                             int maximalsteps,
                                             double integrationaccuracy,
                                             double[][] discharge,
                                             double diffusionparam,
                                             double time,
                                             double distance,
                                             double celerity)
    • 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 tau)
        Description copied from class: SimpsonIntegral
        Equation to integrate
        Specified by:
        equation in class SimpsonIntegral
        Parameters:
        tau - - point in which to calculate the function
        Returns: